diff options
author | John Högberg <john.hogberg@ericsson.com> | 2015-04-28 10:20:33 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-04-28 21:09:59 +0200 |
commit | 82de8d71118f4eafd6a43e9ea9169bd411793798 (patch) | |
tree | 81cf98110ab5f76683d6df27c759988e650aec1d /cmdutils_common_opts.h | |
parent | 0c69164f451cc9ca6ce9d6e7568083e2776bc845 (diff) | |
download | ffmpeg-82de8d71118f4eafd6a43e9ea9169bd411793798.tar.gz |
mpegts: Update the PSI/SI table only if the version change
If a PAT is finished while a PMT section filter is opened but
not yet finished, the PMT section filter is closed and all
the received data is discarded.
This is usually not an issue but some multiplexers (With very
quick PAT/PMT repetition settings) consistently emit a PMT
section start, then a PAT, and then the rest of the PMT,
causing the aforementioned behavior to result in no PMT being
finished.
In the most pathologic situation the stream information are lost
and the probe fallback miscategorizes subtitles as mp3 audio.
Avoid the issue through eliminating redundant PSI/SI table
updates by checking their version field, which is required by
the standard to be incremented on every change no matter how
minor.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'cmdutils_common_opts.h')
0 files changed, 0 insertions, 0 deletions