[FFmpeg-devel] [PATCH] Fix return value for incomplete H264 frame packets

Pásztor Szilárd don
Mon Aug 23 12:36:48 CEST 2010


attached is a small but very useful change to the h264 decoder. EAGAIN as
return value enables players to recognize if they supplied a H264 packet with
only the first field in it, so that they can re-call the decoder with the
second field, staying in sync.
With my recent patch for mplayer that uses this return value, all H264
interlaced samples known to me are played back correctly. All of them were
broken before.


                   |  Only dead fish swim with the stream.  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-2010-08-23-h264-firstfield.diff
Type: application/octet-stream
Size: 635 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100823/d5c677a7/attachment.obj>

More information about the ffmpeg-devel mailing list