[vlc-devel] [PATCH] vout: Update vlc_player_vout_SetVar to fix fullscreen toggle hotkey

Alexandre Janniaux ajanni at videolabs.io
Thu Jan 9 13:56:53 CET 2020


Hi,
On Thu, Jan 09, 2020 at 05:55:23PM +0530, Akshay V wrote:

> I checked and only the addition of the first line
> var_SetChecked(player, name, type, val);
> would do the job.

I mean that you're not supposed to use variables to control
the video pipeline anymore in 4.0, and they are other
helpers out there like the following:

https://www.videolan.org/developers/vlc/doc/doxygen/html/group__vlc__player____vout.html#ga08a37f0e393d951493856b94cc9323f7

If those helpers are not doing what you want, or if they
are not used instead of variables, that is the issue you'll
likely want to solve instead of setting a variable on every
vout available, which will break other things.

I hope this is clearer.

Regards,
--
Alexandre Janniaux
Videolabs


More information about the vlc-devel mailing list