[gst-devel] Where is the data in the Pad

karmendra jain karmendra.jain at gmail.com
Thu Oct 4 14:01:04 CEST 2007


with gst_pad_add_buffer_probe we can know when there is buffer in the
pad .. and call out own function but how to access the content of that
buffer in that function ?????

On 10/4/07, karmendra jain <karmendra.jain at gmail.com> wrote:
> Hi All
> i was trying to access the data from the pad in my pipeline
> **** pipeline***
> filesrc->parser->decoder->conv->sink
> ***
> now i used gst_pad_add_data_probe to a element (say sink)
>
> its calling the function i want whenever a "have-data" signal is there
> and i get the address of the pad ..
> but the PROBLEM IS
> which is the data in the pad ???
> i read the structure of the pad but was not able to find any such
> variable/ptr/buffer
>
> Can anyone please help ??
> i basically want to access the processed data from the pipeline and
> pass it to some other api of my own .. how can i do that ???
>
>
> Regards
>




More information about the gstreamer-devel mailing list