mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
ghostpad: return TRUE if target pad was already set
The state is as it should be, so no reason to return FALSE really, everything's good.
This commit is contained in:
parent
3203a10821
commit
b63ed9e066
1 changed files with 1 additions and 1 deletions
|
@ -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 FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (newtarget)
|
||||
|
|
Loading…
Reference in a new issue