mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
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
1 changed files with 5 additions and 2 deletions
|
@ -1255,8 +1255,11 @@ gst_x264_enc_log_callback (gpointer private, gint level, const char *format,
|
|||
break;
|
||||
}
|
||||
|
||||
gst_debug_log_valist (x264_enc_debug, gst_level, "", "", 0, object, format,
|
||||
args);
|
||||
if (G_LIKELY (gst_level > _gst_debug_min))
|
||||
return;
|
||||
|
||||
gst_debug_log_valist (GST_CAT_DEFAULT, gst_level, __FILE__, GST_FUNCTION,
|
||||
__LINE__, object, format, args);
|
||||
#endif /* GST_DISABLE_GST_DEBUG */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue