[Spice-devel] [spice-gtk] display-gst: debug instead of warning on lack of video codecs
Victor Toso
victortoso at redhat.com
Mon Oct 1 15:43:26 UTC 2018
From: Victor Toso <me at victortoso.com>
Just plain ugly to have all Spice clients to warn out several times
due lack of gstreamer plugins for a given video-codec even though most
users don't really use streaming at all.
Signed-off-by: Victor Toso <victortoso at redhat.com>
---
src/channel-display-gst.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c
index 3b306c1..73bcbe9 100644
--- a/src/channel-display-gst.c
+++ b/src/channel-display-gst.c
@@ -747,7 +747,8 @@ gboolean gstvideo_has_codec(int codec_type)
GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE;
all_decoders = gst_element_factory_list_get_elements(type, GST_RANK_NONE);
if (all_decoders == NULL) {
- spice_warning("No video decoders from GStreamer were found");
+ spice_debug("No video decoders from GStreamer for %s were found",
+ gst_opts[codec_type].name);
return FALSE;
}
--
2.17.1
More information about the Spice-devel
mailing list