[vlc-devel] [PATCH] libvlc: inherit avcodec-hw so it can be forced in libvlc_new()

Steve Lhomme robux4 at gmail.com
Thu Aug 27 11:45:08 CEST 2015

On Mon, Aug 3, 2015 at 2:32 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-08-03 13:19, Steve Lhomme a écrit :
>> Do you have a solution to the original problem that (also) work ?
> All I have is what the X11 port does.
>> If I pass "--avcodec-hw=d3d11va" it isn't applied, because the value
>> used comes from the media player object (created as "" without the
>> inherit), not its parent where we set the value.
> From a quick recollection, the CLI syntax for hardware acceleration has
> changed 4-6 times depending how you count. Passing directly it in
> libvlc_new()... what could possibly go wrong...

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");

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list