[gst-embedded] whats the problem here????

Raghavendra raghavendrar at lge.com
Thu Oct 30 23:46:44 PDT 2008


Hi all,

Please tell me what wrong in this ......??? In this gst_pad_pull_range
function is getting stuck ....

Help me .....

 

Gst_get_buffer ()

{

 

            Pstpipeline = gst_pipeline_new ("captuer");

            

            Pstsrc = Gst_element_factory_make ("v4lsrc", );

            

Pstsink = Gst_element_factory_make ("fakesink", );

 

            Pstpad = gst_element_get_pad ( pstsink, "sink");

            Gst_pad_activate_pull ( pstpad, TRUE );

            

            Gst_bin_add_many (GST_BIN(pstpipeline), pstsrc, pstsink, NULL);

 

            Gst_element_link_many ( pstsrc, pstsink, NULL);

 

            Pst_element_set_state ( pstpipeline, GST_STATE_PLAYING);

 

            Gst_pad_pull_range ( pstpad, 0, 4086, &pstbuffer );

            

 

            Return 1;

}

 

 

Thank you,

Ragh ......

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20081031/119446a3/attachment.htm>


More information about the Gstreamer-embedded mailing list