summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2009-03-04 18:16:31 +0000
committerZaheer Merali <zaheerabbas@merali.org>2009-03-04 18:16:31 +0000
commitff1a6b4b22b7075e2e6effc2456ab4dd27c90e45 (patch)
treeb3d48762fd9e46a27242d2ff92cb7a7a16cdfdf8
parent9b3c59ccde72c88f9bdf133733558e8ab96a1abd (diff)
mpegtsdemux: reset sync_lut_len to 0 on READY to NULL
-rw-r--r--gst/mpegdemux/gstmpegtsdemux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c
index 8d047cf42..59b51a3af 100644
--- a/gst/mpegdemux/gstmpegtsdemux.c
+++ b/gst/mpegdemux/gstmpegtsdemux.c
@@ -2622,6 +2622,7 @@ gst_mpegts_demux_change_state (GstElement * element, GstStateChange transition)
if (demux->sync_lut)
g_free (demux->sync_lut);
demux->sync_lut = NULL;
+ demux->sync_lut_len = 0;
break;
default:
break;