[Spice-commits] src/channel-display-gst.c

Pavel Grunt pgrunt at kemper.freedesktop.org
Fri Jul 14 08:08:24 UTC 2017


 src/channel-display-gst.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 04ee95e94a0502a058bdfc1f2820c242af2bebb4
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Thu Jul 13 18:28:52 2017 +0200

    gst: Fix build for GStreamer < 1.5.1
    
    GST_DEBUG_GRAPH_SHOW_FULL_PARAMS is available since that

diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c
index 20d236a..adcd6ef 100644
--- a/src/channel-display-gst.c
+++ b/src/channel-display-gst.c
@@ -292,7 +292,9 @@ static gboolean handle_pipeline_message(GstBus *bus, GstMessage *msg, gpointer v
                                           gst_opts[decoder->base.codec_type].name);
         GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(decoder->pipeline),
                                   GST_DEBUG_GRAPH_SHOW_ALL
+#if GST_CHECK_VERSION(1,5,1)
                                     | GST_DEBUG_GRAPH_SHOW_FULL_PARAMS
+#endif
                                     | GST_DEBUG_GRAPH_SHOW_STATES,
                                     filename);
         g_free(filename);


More information about the Spice-commits mailing list