[vlc-devel] [PATCH] vaapi: refactor display handling

Mathieu Velten matmaul at gmail.com
Wed Jun 28 22:06:31 CEST 2017

Le mer. 28 juin 2017 à 21:47, Rémi Denis-Courmont <remi at remlab.net> a
écrit :

> Le keskiviikkona 28. kesäkuuta 2017, 21.22.06 EEST Mathieu Velten a écrit :
> > The code to initiate the VADisplay has been moved in hw/vaapi.
> > You can use --vaapi-display-type to force a type of display.
> The display type is normally chosen by the vout window provider; the
> semantics
> of that option do not seem to make much sense.
> Also the VA-DRM module shall not depend on X11. This patch is a regression.
> Nack.

Then what do you think about:
- removing the code regarding VADisplay initialisation from the init of the
gl vaapi converter
- fetch it later just before the first conversion through the existing
instance singleton
At this point it should have been already initialized by one of the avcodec
hw plugin.

The goal is to keep the DRM decoder unlinked fron X11/Wayland for headless
mode right ?
Is it a problem if I link the DRM logic with the normal plugin ?
Then we can use DRM in DR mode and the user can just select between DR,
Normal, DRM (headless).

> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170628/55248e87/attachment.html>

More information about the vlc-devel mailing list