changing autovideosink's actual sinks at runtime

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

changing autovideosink's actual sinks at runtime

Mohan R
Hi,

I believe we use some kind of ranking to decide the actual sink of
autovideosink. For Eg,

autovideosink = cluttersink > xvimagesink

Is there any way to change the autovideosink=xvimagesink even at the
presence cluttersink?

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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: changing autovideosink's actual sinks at runtime

Nicolas Dufresne-4
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment