[FFmpeg-devel] [PATCH] Fix return value for incomplete H264 frame packets
Wed Aug 25 11:35:04 CEST 2010
On Tue, Aug 24, 2010 at 08:32:16PM +0200, Reimar D?ffinger wrote:
> On Tue, Aug 24, 2010 at 06:19:37PM +0200, P?sztor Szil?rd wrote:
> > Michael Niedermayer:
> > > > I'd only like to be able to recognize the
> > > > differences between different causes of "no picture" from the outside.
> > > > If not via my hack, then via anything else that works, that's fine with
> > > > me. Currently lavc seems to swallow part of that information.
> > >
> > > ive no problem with a clean patch that exports such information
> > Ok, it won't hurt to try anyway. Here is a small patch that I believe is
> > clean and maintains compatibility. Works with mplayer.
> I'd like to suggest adding a "status" flags field for decoders instead.
> My proposal would be for every decode call to first reset it to 0 and
> then set one or more of e.g. these flags (names to be determined):
> - concealed bitstream error
> - concealed missing reference frames
> - frame too badly damaged for concealment
> - insufficient data to generate output
> - reorder buffer still filling
these 2 need better definitions
the idea in general seems good to me though
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: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel