video fullscreen
Nicolas Dufresne
nicolas.dufresne at collabora.com
Wed Jul 9 11:38:56 PDT 2014
Le mercredi 09 juillet 2014 à 19:53 +0200, Marco Trapanese a écrit :
> Il 09/07/2014 19:47, Nicolas Dufresne ha scritto:
> > Just set your window background color to opaque black instead of
> > transparent. Not fully sure how that is handle in QT, but I'm sure
> > you'll figure-out. glimagesink will keep aspect ratio right, so you'll
> > get borders as you notice, but it won't deal with the background, it's
> > the application choice. Nicolas
>
>
> Hi,
> I have no application's window.
> I just create the pipeline and I let the video-sink to create the
> "window" itself. I think it draws on the framebuffer directly.
>
> So I can't set any background. It should be possible to force the width
> and height (and aspect ratio) of a vide-sink.
Stretching a video this way would break aspect ratio. Again, it's
application role to set a background. You have multiple options,
allocate an empty VT, and clear the framebuffer, or create you down
DISPMANX window, set it up the way you want and pass it to glimagesink.
Nicolas
More information about the gstreamer-devel
mailing list