Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luzpaz
gstreamer
Commits
c06d9f7b
Commit
c06d9f7b
authored
Sep 03, 2014
by
Tim-Philipp Müller
🐠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devicemonitor: fix typo in sample code in docs
https://bugzilla.gnome.org/show_bug.cgi?id=735975
parent
7e33f529
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gst/gstdevicemonitor.c
gst/gstdevicemonitor.c
+2
-2
No files found.
gst/gstdevicemonitor.c
View file @
c06d9f7b
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
* my_bus_func (GstBus * bus, GstMessage * message, gpointer user_data)
* my_bus_func (GstBus * bus, GstMessage * message, gpointer user_data)
* {
* {
* GstDevice *device;
* GstDevice *device;
* gchar name;
* gchar
*
name;
*
*
* switch (GST_MESSAGE_TYPE (message)) {
* switch (GST_MESSAGE_TYPE (message)) {
* case GST_MESSAGE_DEVICE_ADDED:
* case GST_MESSAGE_DEVICE_ADDED:
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
* gst_bus_add_watch (bus, my_bus_func, NULL);
* gst_bus_add_watch (bus, my_bus_func, NULL);
* gst_object_unref (bus);
* 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_device_monitor_add_filter (monitor, "Video/Source", caps);
* gst_caps_unref (caps);
* gst_caps_unref (caps);
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment