<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
hi everybody,<BR>
&nbsp;&nbsp;&nbsp; i want some info on gst_pad_buffer_alloc function call...<BR>
i'll explain myself with a case...<BR>
<BR>
the xvimagesink plugin has the <B>gst_xvimagesink_buffer_alloc (GstBaseSink * bsink, guint64 offset, guint size, GstCaps * caps, GstBuffer ** buf) </B><BR>
function...so now if i write a decoder that does not make a <B>gst_pad_buffer_alloc()</B> call on its source pad, does it mean that the buffer will not be allocated<BR>
by the <B>gst_xvimagesink_buffer_alloc </B>function when the buffer is pushed on the pad ? <BR>
<BR>
or is the <B>gst_xvimagesink_buffer_alloc</B> called when the buffer is pushed to xvimagesink ?<BR>
<BR>
i hope u guys get what im trying to ask. <IMG SRC="cid:1140011286.3175.25.camel@www.nextbitcpu.com" ALIGN="middle" ALT=":)" BORDER="0"><BR>
--------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>
another thing id want to know is... say the decoder makes a gst_pad_buffer_alloc call and xvimagesink<BR>
allocates a buffer for decoders use....next say the decoder does its job and pushes the buffer to xvimagesink<BR>
and xvimagesink starts processing this buffer....now say while xvimagesink is processing...the decoder<BR>
makes another gst_pad_alloc_call...what will happen here...will the xvimagesink complete its processing and then carry<BR>
out the gst_xvimagesink_buffer_alloc call or will the buffer be allocated for the decoder immediately (i.e. as soon as the gst_pad_buffer_alloc call <BR>
is made by the decoder...).<BR>
<BR>
plz do reply...<BR>
thanks in advance<BR>
<BR>
take care<BR>
samee
</BODY>
</HTML>