x264enc: Add the func/line info to the log callback
It looks awkward when it's missing. At least point us at the callback function. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85>
This commit is contained in:
parent
de465be3e4
commit
de87e0d381
@ -1255,8 +1255,11 @@ gst_x264_enc_log_callback (gpointer private, gint level, const char *format,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_debug_log_valist (x264_enc_debug, gst_level, "", "", 0, object, format,
|
if (G_LIKELY (gst_level > _gst_debug_min))
|
||||||
args);
|
return;
|
||||||
|
|
||||||
|
gst_debug_log_valist (GST_CAT_DEFAULT, gst_level, __FILE__, GST_FUNCTION,
|
||||||
|
__LINE__, object, format, args);
|
||||||
#endif /* GST_DISABLE_GST_DEBUG */
|
#endif /* GST_DISABLE_GST_DEBUG */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user