Browse Source

Fix vdpau vc1 interlace modes also when using decoder vc1_vdpau.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
tags/n2.0
Rainer Hochecker Carl Eugen Hoyos 12 years ago
parent
commit
06d8fdb660
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vdpau.c

+ 1
- 1
libavcodec/vdpau.c View File

@@ -307,7 +307,7 @@ void ff_vdpau_vc1_decode_picture(MpegEncContext *s, const uint8_t *buf,
assert(render); assert(render);


/* fill LvPictureInfoVC1 struct */ /* 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.postprocflag = v->postprocflag;
render->info.vc1.pulldown = v->broadcast; render->info.vc1.pulldown = v->broadcast;
render->info.vc1.interlace = v->interlace; render->info.vc1.interlace = v->interlace;


Loading…
Cancel
Save