[FFmpeg-devel] [PATCH] Don't mark generated dummy frame output from mpeg1/2 decoder as keyframe.
Michael Niedermayer
michaelni at gmx.at
Fri Jul 15 16:13:23 CEST 2011
On Mon, Jul 11, 2011 at 07:03:31PM +0200, Joakim Plate wrote:
> Hi,
>
> I'm not 100% sure this is the best solution to the issue. But it feels
> valid to me. I suppose even better would be if the dummy frame wasn't
> output from decoder. But i'm not sure how to accomplish that.
>
> /Joakim
Content-Description: Attached file: 0001-Don-t-mark-generated-dummy-frame-output-from-mpeg1-2.patch
> mpegvideo.c | 2 ++
> 1 file changed, 2 insertions(+)
> 8e1fe76c33eeaf5c3e0bc56710b405686741bd4d 0001-Don-t-mark-generated-dummy-frame-output-from-mpeg1-2.patch
> From ad332d7cfb10b204eba4b848bd7d988b5ad9d18a Mon Sep 17 00:00:00 2001
> From: elupus <elupus at xbmc.org>
> Date: Fri, 22 Apr 2011 15:42:51 +0200
> Subject: [PATCH] Don't mark generated dummy frame output from mpeg1/2 decoder as keyframe.
>
> We use this flag to tell when to assume decoded data is free
> from artifacts after a seek. The mpeg1/2 decoder will generate
> a dummy frame if decoding is started on a non keyframe. This
> will sadly be output from decoder to player and displayed
> as a gray screen.
iam also not sure this is the best solution but the frame isnt a key
frame so LGTM
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110715/da3b54be/attachment.asc>
More information about the ffmpeg-devel
mailing list