diff options
author | Rodeo <tdskywalker@gmail.com> | 2015-06-23 17:09:34 +0000 |
---|---|---|
committer | Rodeo <tdskywalker@gmail.com> | 2015-06-23 17:09:34 +0000 |
commit | a14dcbd980fc7e75f4a66003808d306e11c609aa (patch) | |
tree | 3fc5065c86569b71602fc7dee39dcbc0c8bf4c6a /libhb/common.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/common.c')
-rw-r--r-- | libhb/common.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libhb/common.c b/libhb/common.c index 8cc1dc65d..526ee7874 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -4532,15 +4532,3 @@ void hb_hexdump( hb_debug_level_t level, const char * label, const uint8_t * dat hb_deep_log( level, " %-50s%20s", line, ascii ); } } - -int hb_use_dxva( hb_title_t * title ) -{ - return ( (title->video_codec_param == AV_CODEC_ID_MPEG2VIDEO - || title->video_codec_param == AV_CODEC_ID_H264 - || title->video_codec_param == AV_CODEC_ID_VC1 - || title->video_codec_param == AV_CODEC_ID_WMV3 - || title->video_codec_param == AV_CODEC_ID_MPEG4 - || title->video_codec_param == AV_CODEC_ID_HEVC ) - && title->opaque_priv ); -} - |