Autopluggable Decryptor Element

Sebastian Dröge sebastian at centricular.com
Wed Feb 12 11:35:31 PST 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140212/8f1e479f/attachment.pgp>


More information about the gstreamer-devel mailing list