diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2013-05-06 23:27:59 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-05-06 23:55:14 +0400 |
commit | 06d8fdb660fdb2ca18dffa3aa92e40d2a7909b95 (patch) | |
tree | ab0f8c837f8639b03e66776f9f87060bbe3661c4 /libavcodec/vdpau.c | |
parent | b3e9fd1fe5786672c5d53e91f518419d05598ea4 (diff) |
Fix vdpau vc1 interlace modes also when using decoder vc1_vdpau.
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r-- | libavcodec/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c index b9a07cd6ce..04355b0682 100644 --- a/libavcodec/vdpau.c +++ b/libavcodec/vdpau.c @@ -307,7 +307,7 @@ void ff_vdpau_vc1_decode_picture(MpegEncContext *s, const uint8_t *buf, assert(render); /* fill LvPictureInfoVC1 struct */ - render->info.vc1.frame_coding_mode = v->fcm; + render->info.vc1.frame_coding_mode = v->fcm ? v->fcm + 1 : 0; render->info.vc1.postprocflag = v->postprocflag; render->info.vc1.pulldown = v->broadcast; render->info.vc1.interlace = v->interlace; |