Changeset 82de8d71 in ffmpeg

Timestamp:
Apr 28, 2015, 7:09:59 PM (10 years ago)
Author:
Luca Barbato <lu_zero@gentoo.org>
Branches:
master
Children:
0ac8ff61, 12f7253d
Parents:
0c69164f
git-author:
John Högberg <john.hogberg@ericsson.com> (04/28/15 08:20:33)
git-committer:
Luca Barbato <lu_zero@gentoo.org> (04/28/15 19:09:59)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.