mpegtsdemux: reset sync_lut_len to 0 on READY to NULL
This commit is contained in:
parent
9b3c59ccde
commit
ff1a6b4b22
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user