decodebin2 and plugins
Sebastian Dröge
sebastian.droege at collabora.co.uk
Mon Sep 5 04:44:24 PDT 2011
On Mon, 2011-09-05 at 13:16 +0200, Steffen.Roeber at hella.com wrote:
>
> Hi,
> I tried to create a decoder for our native avi files. But I cannot
> find an example of how to use it, so that decodebin2 does regconize it
> as a valid decoder plugin. Can anybody help me?
You have to give it a rank >= GST_RANK_MARGINAL and add "Decoder" to the
element factory classification. The decoder element with the highest
rank that accepts the stream's caps will be selected by decodebin2.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110905/367bbc0e/attachment.pgp>
More information about the gstreamer-devel
mailing list