display: lower to debug gstreamer codec support

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
Marc-André Lureau 2016-05-24 20:47:08 +02:00
parent d96d951445
commit 0fd2a335f2

View File

@ -724,19 +724,19 @@ static void spice_display_channel_reset_capabilities(SpiceChannel *channel)
spice_channel_set_capability(SPICE_CHANNEL(channel),
SPICE_DISPLAY_CAP_CODEC_MJPEG);
} else {
spice_info("GStreamer does not support the mjpeg codec");
SPICE_DEBUG("GStreamer does not support the mjpeg codec");
}
if (gstvideo_has_codec(SPICE_VIDEO_CODEC_TYPE_VP8)) {
spice_channel_set_capability(SPICE_CHANNEL(channel),
SPICE_DISPLAY_CAP_CODEC_VP8);
} else {
spice_info("GStreamer does not support the vp8 codec");
SPICE_DEBUG("GStreamer does not support the vp8 codec");
}
if (gstvideo_has_codec(SPICE_VIDEO_CODEC_TYPE_H264)) {
spice_channel_set_capability(SPICE_CHANNEL(channel),
SPICE_DISPLAY_CAP_CODEC_H264);
} else {
spice_info("GStreamer does not support the h264 codec");
SPICE_DEBUG("GStreamer does not support the h264 codec");
}
}