Connecting plugin to multiqueue (sink pads) ??
Subodh_84
subodh.chiwate at ufomoviez.com
Fri Oct 31 03:31:45 PDT 2014
Changed the code to following now ...
Still getting error
ERROR
======
(UFOPluginPlayer:1294): GStreamer-CRITICAL **: gst_pad_link_full: assertion
'GST_IS_PAD (srcpad)' failed
** (UFOPluginPlayer:1294): WARNING **: Failed to link elements
multiqueue,vid_parse. Err code : -6 !!
CODE :
======
gint ret_link =
gst_pad_link(gst_element_get_static_pad(vid_epes,"src"),gst_element_get_request_pad(multiqueue,"sink0"));
if(GST_PAD_LINK_OK != ret_link )
{
g_warning("Failed to link elements vid_epes,multiqueue. Err
code : %d !!\n",ret_link);
return -1;
}
ret_link =
gst_pad_link(gst_element_get_static_pad(aud_epes,"src"),gst_element_get_request_pad(multiqueue,"sink1"));
if(GST_PAD_LINK_OK != ret_link )
{
g_warning("Failed to link elements aud_epes,multiqueue. Err
code : %d !!\n",ret_link);
return -1;
}
ret_link =
gst_pad_link(gst_element_get_request_pad(multiqueue,"src"),gst_element_get_static_pad(vid_parse,"sink"));
if(GST_PAD_LINK_OK != ret_link )
{
g_warning("Failed to link elements multiqueue,vid_parse. Err
code : %d !!\n",ret_link);
return -1;
}
ret_link =
gst_pad_link(gst_element_get_request_pad(multiqueue,"src1"),gst_element_get_static_pad(au_parse,"sink"));
if(GST_PAD_LINK_OK != ret_link )
{
g_warning("Failed to link elements multiqueue,au_parse. Err
code : %d !!\n",ret_link);
return -1;
}
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Connecting-plugin-to-multiqueue-sink-pads-tp4669285p4669294.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list