From ff1a6b4b22b7075e2e6effc2456ab4dd27c90e45 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Wed, 4 Mar 2009 18:16:31 +0000 Subject: [PATCH] mpegtsdemux: reset sync_lut_len to 0 on READY to NULL --- gst/mpegdemux/gstmpegtsdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c index 8d047cf420..59b51a3af3 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;