Commit 393a5a8f authored by Benjamin Otte's avatar Benjamin Otte
Browse files

gst/gstpad.c: Return a newly allocated buffer when the pad has no peer.

Original commit message from CVS:
2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstpad.c: (gst_pad_alloc_buffer):
Return a newly allocated buffer when the pad has no peer.
parent b26be1ef
2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstpad.c: (gst_pad_alloc_buffer):
Return a newly allocated buffer when the pad has no peer.
2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstclock.c: (gst_clock_get_time):
......
......@@ -2605,7 +2605,7 @@ gst_pad_alloc_buffer (GstPad *pad, guint64 offset, gint size)
peer = GST_RPAD_PEER (pad);
if (!peer)
return NULL;
return gst_buffer_new_and_alloc(size);
GST_CAT_DEBUG (GST_CAT_BUFFER, "(%s:%s): getting buffer",
GST_DEBUG_PAD_NAME (pad));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment