projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b1a6e
)
devicemonitor: Return NULL instead of FALSE
author
Arun Raghavan
<arun@arunraghavan.net>
Fri, 26 May 2017 23:49:20 +0000
(
05:19
+0530)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 27 Jan 2018 10:29:18 +0000
(10:29 +0000)
Same effect, meaning is clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=789319
gst/gstdevicemonitor.c
patch
|
blob
|
history
diff --git
a/gst/gstdevicemonitor.c
b/gst/gstdevicemonitor.c
index
49e32bb
..
03b4621
100644
(file)
--- a/
gst/gstdevicemonitor.c
+++ b/
gst/gstdevicemonitor.c
@@
-362,13
+362,13
@@
gst_device_monitor_get_devices (GstDeviceMonitor * monitor)
if (monitor->priv->filters->len == 0) {
GST_OBJECT_UNLOCK (monitor);
GST_WARNING_OBJECT (monitor, "No filters have been set");
- return
FALSE
;
+ return
NULL
;
}
if (monitor->priv->providers->len == 0) {
GST_OBJECT_UNLOCK (monitor);
GST_WARNING_OBJECT (monitor, "No providers match the current filters");
- return
FALSE
;
+ return
NULL
;
}
again: