]> granicus.if.org Git - handbrake/commitdiff
VCE: Add positive logging.
authorsr55 <sr55.hb@outlook.com>
Tue, 25 Sep 2018 17:29:32 +0000 (18:29 +0100)
committersr55 <sr55.hb@outlook.com>
Tue, 25 Sep 2018 17:29:32 +0000 (18:29 +0100)
libhb/vce_common.c

index 551596e2ca2ce4f70411a48a8f11a055d1652406..21b4bb596114069d921675bbe50629476bad1c81 100644 (file)
@@ -22,6 +22,8 @@ AMF_RESULT check_component_available(const wchar_t *componentID)
     AMFCaps            *encoderCaps = NULL;
     AMF_RESULT          result = AMF_FAIL;
 
+    hb_log("VCE: Checking for hardware availability.");
+    
     library = hb_dlopen(AMF_DLL_NAMEA);
     if(!library)
     {
@@ -69,6 +71,8 @@ AMF_RESULT check_component_available(const wchar_t *componentID)
     }
 
     result = encoder->pVtbl->GetCaps(encoder, &encoderCaps);
+    
+    hb_log("VCE: Result = %d", result);
 
 clean:
     if (encoderCaps)