]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
The field rangered in VDPAU's VdpPictureInfoVC1 now also contains
authorcehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 26 Feb 2009 00:29:01 +0000 (00:29 +0000)
committercehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 26 Feb 2009 00:29:01 +0000 (00:29 +0000)
rangeredfrm (VC-1 7.1.13) in bit 1.

Patch by NVIDIA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17595 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/vdpau.c

index 805fe79fe9ab11b28048da1f3136f66dbef6e0f3..c594b7ec2d928dea7f84b58f78f8f101f0448cc4 100644 (file)
@@ -270,7 +270,7 @@ void ff_vdpau_vc1_decode_picture(MpegEncContext *s, const uint8_t *buf,
     /* Specific to simple/main profile only */
     render->info.vc1.multires           = v->multires;
     render->info.vc1.syncmarker         = v->s.resync_marker;
-    render->info.vc1.rangered           = v->rangered;
+    render->info.vc1.rangered           = v->rangered | (v->rangeredfrm << 1);
     render->info.vc1.maxbframes         = v->s.max_b_frames;
 
     render->info.vc1.deblockEnable      = v->postprocflag & 1;