From: Rodeo Date: Tue, 23 Jun 2015 22:10:15 +0000 (+0000) Subject: DXVA2: make hb_va_create_dxva2 less verbose. X-Git-Tag: 1.0.0~1070 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b36930c67ac7013618b82233222ebfacd18d9ea;p=handbrake 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 --- 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 );