[FFmpeg-devel] [PATCH 1/1] mpegts: stop analyzing when pmt for all programs have been found
michaelni at gmx.at
Sun Dec 15 22:11:44 CET 2013
On Sun, Dec 15, 2013 at 03:58:31PM +0100, Joakim Plate wrote:
> This disables NOHEADER after finding PMT for all programs to
> avoid find_stream_info always exhausting probe size for mpegts.
> This is very important for live streams since read speed
> will be limited. rtsp, udp and any protocol streaming a live
> mpegts will have dramatically faster startup time.
> Note, lack of codec parameters for streams can still cause
> the full probe size to be exhausted.
> libavformat/mpegts.c | 54 +++++++++++++++++++++++++++++++++++++++++++---------
> 1 file changed, 45 insertions(+), 9 deletions(-)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel