[gst-devel] Questions about gstreamer "hello world"
newptcai at gmail.com
Tue Oct 13 19:29:40 CEST 2009
1. In on_pad_added, the code just blinded link demuxer and decoder, what if
there are more than one source sink dynamically added to dexmuxer? Does that
on_pad_added (GstElement *element,
GstElement *decoder = (GstElement *) data;
/* We can now link this pad with the vorbis-decoder sink pad */
g_print ("Dynamic pad created, linking demuxer/decoder\n");
sinkpad = gst_element_get_static_pad (decoder, "sink");
gst_pad_link (pad, sinkpad);
2. What dose converter do?
look to the things around you,the immediate world around you, if you are
alive,it will mean something to you ——Paul Strand
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel