summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhandbrake <[email protected]>2013-04-09 05:55:39 +0000
committerhandbrake <[email protected]>2013-04-09 05:55:39 +0000
commit7438206903b4aba04319c8575bcf0f41ce0cc8a1 (patch)
tree187004ef15e5788db0516fbf0cdd7ff68bf441f3
parent75c4aac650529cab832f723cefed6dc83f991447 (diff)
fixed green screen issue
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5386 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/decavcodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 9c1bc1ef9..5e7d3d652 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -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;