mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
mpegtsbase: Uncomment PAT clearup in _reset
The PAT is related to the stream, we therefore want it cleared along with anything stream related. This commented section was from the (old) mpegtsparse and *might* have been related to speeding up DVB start-up. But we have another plan for that. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724716
This commit is contained in:
parent
462c04cade
commit
fc34d163d8
1 changed files with 4 additions and 11 deletions
|
@ -186,17 +186,10 @@ mpegts_base_reset (MpegTSBase * base)
|
|||
/* ATSC */
|
||||
MPEGTS_BIT_SET (base->known_psi, 0x1ffb);
|
||||
|
||||
/* FIXME : Commenting the Following lines is to be in sync with the following
|
||||
* commit
|
||||
*
|
||||
* 61a885613316ce7657c36a6cd215b43f9dc67b79
|
||||
* mpegtsparse: don't free PAT structure which may still be needed later
|
||||
*/
|
||||
|
||||
/* if (base->pat != NULL) */
|
||||
/* gst_structure_free (base->pat); */
|
||||
/* base->pat = NULL; */
|
||||
/* pmt pids will be added and removed dynamically */
|
||||
if (base->pat) {
|
||||
g_ptr_array_unref (base->pat);
|
||||
base->pat = NULL;
|
||||
}
|
||||
|
||||
gst_segment_init (&base->segment, GST_FORMAT_UNDEFINED);
|
||||
base->last_seek_seqnum = (guint32) - 1;
|
||||
|
|
Loading…
Reference in a new issue