[Spice-commits] src/channel-display-gst.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Nov 1 11:25:12 UTC 2018
src/channel-display-gst.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 797b8bca733f77d32fe31d1dd45dc605ce081a62
Author: Victor Toso <me at victortoso.com>
Date: Mon Oct 1 17:43:26 2018 +0200
display-gst: debug instead of warning on lack of video codecs
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>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c
index 13a024a..c909e20 100644
--- a/src/channel-display-gst.c
+++ b/src/channel-display-gst.c
@@ -748,7 +748,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;
}
More information about the Spice-commits
mailing list