[gst-devel] Size of output buffer

sudarshan bisht bisht.sudarshan at gmail.com
Tue Oct 21 10:55:31 CEST 2008


Hi

 "gst_pad_push_event" function pushes only events ( EOS , new segment etc )
not buffer , in order to push buffer use "gst_pad_push"  api .

On Tue, Oct 21, 2008 at 1:58 PM, Irfan Shaikh
<irfanshaikh at tataelxsi.co.in>wrote:

>
> Hi Julien,
>
>      Thanks for your reply..
>
>      For ffmux_asf plug-in in gstffmpegmux.c.
>
>      Is "gst_pad_push_event" is the fuction which pushes the buffer which
> has ASF data into sink pad of next elemnt ?
>      i.e. gst_pad_push_event (ffmpegmux->srcpad, gst_event_new_eos ());
> When i checked the sise of buffer its variable in size.
>
>
>       I need to allocate buffer for the next module to "ffmux_asf". Which
> is an asf parse. i need to allocate buffer in asf parser plugin. I wanted to
> know what size of buffer should i allocate for ASF parser plug-in to take
> i/p from ffmux_asf
>
> I checked the buffer size in ffmux_asf in gst_ffmpegmux_collected
> (GstCollectPads * pads, gpointer user_data)
>
> But it shows variable part. Tell me whether i am right ??
>
> Size of buf:5757
> Size of buf:7134
> Size of buf:6927
> Size of buf:5670
> Size of buf:4989
> Size of buf:4004
> Size of buf:3615
> Size of buf:3188
> Size of buf:3022
> Size of buf:2703
>
> Thanks and regards,
> Irfan
>
>
>
> -----Original Message-----
> From: Julien Puydt [mailto:jpuydt at free.fr <jpuydt at free.fr>]
> Sent: Mon 10/20/2008 3:29 PM
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] Size of output buffer
>
> irfanshaikh a écrit :
> >         How can i find size of output buffer in "ffmux_asf" which is
> pushed
> > to the sink pad of next element ?
>
> GST_BUFFER_SIZE (buffer) ?
>
> Snark on #gstreamer
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>  This message (including any attachment) is confidential and may be
> legally privileged. Access to this message by anyone other than the intended
> recipient(s) listed above is unauthorized. If you are not the intended
> recipient you are hereby notified that any disclosure, copying, or
> distribution of the message, or any action taken or omission of action by
> you in reliance upon it, is prohibited and may be unlawful. Please
> immediately notify the sender by reply e-mail and permanently delete all
> copies of the message if you have received this message in error.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081021/ea0be59e/attachment-0002.htm>


More information about the gstreamer-devel mailing list