]> granicus.if.org Git - handbrake/commitdiff
fixed green screen issue
authorhandbrake <no-reply@handbrake.fr>
Tue, 9 Apr 2013 05:55:39 +0000 (05:55 +0000)
committerhandbrake <no-reply@handbrake.fr>
Tue, 9 Apr 2013 05:55:39 +0000 (05:55 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5386 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/decavcodec.c

index 9c1bc1ef945f36ab10c35010c3dcb7c48938834d..5e7d3d652d7ff9cede5dc90b22ce96f0dec9b34e 100644 (file)
@@ -1152,6 +1152,7 @@ static int decavcodecvInit( hb_work_object_t * w, hb_job_t * job )
             if( pv->dxva2 && pv->dxva2->do_job==HB_WORK_OK )
             {
                 hb_va_new_dxva2( pv->dxva2, pv->context );
+                               pv->context->slice_flags |= SLICE_FLAG_ALLOW_FIELD;
                 pv->context->opaque = pv;
                 pv->context->get_buffer = get_frame_buf_hwd;
                 pv->context->release_buffer = hb_ffmpeg_release_frame_buf;