mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
gst/gstpad.c: Fix wrong g_return_if_fail
Original commit message from CVS: 2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/gstpad.c: (gst_pad_try_relink_filtered): Fix wrong g_return_if_fail
This commit is contained in:
parent
de0c9fba96
commit
62d2803d5d
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* gst/gstpad.c: (gst_pad_try_relink_filtered):
|
||||
Fix wrong g_return_if_fail
|
||||
|
||||
2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_class_init):
|
||||
|
|
|
@ -1909,7 +1909,8 @@ gst_pad_try_relink_filtered (GstPad *srcpad, GstPad *sinkpad,
|
|||
|
||||
g_return_val_if_fail (realsrc != NULL, FALSE);
|
||||
g_return_val_if_fail (realsink != NULL, FALSE);
|
||||
g_return_val_if_fail (GST_RPAD_PEER (realsrc) == GST_RPAD_PEER (realsink), FALSE);
|
||||
g_return_val_if_fail (GST_RPAD_PEER (realsrc) == realsink, FALSE);
|
||||
g_assert (realsrc == GST_RPAD_PEER (realsink));
|
||||
if ((GST_PAD (realsrc) != srcpad) || (GST_PAD (realsink) != sinkpad)) {
|
||||
GST_CAT_INFO (GST_CAT_PADS, "*actually* linking %s:%s and %s:%s",
|
||||
GST_DEBUG_PAD_NAME (realsrc), GST_DEBUG_PAD_NAME (realsink));
|
||||
|
|
Loading…
Reference in a new issue