[vlc-devel] [PATCH v4 1/7] libvlc: allow selecting the video hardware acceleration
remi at remlab.net
Fri Mar 13 16:45:57 CET 2020
Le perjantaina 13. maaliskuuta 2020, 14.28.32 EET Steve Lhomme a écrit :
> Pass a string matching one of the decoder device strings.
That's moving the problem. Now somebody hard-codes a string value, ends up
breaking portability to other platforms or to future versions. And this is not
a theoretical problem. I've seen a number of LibVLC app devs device to force
acceleration on or off under false impressions.
If you make a LibVLC app for embedded devices, then sure, by all means, fine
tune hardware acceleration, or really anything you want, to the hardware.
Though that probably does not belong in the official upstream.
But if you're not doing "embedded", but just regular software for installation
on hardware not in your control, then you really should not touch this. LibVLC
might not know perfectly well what acceleration to use or not to use, but it
knows better than you.
More information about the vlc-devel