<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">Sebastian Dröge-3 wrote</div>
<div class="quote-message">
On Mi, 2014-02-12 at 03:42 -0800, MartinK wrote:
> Hi again Sebastian.

> Thanks for your quick reply.
> We are using a qml for our media player and so we are constrained to use
> gstreamer 0.10 at least for our first release.

> Given that the decryptor produces output at the highest level, i.e. mp4 or
> avi, what caps string should I use to represent that?
> Sorry if that's a dumb question but I am not experienced in video formats. I
> assume I should set the caps in the static pad template for the src pad and
> that will suffice.

The input (sinkpad) caps of the decryptor should be some special caps
that only your element handles, e.g. application/x-martins-encryption :)
The output (srcpad) caps should be what the typefinder tells you, e.g.
video/quicktime for MP4.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
<a href="/user/SendEmail.jtp?type=node&node=4665230&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


signature.asc (968 bytes) <http://gstreamer-devel.966125.n4.nabble.com/attachment/4665219/0/signature.asc>
</div>
</div></blockquote>



Thanks again for that.
The problem though is that the gst_typefind_helper_for_buffer() function needs to be called in the decryptor's chain function
so it has a buffer to work with ; but the chain function never gets called because of the infinite pipeline building. It's a catch 22. Can you think of any way round that?


Regards,   Martin.

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Autopluggable-Decryptor-Element-tp4665189p4665230.html">Re: Autopluggable Decryptor Element</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>