[FFmpeg-devel] [PATCH] When PMT is found, we have found mpegts header information
Joakim Plate
elupus
Tue Apr 20 12:27:14 CEST 2010
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.
/Joakim
More information about the ffmpeg-devel
mailing list