[libav-bugs] [Bug 851] New: (Fix attached) MPEG-TS demuxing degrades when PAT arrives while reading PMT

bugzilla at aruru.libav.org bugzilla at aruru.libav.org
Fri Apr 24 18:11:48 CEST 2015


            Bug ID: 851
           Summary: (Fix attached) MPEG-TS demuxing degrades when PAT
                    arrives while reading PMT
           Product: Libav
           Version: git HEAD
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: ---
         Component: libavformat
          Assignee: bugzilla at libav.org
          Reporter: john.hogberg at ericsson.com

Created attachment 532
  --> https://bugzilla.libav.org/attachment.cgi?id=532&action=edit
A diff with a proposed fix.

Currently, whenever a PAT is handled it closes the current PMT filter and opens
a new one, discarding whatever data had been received by that filter. 

Usually this is not a problem but I've noticed that libav has a very hard time
dealing with streams produced by multiplexers that consistently place a PAT
right in the middle of PMT payload. They still work but libav degrades to
probing the stream, making stream metadata unavailable and sometimes mistaking
DVB subtitles for ... MP3 audio.

I've attached a diff (from HEAD as of writing) that fixes the bug through
limiting PAT updates to when the version field changes, instead of doing it
every time they arrive.

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20150424/7a888dcb/attachment-0001.html>

More information about the libav-bugs mailing list