mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
gst/gstghostpad.c: Add in doc that gst_ghost_pad_set_target can accept
Original commit message from CVS: * gst/gstghostpad.c: Add in doc that gst_ghost_pad_set_target can accept NULL to clear target
This commit is contained in:
parent
72e0b732f6
commit
39ab4627e2
3 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||
|
||||
* gst/gstghostpad.c:
|
||||
Add in doc that gst_ghost_pad_set_target can accept
|
||||
NULL to clear target
|
||||
|
||||
2008-07-15 Michael Smith <msmith@songbirdnest.com>
|
||||
|
||||
* gst/gstplugin.c:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit a100efef186a5f8999fe3aa42c0720f5123c08eb
|
||||
Subproject commit e79879859bc866545379eb77e1378a906dc30ebf
|
|
@ -1025,7 +1025,8 @@ gst_ghost_pad_get_target (GstGhostPad * gpad)
|
|||
* @newtarget: the new pad target
|
||||
*
|
||||
* Set the new target of the ghostpad @gpad. Any existing target
|
||||
* is unlinked and links to the new target are established.
|
||||
* is unlinked and links to the new target are established. if @newtarget is
|
||||
* NULL the target will be cleared.
|
||||
*
|
||||
* Returns: TRUE if the new target could be set. This function can return FALSE
|
||||
* when the internal pads could not be linked.
|
||||
|
@ -1043,7 +1044,10 @@ gst_ghost_pad_set_target (GstGhostPad * gpad, GstPad * newtarget)
|
|||
GST_PROXY_LOCK (gpad);
|
||||
internal = GST_PROXY_PAD_INTERNAL (gpad);
|
||||
|
||||
GST_DEBUG_OBJECT (gpad, "set target %s:%s", GST_DEBUG_PAD_NAME (newtarget));
|
||||
if (newtarget)
|
||||
GST_DEBUG_OBJECT (gpad, "set target %s:%s", GST_DEBUG_PAD_NAME (newtarget));
|
||||
else
|
||||
GST_DEBUG_OBJECT (gpad, "clearing target");
|
||||
|
||||
/* clear old target */
|
||||
if ((oldtarget = GST_PROXY_PAD_TARGET (gpad))) {
|
||||
|
|
Loading…
Reference in a new issue