From: Ronald S. Bultje Date: Sat, 29 Jan 2005 13:38:44 +0000 (+0000) Subject: gst/gstpad.c: Add check that the pad on which the push is performed is not a get... X-Git-Tag: RELEASE-0_8_9~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8e67497f98b32b425fd3f426de758101c845649;p=platform%2Fupstream%2Fgstreamer.git gst/gstpad.c: Add check that the pad on which the push is performed is not a get-based pad (#150546). Original commit message from CVS: * gst/gstpad.c: (gst_pad_push): Add check that the pad on which the push is performed is not a get-based pad (#150546). --- diff --git a/ChangeLog b/ChangeLog index 65bd4c7..1152cb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-29 Ronald S. Bultje + + * gst/gstpad.c: (gst_pad_push): + Add check that the pad on which the push is performed is not a + get-based pad (#150546). + 2005-01-28 Ronald S. Bultje * gst/elements/gsttypefindelement.c: diff --git a/gst/gstpad.c b/gst/gstpad.c index a3f4df8..796d867 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -3242,6 +3242,7 @@ gst_pad_push (GstPad * pad, GstData * data) g_return_if_fail (GST_IS_PAD (pad)); g_return_if_fail (GST_PAD_DIRECTION (pad) == GST_PAD_SRC); + g_return_if_fail (GST_RPAD_GETFUNC (pad) == NULL); g_return_if_fail (data != NULL); DEBUG_DATA (pad, data, "gst_pad_push");