diff options
author | Aman Gupta <aman@tmm1.net> | 2018-05-08 15:07:35 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2018-05-18 19:16:35 -0700 |
commit | 97aea63340d1c971df7313dd8ec642017b5cd0c1 (patch) | |
tree | 6ed427b732069276b5280c51a1bcb2ba4ab40959 /compat | |
parent | bb6a34f237ecfb78d04d7f5b6d6fb21f69778a59 (diff) | |
download | ffmpeg-97aea63340d1c971df7313dd8ec642017b5cd0c1.tar.gz |
avformat/mpegts: skip non-PMT tids earlier
This mimics the logic flow in all the other callbacks
(pat_cb, sdt_cb, m4sl_cb), and avoids calling skip_identical()
for non PMT_TID packets.
Since skip_identical modifies internal state like
MpegTSSectionFilter.last_ver, this change prevents unnecessary
reprocessing on some streams which contain multiple tables in
the PMT pid. This can be observed with streams from certain US
cable providers, which include both tid=0x2 and another unspecified
tid=0xc0.
Signed-off-by: Aman Gupta <aman@tmm1.net>
(cherry picked from commit 2c500f50972c19f25ebca783ba9374d6a0c23efb)
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions