[FFmpeg-devel] [PATCH] When PMT is found, we have found mpegts header information

Baptiste Coudurier baptiste.coudurier
Tue Apr 20 22:06:20 CEST 2010

On 04/20/2010 03:27 AM, Joakim Plate wrote:
> Baptiste Coudurier<baptiste.coudurier<at>  gmail.com>  writes:
>>> if noone is using it we might just take the quick route and break the unused
>>> API otherwise we might need a second flag
>>> also google might be able to awnser if this is used by anyone
>> All right then.
>> I slightly changed the patch, Joakim would that patch work for you ?
> Hmm.. Your patch only seems to only rely on auto_guess, it won't make
> av_find_stream_info run until a pmt is found. So av_find_stream_info
> may just abort directly since there are no streams to probe on startup
> after read_header and AVFMTCTX_NOHEADER is not set.
> That is not what i want, i want it to search for the first pmt. Then
> exit out of av_find_stream_info. The first PMT should show up reasonably
> fast, so waiting for that is not an issue.

Did you read the code ? Did you try the patch ?

This is really starting to annoy me.

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list