[FFmpeg-devel] [PATCH] libavcodec/h263dec.c: Duplicate the last decoded frame when xvid marks the packet as skipped.

Michael Niedermayer michael at niedermayer.cc
Fri Oct 20 01:43:36 EEST 2017


On Thu, Oct 19, 2017 at 09:51:05AM -0700, Thierry Foucu wrote:
> Instead of returning nothing when we detect the xvid skipped frame, we
> could return the last decoded frame, if we do have one.

FRAME_SKIPPED is not limited to xvid (packed frames). There are a few
other pathes that return it.

For standard mpeg4video, outputing the next frame smells like violating
the spec.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171020/6907e8e2/attachment.sig>


More information about the ffmpeg-devel mailing list