[vlc-devel] [PATCH] libvlc: inherit avcodec-hw so it can be forced in libvlc_new()
remi at remlab.net
Thu Aug 27 16:07:24 CEST 2015
On Thursday 27 August 2015 11:45:08 Steve Lhomme wrote:
> For the record, we don't need the inheritance for the media player. We
> just need to pass the parameter as follows:
> libvlc_media_add_option(m, ":avcodec-hw=d3d11va");
What could possibly go wrong with that?
- the decoder is reparented from input to input manager or whatever else,
- the plugin is renamed (e.g. DirectX 12 comes out),
- the name of the variable changes,
- the syntax changes,
- another better plugin is added,
Don´t come whining if it ever breaks in the future.
More information about the vlc-devel