Decodebin query (autoplug externally created elements)
YS Kim
ystoto at gmail.com
Wed May 6 16:57:29 PDT 2015
Hi
How about adding new callback which can be called instead of factory_create
inside decodebin?
I think this has more extensible than adding enum.
GstElement* el;
if (callback)
el = callback(name, ...);
else
el = factory_create();
Now, you can do anyhing in callback, avoid or jus use pre-created.
2015. 5. 6. 오후 12:28에 "ruchikachaddha" <ruchika.chaddha at gmail.com>님이 작성:
> Thanks Tim for your advice.
> Would this also work if the intension is simply to avoid factory_create
> inside encodebin for a particular factory? In my context, factory_create
> initializes hardware decoder which I want to avoid doing inside decodebin
> for some reason.
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Decodebin-query-autoplug-externally-created-elements-tp4671790p4671802.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150507/f02c2008/attachment.html>
More information about the gstreamer-devel
mailing list