diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2013-05-06 21:00:04 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2013-05-06 21:00:04 +0200 |
commit | d01e7e75f1463a8d3f4279c0bdf202cf82fdc80c (patch) | |
tree | f16aa282f4591206e0b48c66625c6b1e416e843e /lib/ffmpeg/libavcodec | |
parent | bb6ba57092c402b6f2e5edf6d1691beafafa0460 (diff) |
ffmpeg backport: fix vdpau vc1 interlace modes
Diffstat (limited to 'lib/ffmpeg/libavcodec')
-rw-r--r-- | lib/ffmpeg/libavcodec/vdpau_vc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffmpeg/libavcodec/vdpau_vc1.c b/lib/ffmpeg/libavcodec/vdpau_vc1.c index f5da9bbe1f..993ef2614a 100644 --- a/lib/ffmpeg/libavcodec/vdpau_vc1.c +++ b/lib/ffmpeg/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; |