Commit 06d8fdb6 authored by Rainer Hochecker's avatar Rainer Hochecker Committed by Carl Eugen Hoyos

Fix vdpau vc1 interlace modes also when using decoder vc1_vdpau.

Signed-off-by: 's avatarCarl Eugen Hoyos <cehoyos@ag.or.at>
parent b3e9fd1f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment