[SOLVED]Connecting plugin to multiqueue (sink pads) ??
Subodh_84
subodh.chiwate at ufomoviez.com
Fri Oct 31 03:43:18 PDT 2014
Was connecting the signals after adding the connecting the sink pads hence
missing the event.
Correct Code
g_connect_signal() // for both parsers
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;
}
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Connecting-plugin-to-multiqueue-sink-pads-tp4669285p4669295.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list