mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
devicemonitor: fix typo in sample code in docs
https://bugzilla.gnome.org/show_bug.cgi?id=735975
This commit is contained in:
parent
7e33f52961
commit
c06d9f7b98
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue