summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-06-23 22:10:15 +0000
committerRodeo <[email protected]>2015-06-23 22:10:15 +0000
commit4b36930c67ac7013618b82233222ebfacd18d9ea (patch)
tree9cd2013de0621effb2e35cfce8fc48a7f21cf6ea /libhb
parent3c994e1c85f7d4a1a723b5ccef08cbb0fff00c7c (diff)
DXVA2: make hb_va_create_dxva2 less verbose.
Since we can easily fall back on the software decoder, these errors aren't exactly fatal. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7312 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/vadxva2.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libhb/vadxva2.c b/libhb/vadxva2.c
index ff4a8151c..1d74856e2 100644
--- a/libhb/vadxva2.c
+++ b/libhb/vadxva2.c
@@ -636,38 +636,38 @@ hb_va_dxva2_t * hb_va_create_dxva2( hb_va_dxva2_t *dxva2, int codec_id )
dxva->hd3d9_dll = LoadLibrary( TEXT( "D3D9.DLL" ) );
if( !dxva->hd3d9_dll )
{
- hb_log( "dxva2:cannot load d3d9.dll" );
+ hb_deep_log(2, "dxva2:cannot load d3d9.dll");
goto error;
}
dxva->hdxva2_dll = LoadLibrary( TEXT( "DXVA2.DLL" ) );
if( !dxva->hdxva2_dll )
{
- hb_log( "dxva2:cannot load DXVA2.dll" );
+ hb_deep_log(2, "dxva2:cannot load DXVA2.dll");
goto error;
}
if( hb_d3d_create_device( dxva ) == HB_WORK_ERROR )
{
- hb_log( "dxva2:Failed to create Direct3D device" );
+ hb_deep_log(2, "dxva2:Failed to create Direct3D device");
goto error;
}
if( hb_d3d_create_device_manager( dxva ) == HB_WORK_ERROR )
{
- hb_log( "dxva2:D3dCreateDeviceManager failed" );
+ hb_deep_log(2, "dxva2:D3dCreateDeviceManager failed");
goto error;
}
if( hb_dx_create_video_service( dxva ) == HB_WORK_ERROR )
{
- hb_log( "dxva2:DxCreateVideoService failed" );
+ hb_deep_log(2, "dxva2:DxCreateVideoService failed");
goto error;
}
if( hb_dx_find_video_service_conversion( dxva, &dxva->input, &dxva->render ) == HB_WORK_ERROR )
{
- hb_log( "dxva2:DxFindVideoServiceConversion failed" );
+ hb_deep_log(2, "dxva2:DxFindVideoServiceConversion failed");
goto error;
}
@@ -688,6 +688,7 @@ hb_va_dxva2_t * hb_va_create_dxva2( hb_va_dxva2_t *dxva2, int codec_id )
return dxva;
}
}
+ hb_deep_log(2, "dxva2:compatible AVHWAccel not found");
error:
hb_va_close( dxva );