diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index c8e56607ef..b8c7f5f921 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1871,6 +1871,9 @@ MpegTSContext *ff_mpegts_parse_open(AVFormatContext *s) ts->raw_packet_size = TS_PACKET_SIZE; ts->stream = s; ts->auto_guess = 1; + mpegts_open_section_filter(ts, SDT_PID, sdt_cb, ts, 1); + mpegts_open_section_filter(ts, PAT_PID, pat_cb, ts, 1); + return ts; }