From c06d9f7b98a2b1b41d2a2754d8b05ac37094cd5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 3 Sep 2014 17:38:16 +0100 Subject: [PATCH] devicemonitor: fix typo in sample code in docs https://bugzilla.gnome.org/show_bug.cgi?id=735975 --- gst/gstdevicemonitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstdevicemonitor.c b/gst/gstdevicemonitor.c index 458c43bccc..a1394a2d92 100644 --- a/gst/gstdevicemonitor.c +++ b/gst/gstdevicemonitor.c @@ -41,7 +41,7 @@ * my_bus_func (GstBus * bus, GstMessage * message, gpointer user_data) * { * GstDevice *device; - * gchar name; + * gchar *name; * * switch (GST_MESSAGE_TYPE (message)) { * case GST_MESSAGE_DEVICE_ADDED: @@ -75,7 +75,7 @@ * gst_bus_add_watch (bus, my_bus_func, NULL); * gst_object_unref (bus); * - * caps = gst_caps_new_simple_empty ("video/x-raw"); + * caps = gst_caps_new_empty_simple ("video/x-raw"); * gst_device_monitor_add_filter (monitor, "Video/Source", caps); * gst_caps_unref (caps); *