• Aman Gupta's avatar
    avformat/mpegts: skip non-PMT tids earlier · 2c500f50
    Aman Gupta authored
    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: 's avatarAman Gupta <aman@tmm1.net>
    2c500f50
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...