I'm confused with libvlc_media_add_option. This is documentation:
Add an option to the media.
This option will be used to determine how the media_player will read the media. This allows to use VLC's advanced reading/streaming options on a per-media basis.
The options are detailed in vlc --long-help, for instance "--sout-all"
If I add
Code: Select all
libvlc_media_add_option(media, "--ffmpeg-hw")
Code: Select all
libvlc_media_add_option(media, "ffmpeg-hw")
But, when I try to add
Code: Select all
libvlc_media_add_option(media, "aspect-ratio=16:9")
I know that this must be simple, what am I missing?