]> granicus.if.org Git - handbrake/commitdiff
qsv: hevc10 fix for correct declaration of data/zero bits
authormaxd <maxim.d33@gmail.com>
Fri, 7 Apr 2017 09:49:32 +0000 (11:49 +0200)
committerBradley Sepos <bradley@bradleysepos.com>
Fri, 7 Apr 2017 18:23:11 +0000 (14:23 -0400)
libhb/enc_qsv.c

index a419767eebe343eff9252d40e3359fddc2b0b4aa..11a3dace97a35603beb9a4f666d2420dd52df340 100644 (file)
@@ -881,7 +881,7 @@ int encqsvInit(hb_work_object_t *w, hb_job_t *job)
         pv->param.videoParam->mfx.FrameInfo.FourCC         = MFX_FOURCC_P010;
         pv->param.videoParam->mfx.FrameInfo.BitDepthLuma   = 10;
         pv->param.videoParam->mfx.FrameInfo.BitDepthChroma = 10;
-        pv->param.videoParam->mfx.FrameInfo.Shift          = 0;
+        pv->param.videoParam->mfx.FrameInfo.Shift          = 1;
     }
 
     // interlaced encoding is not always possible