[Kdenlive-devel] [PATCH 1/2] vdpau compilation fix
Mikko Rapeli
mikko.rapeli at iki.fi
Wed Jul 25 09:17:33 UTC 2012
From: Christian Marillat <marillat at debian.org>
In file included from producer_avformat.c:157:0:
vdpau.c: In function ‘vdpau_get_buffer’:
vdpau.c:162:10: error: ‘AVFrame’ has no member named ‘age’
vdpau.c:169:10: error: ‘AVFrame’ has no member named ‘age’
---
src/modules/avformat/vdpau.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/modules/avformat/vdpau.c b/src/modules/avformat/vdpau.c
index b5710b3..7756cc0 100644
--- a/src/modules/avformat/vdpau.c
+++ b/src/modules/avformat/vdpau.c
@@ -152,14 +152,12 @@ static int vdpau_get_buffer( AVCodecContext *codec_context, AVFrame *frame )
frame->reordered_opaque = codec_context->reordered_opaque;
if ( frame->reference )
{
- frame->age = self->vdpau->ip_age[0];
self->vdpau->ip_age[0] = self->vdpau->ip_age[1] + 1;
self->vdpau->ip_age[1] = 1;
self->vdpau->b_age++;
}
else
{
- frame->age = self->vdpau->b_age;
self->vdpau->ip_age[0] ++;
self->vdpau->ip_age[1] ++;
self->vdpau->b_age = 1;
--
1.7.10.4
More information about the Kdenlive
mailing list