[FFmpeg-cvslog] fix vdpau vc1 interlace modes
Rainer Hochecker
git at videolan.org
Sun May 5 15:55:10 CEST 2013
ffmpeg | branch: master | Rainer Hochecker <fernetmenta at online.de> | Sun May 5 15:12:59 2013 +0200| [b37cc5995b88ec68a68cb8e496a008e1cd467077] | committer: Rainer Hochecker
fix vdpau vc1 interlace modes
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b37cc5995b88ec68a68cb8e496a008e1cd467077
---
libavcodec/vdpau_vc1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vdpau_vc1.c b/libavcodec/vdpau_vc1.c
index f5da9bb..993ef26 100644
--- a/libavcodec/vdpau_vc1.c
+++ b/libavcodec/vdpau_vc1.c
@@ -59,7 +59,7 @@ static int vdpau_vc1_start_frame(AVCodecContext *avctx,
else
info->picture_type = s->pict_type - 1 + s->pict_type / 3;
- info->frame_coding_mode = v->fcm;
+ info->frame_coding_mode = v->fcm ? v->fcm + 1 : 0;
info->postprocflag = v->postprocflag;
info->pulldown = v->broadcast;
info->interlace = v->interlace;
More information about the ffmpeg-cvslog
mailing list