It is against the philosophy of GStreamer, I suggest rather to create two sources (audio and video) and then mux them using desired muxer, or use two sinks if you want to display them.<div><br></div><div>m.<br><br><div class="gmail_quote">
2012/7/23 gem-tos <span dir="ltr"><<a href="mailto:postolovicmickael@msn.com" target="_blank">postolovicmickael@msn.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
firstly, excuse me for my poor english.<br>
<br>
I need to write a source element with at least 2 source pads (audio and<br>
video)<br>
I started with a customized version of videotestsrc.<br>
I am able to get frame from my compression card and display the video in<br>
autovideosink element but now I need to add audio.<br>
<br>
I saw that I can't have multiple src pads with BaseSrc class.<br>
<br>
So my question is, can someone help me to start writing a new source element<br>
with 2 src pads or give me a starting point ?<br>
<br>
Thanks<br>
<br>
BR<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Multiple-pad-src-element-tp4655662.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Multiple-pad-src-element-tp4655662.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>