[FFmpeg-devel] [PATCH] H.264 timestamps in h264_parser - complete set
Michael Niedermayer
michaelni
Fri Feb 20 16:54:27 CET 2009
On Fri, Feb 20, 2009 at 03:50:24PM +0100, Ivan Schreter wrote:
> Michael Niedermayer wrote:
[...]
> > You can even have a sps occur many frame in the future and refer to it before
> > if the bitstream as been cut
> >
> I suppose you mean a corrupted stream or when reading from the middle
> after a seek? In the latter case, I expect that within SEI recovery
> frame count frames after a key frame the SPS will be redefined correctly.
i mean user cutting a mpeg file at random, users do this ...
and yes there should be a SPS within some not too insane distance
with some luck the SPS might even be picked up during av_find_stream_info()
and moved into extradata via h264_split() and then be available for the first
frame ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090220/4e65bef8/attachment.pgp>
More information about the ffmpeg-devel
mailing list