diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2013-05-05 17:12:59 +0400 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2013-05-05 17:12:59 +0400 |
commit | b37cc5995b88ec68a68cb8e496a008e1cd467077 (patch) | |
tree | c60353028968d503a0b02f6a27bb5a8e936ebed3 /libavcodec | |
parent | cdfa1c89b715aff78c39e68957f4e181e887cb01 (diff) |
fix vdpau vc1 interlace modes
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vdpau_vc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau_vc1.c b/libavcodec/vdpau_vc1.c index f5da9bbe1f..993ef2614a 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; |