diff options
author | Rodeo <[email protected]> | 2015-06-23 17:09:34 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-06-23 17:09:34 +0000 |
commit | a14dcbd980fc7e75f4a66003808d306e11c609aa (patch) | |
tree | 3fc5065c86569b71602fc7dee39dcbc0c8bf4c6a /libhb/cropscale.c | |
parent | 110c304ff2113e5852a35174a7d51ffe5297483b (diff) |
DXVA2: cleanup decode support checks.
This should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=32520
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7310 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/cropscale.c')
-rw-r--r-- | libhb/cropscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/cropscale.c b/libhb/cropscale.c index fc88e32a4..548bdcc2e 100644 --- a/libhb/cropscale.c +++ b/libhb/cropscale.c @@ -71,7 +71,7 @@ static int hb_crop_scale_init( hb_filter_object_t * filter, pv->height_out = init->geometry.height - (init->crop[0] + init->crop[1]); /* OpenCL/DXVA2 */ - pv->use_dxva = init->use_dxva; + pv->use_dxva = hb_hwd_enabled(init->job->h); pv->use_decomb = init->job->use_decomb; pv->use_detelecine = init->job->use_detelecine; |