mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
waylandsink: Promote debug trace into error trace
Otherwise those error may go unseen making debugging much harder.
This commit is contained in:
parent
94a5652694
commit
9357047eaf
1 changed files with 2 additions and 2 deletions
|
@ -497,13 +497,13 @@ gst_wayland_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
|
||||||
|
|
||||||
invalid_format:
|
invalid_format:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (sink,
|
GST_ERROR_OBJECT (sink,
|
||||||
"Could not locate image format from caps %" GST_PTR_FORMAT, caps);
|
"Could not locate image format from caps %" GST_PTR_FORMAT, caps);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
unsupported_format:
|
unsupported_format:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (sink, "Format %s is not available on the display",
|
GST_ERROR_OBJECT (sink, "Format %s is not available on the display",
|
||||||
gst_wl_shm_format_to_string (format));
|
gst_wl_shm_format_to_string (format));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue