summaryrefslogtreecommitdiffstats
path: root/libhb/preset.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-17 08:12:33 -0700
committerJohn Stebbins <[email protected]>2016-05-17 08:12:33 -0700
commit141579c628e4d74fd6c7d00da0de388bdca7eabd (patch)
tree5c6d365cb58945bba799c5c891487541d739f3b5 /libhb/preset.c
parent17433d4f622a561f1cc4fdef71ced517f9b997b5 (diff)
remove dxva hw decode (#189)
* remove dxva hw decode It provides practically no speed increase even on a slow CPU and results in a speed decrease on fast CPUs. And the code is exceptionally fugly. * cli: remove USE_HWD
Diffstat (limited to 'libhb/preset.c')
-rw-r--r--libhb/preset.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libhb/preset.c b/libhb/preset.c
index 2af02b0ed..3c9a32b4d 100644
--- a/libhb/preset.c
+++ b/libhb/preset.c
@@ -1497,11 +1497,6 @@ int hb_preset_apply_video(const hb_dict_t *preset, hb_dict_t *job_dict)
hb_dict_set(video_dict, "OpenCL", hb_value_bool(1));
}
}
- if ((value = hb_dict_get(preset, "VideoHWDecode")) != NULL)
- {
- hb_dict_set(video_dict, "HWDecode",
- hb_value_xform(value, HB_VALUE_TYPE_BOOL));
- }
return 0;
}