I have the following case:<br><br>

A->B->C<br><br>

Element 'B' is my audio decoder and i have '<b>handle_frame</b>' handler implemented on it.<br><br>
At the end of that handle_frame function I call <b>gst_audio_decoder_finish_frame()</b>. That call will trigger the '<b>query</b>' handler implemented on the sink 'C'.<br><br> At the moment I (assume incorrectly) handle the 'query' request in a way that I prepare everything on the sink 'C' like this is a connection request, not just a query. What I would like to do is to simply check in 'query' handler if 'C' sink can accept the type queried for and return. Then I would like to receive that information in the element B and if it was successful, I want to issue some sort of "connect_requst", but I don't know enough about GStreamer's internals to do that.<br><br>

Can somebody help me with that?




        
        
        
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>