summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-03-23 14:46:34 +0000
committerScott <[email protected]>2019-03-30 21:09:26 +0000
commitdd235f5b517cb7c3d59b53a9a5468349167d645c (patch)
tree2a5fbac20ac90a2ef8e0080c4010b9a081cdbf01 /libhb
parent26f3f30c07472b83165516f87c860723a15c6af4 (diff)
Libhb: Some minor logging cleanup
Diffstat (limited to 'libhb')
-rw-r--r--libhb/comb_detect.c10
-rw-r--r--libhb/decomb.c6
-rw-r--r--libhb/fifo.c4
-rw-r--r--libhb/grayscale.c2
-rw-r--r--libhb/nlmeans.c2
-rw-r--r--libhb/vce_common.c8
6 files changed, 16 insertions, 16 deletions
diff --git a/libhb/comb_detect.c b/libhb/comb_detect.c
index 10caaea25..131eaede5 100644
--- a/libhb/comb_detect.c
+++ b/libhb/comb_detect.c
@@ -673,7 +673,7 @@ static void mask_dilate_thread( void *thread_args_v )
pv = thread_args->pv;
segment = thread_args->segment;
- hb_log("mask dilate thread started for segment %d", segment);
+ hb_deep_log(3, "mask dilate thread started for segment %d", segment);
while (1)
{
@@ -775,7 +775,7 @@ static void mask_erode_thread( void *thread_args_v )
pv = thread_args->pv;
segment = thread_args->segment;
- hb_log("mask erode thread started for segment %d", segment);
+ hb_deep_log(3, "mask erode thread started for segment %d", segment);
while (1)
{
@@ -877,7 +877,7 @@ static void mask_filter_thread( void *thread_args_v )
pv = thread_args->pv;
segment = thread_args->segment;
- hb_log("mask filter thread started for segment %d", segment);
+ hb_deep_log(3, "mask filter thread started for segment %d", segment);
while (1)
{
@@ -980,7 +980,7 @@ static void decomb_check_thread( void *thread_args_v )
pv = thread_args->pv;
segment = thread_args->segment;
- hb_log("decomb check thread started for segment %d", segment);
+ hb_deep_log(3, "decomb check thread started for segment %d", segment);
while (1)
{
@@ -1030,7 +1030,7 @@ static void decomb_filter_thread( void *thread_args_v )
pv = thread_args->pv;
segment = thread_args->segment;
- hb_log("decomb filter thread started for segment %d", segment);
+ hb_deep_log(3, "decomb filter thread started for segment %d", segment);
while (1)
{
diff --git a/libhb/decomb.c b/libhb/decomb.c
index 0402a65a6..6f1cf62a1 100644
--- a/libhb/decomb.c
+++ b/libhb/decomb.c
@@ -458,7 +458,7 @@ static void eedi2_filter_thread( void *thread_args_v )
pv = thread_args->pv;
plane = thread_args->plane;
- hb_log("eedi2 thread started for plane %d", plane);
+ hb_deep_log(3, "eedi2 thread started for plane %d", plane);
while (1)
{
@@ -698,7 +698,7 @@ static void yadif_decomb_filter_thread( void *thread_args_v )
pv = thread_args->pv;
segment = thread_args->segment;
- hb_log("yadif thread started for segment %d", segment);
+ hb_deep_log(3, "yadif thread started for segment %d", segment);
while (1)
{
@@ -1094,7 +1094,7 @@ static int hb_decomb_init( hb_filter_object_t * filter,
init->geometry.height * stride * sizeof(int), 16);
if( !pv->cx2 || !pv->cy2 || !pv->cxy || !pv->tmpc )
- hb_log("EEDI2: failed to malloc derivative arrays");
+ hb_error("EEDI2: failed to malloc derivative arrays");
else
hb_log("EEDI2: successfully mallloced derivative arrays");
}
diff --git a/libhb/fifo.c b/libhb/fifo.c
index 70c3eca81..63b138973 100644
--- a/libhb/fifo.c
+++ b/libhb/fifo.c
@@ -386,7 +386,7 @@ hb_buffer_t * hb_buffer_init_internal( int size )
*/
if( !( b = calloc( sizeof( hb_buffer_t ), 1 ) ) )
{
- hb_log( "out of memory" );
+ hb_error( "out of memory" );
return NULL;
}
@@ -398,7 +398,7 @@ hb_buffer_t * hb_buffer_init_internal( int size )
b->data = av_malloc(b->alloc);
if( !b->data )
{
- hb_log( "out of memory" );
+ hb_error( "out of memory" );
free( b );
return NULL;
}
diff --git a/libhb/grayscale.c b/libhb/grayscale.c
index 5571e811e..1afd55e36 100644
--- a/libhb/grayscale.c
+++ b/libhb/grayscale.c
@@ -73,7 +73,7 @@ void grayscale_filter_thread( void *thread_args_v )
pv = thread_args->pv;
segment = thread_args->segment;
- hb_log("Grayscale thread started for segment %d", segment);
+ hb_deep_log(3, "Grayscale thread started for segment %d", segment);
while( run )
{
diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c
index 4a0621ecc..d8e5aa01a 100644
--- a/libhb/nlmeans.c
+++ b/libhb/nlmeans.c
@@ -1099,7 +1099,7 @@ static void nlmeans_filter_thread(void *thread_args_v)
hb_filter_private_t *pv = thread_data->pv;
int segment = thread_data->segment;
- hb_log("NLMeans thread started for segment %d", segment);
+ hb_deep_log(3, "NLMeans thread started for segment %d", segment);
while (1)
{
diff --git a/libhb/vce_common.c b/libhb/vce_common.c
index ab545eab0..a0533fd59 100644
--- a/libhb/vce_common.c
+++ b/libhb/vce_common.c
@@ -34,21 +34,21 @@ AMF_RESULT check_component_available(const wchar_t *componentID)
if(!init_fun)
{
result = AMF_FAIL;
- hb_log("VCE: Load Library Failed");
+ hb_error("VCE: Load Library Failed");
goto clean;
}
result = init_fun(AMF_FULL_VERSION, &factory);
if(result != AMF_OK)
{
- hb_log("VCE: Init Failed");
+ hb_error("VCE: Init Failed");
goto clean;
}
result = factory->pVtbl->CreateContext(factory, &context);
if(result != AMF_OK)
{
- hb_log("VCE: Context Failed");
+ hb_error("VCE: Context Failed");
goto clean;
}
@@ -56,7 +56,7 @@ AMF_RESULT check_component_available(const wchar_t *componentID)
if (result != AMF_OK) {
result = context->pVtbl->InitDX9(context, NULL);
if (result != AMF_OK) {
- hb_log("VCE: DX11 and DX9 Failed");
+ hb_error("VCE: DX11 and DX9 Failed");
goto clean;
}
}