changeset 9048:058e47a00893 libavcodec

The field rangered in VDPAU's VdpPictureInfoVC1 now also contains rangeredfrm (VC-1 7.1.13) in bit 1. Patch by NVIDIA
author cehoyos
date Thu, 26 Feb 2009 00:29:01 +0000
parents 91f9fe7bedd9
children 16d0dfacd6c2
files vdpau.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vdpau.c	Wed Feb 25 23:58:52 2009 +0000
+++ b/vdpau.c	Thu Feb 26 00:29:01 2009 +0000
@@ -270,7 +270,7 @@
     /* 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;