mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 21:46:22 +00:00
videoconvert: Enhance debug message to be more human readable
Numerical representation of GstVideoFormat is not debugging friendly Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/822>
This commit is contained in:
parent
bcabdfb0f9
commit
cea2bccfc6
1 changed files with 3 additions and 2 deletions
|
@ -495,8 +495,9 @@ gst_video_convert_set_info (GstVideoFilter * filter,
|
|||
if (space->convert == NULL)
|
||||
goto no_convert;
|
||||
|
||||
GST_DEBUG ("reconfigured %d %d", GST_VIDEO_INFO_FORMAT (in_info),
|
||||
GST_VIDEO_INFO_FORMAT (out_info));
|
||||
GST_DEBUG_OBJECT (filter, "converting format %s -> %s",
|
||||
gst_video_format_to_string (GST_VIDEO_INFO_FORMAT (in_info)),
|
||||
gst_video_format_to_string (GST_VIDEO_INFO_FORMAT (out_info)));
|
||||
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue