[FFmpeg-devel] [PATCH] When PMT is found, we have found mpegts header information
Thu Apr 15 15:49:06 CEST 2010
M?ns Rullg?rd <mans <at> mansr.com> writes:
> Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:
> > On 04/11/2010 04:29 PM, elupus wrote:
> >> Hi,
> >> This patch avoids av_find_stream_info searching up to probesize for mpegts.
> >> It only needs to search until we have found PMT/PAT, after that no new
> >> streams should show up.
> > This is wrong. Nothing prevents a new PMT from appearing during
> > av_find_stream_info.
> Nor anywhere later in the stream.
While i agree, should we always let av_find_stream_info search the whole
file to sure we find all stream??? That doesn't make sence either.
For live playback search up to probesize is just silly, it causes
channel changes to take ages.
This patch doesn't change that new streams can be added later, it only
changes so that av_find_stream_info stops on the first one.
More information about the ffmpeg-devel