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:
3203a10
)
ghostpad: return TRUE if target pad was already set
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 24 Nov 2017 08:53:41 +0000
(09:53 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 24 Nov 2017 12:39:39 +0000
(13:39 +0100)
The state is as it should be, so no reason to return
FALSE really, everything's good.
gst/gstghostpad.c
patch
|
blob
|
history
diff --git
a/gst/gstghostpad.c
b/gst/gstghostpad.c
index
247b9c9
..
1598084
100644
(file)
--- a/
gst/gstghostpad.c
+++ b/
gst/gstghostpad.c
@@
-842,7
+842,7
@@
gst_ghost_pad_set_target (GstGhostPad * gpad, GstPad * newtarget)
GST_OBJECT_UNLOCK (gpad);
GST_WARNING_OBJECT (gpad, "Target has already been set to %s:%s",
GST_DEBUG_PAD_NAME (newtarget));
- return
FALS
E;
+ return
TRU
E;
}
if (newtarget)