changing autovideosink's actual sinks at runtime
Nicolas Dufresne
nicolas.dufresne at gmail.com
Sat Jun 25 15:13:21 UTC 2016
Le samedi 25 juin 2016 à 07:27 +0530, MohanR a écrit :
> Hi,
>
> I believe we use some kind of ranking to decide the actual sink of
> autovideosink. For Eg,
>
> autovideosink = cluttersink > xvimagesink
You seem to have local hack, since xvimagesink is primary rank, while
cluttersink is marginal. cluttersink shouldn't be picked by
autovideosink in un-modified builds. It also does not support being
embedded into X11 application, so it's ill advise to rank it higher
then marginal.
>
> Is there any way to change the autovideosink=xvimagesink even at the
> presence cluttersink?
You can always edit the ranks inside your application. Use GstRegistry
to find the GstPluginFeature, and modify it
(gst_plugin_feature_set_rank()).
>
> I tried renaming libgstclutter*.so* and autovideosink picked
> xvimagesink correctly, but I think this is not the right approach.
>
> Is there any way to change the priority during runtime?
>
> Thanks,
> Mohan R
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160625/b4a6b2c7/attachment.sig>
More information about the gstreamer-devel
mailing list