[FFmpeg-devel] [PATCH] Make sure AVFormatContext->start_time is initialized after the first patch
Tue May 25 20:57:01 CEST 2010
On Tue, May 25, 2010 at 12:54:50AM +0300, Martin Storsj? wrote:
> When discussing a ffserver patch with Baptiste, he insisted that if
> AVFormatContext->start_time isn't initialized after the first packet, it's
> a bug that should be fixed within libavformat, instead of handled in
> This attached patch is one way of solving it, although I'm not sure if
> this is the correct way.
The problem might be that ffserver calls av_seek_frame()
with that the first packet demuxed might no longer correspond to the
thus i think its not unreasonable if lavf doesnt set start_time to the
first dts/pts once seeking has happened
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel