[gst-devel] Error in my pipe?
styve.attia at gmail.com
Thu Feb 3 19:29:35 CET 2011
Wim Taymans wrote:
> On 02/03/2011 05:57 PM, StyveA wrote:
>> I really don't understand where is my error...
> Check out the part in the manual about dynamic pads. You need to connect
> the pad-added signal from decodebin.
If I understand, this is what I do here :
on_new_pad (GstElement *element,
name = gst_pad_get_name (pad);
g_print ("Dynamic pad created, linking parser/decoder '%s'\n", name);
sinkpad = gst_element_get_pad (video, "sink");
gst_pad_link (pad, sinkpad);
and in the main code :
g_signal_connect (dec, "pad-added", G_CALLBACK (on_new_pad), sink);
It connects the pad added from the decodebin to the sink no?
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Error-in-my-pipe-tp3258495p3258691.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel