]> git.0d.be Git - empathy.git/commitdiff
Fix build with gst 0.10
authorXavier Claessens <xavier.claessens@collabora.co.uk>
Mon, 29 Oct 2012 13:36:04 +0000 (14:36 +0100)
committerXavier Claessens <xavier.claessens@collabora.co.uk>
Mon, 29 Oct 2012 13:36:04 +0000 (14:36 +0100)
In gstreamer 0.10 gst_debug_bin_to_dot_file() does not exists, it is
called _gst_debug_bin_to_dot_file(). However in both 0.10 and 1.0
there is GST_DEBUG_BIN_TO_DOT_FILE() macro that is no-op if gst is
not build with --gst-enable-gst-debug.

src/empathy-call-window.c

index 95b01d3d1730c202a433f7b9ab530ffb6f6909e6..6c7f4f2f011d39618367e0ae5a9262fc4efe1416 100644 (file)
@@ -1393,7 +1393,7 @@ empathy_call_window_debug_gst_cb (GtkAction *action,
   filename = g_strdup_printf ("%s-%" G_GINT64_FORMAT, prgname,
       g_date_time_to_unix (date_time));
 
-  gst_debug_bin_to_dot_file (GST_BIN (priv->pipeline),
+  GST_DEBUG_BIN_TO_DOT_FILE (GST_BIN (priv->pipeline),
       GST_DEBUG_GRAPH_SHOW_ALL, filename);
 
   dot_dir = g_getenv ("GST_DEBUG_DUMP_DOT_DIR");