How to implement videooverlay interface in kmssink

Víctor M. Jáquez L. vjaquez at igalia.com
Mon Jun 26 07:44:33 UTC 2017


On 06/25/17 at 02:57pm, Nicolas Dufresne wrote:
> 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.

A bit off-topic: I wonder if there is DRM capability to query if the driver
supports scaling, rather than the trial-and-error we have now.

> 
> 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
> >

> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list