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/scan.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/scan.c')
-rw-r--r-- | libhb/scan.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c index 3a19d9e19..a446344cd 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -1039,6 +1039,14 @@ skip_preview: aspect_to_string(&title->dar), title->geometry.par.num, title->geometry.par.den); + if (title->video_decode_support != HB_DECODE_SUPPORT_SW) + { + hb_log("scan: supported video decoders:%s%s%s", + !(title->video_decode_support & HB_DECODE_SUPPORT_SW) ? "" : " avcodec", + !(title->video_decode_support & HB_DECODE_SUPPORT_QSV) ? "" : " qsv", + !(title->video_decode_support & HB_DECODE_SUPPORT_DXVA2) ? "" : " dxva2"); + } + if( interlaced_preview_count >= ( npreviews / 2 ) ) { hb_log("Title is likely interlaced or telecined (%i out of %i previews). You should do something about that.", |