Autoplugging
Sebastian Dröge
sebastian at centricular.com
Mon Oct 28 23:08:03 CET 2013
On Mo, 2013-10-28 at 15:04 +0200, Tonu Jaansoo wrote:
> Hello!
>
> Can I force decodebin to not to autoplug a video decoding pipeline? When "sometimes" video srcpad on decodebin is left unlinked, video frames are still decoded.
> I want to get audio/x-raw only.
Check the "caps" property on decodebin/uridecodebin to select the raw
caps at which it stops autoplugging. Or alternatively the autoplug-*
signals, which allow complete control over the autoplugging that happens
inside decodebin. For example you can just expose all video/* caps in
autoplug-continue, which would then make sure no video decoders are ever
plugged.
--
Sebastian Dröge <sebastian at centricular.com>
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: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131028/594d1a89/attachment.pgp>
More information about the gstreamer-devel
mailing list