How to implement videooverlay interface in kmssink

Nicolas Dufresne nicolas at ndufresne.ca
Sun Jun 25 18:57:54 UTC 2017


This interface only make sense for DRM driver that can scale. Then it's
just a matter of implementing a refresh independent of upstream caps.
Set_render_rectangle is not expected to depend on renegotiation.

Le 23 juin 2017 1:59 AM, "jared Hu" <jared.hu at nxp.com> a écrit :

> I’m trying to implement videooverlay interface in kmssink.
>
> My solution is like ximagesink. In set_render_rectangle, I record this user
> input size and position. In expose, I send a renconfigure event upstream to
> strat a negotiation. In get_caps, return the fix size caps to peer plugin.
> This can work when playing. But in pause state, I can not show the resize
> frame immediately because the caps renegotiate will not start until next
> buffer push down.
>
> Does anyone has some advice for me to solve this problem.
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.
> n4.nabble.com/How-to-implement-videooverlay-interface-in-kmssink-
> tp4683510.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170625/966b9663/attachment.html>


More information about the gstreamer-devel mailing list