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

Akshay V vvaakshay at gmail.com
Thu Jan 9 17:05:26 CET 2020


On Thu, Jan 9, 2020 at 6:26 PM Alexandre Janniaux <ajanni at videolabs.io>
wrote:

> 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
>
> What do mean by this link? vlc_player_vout_SetFullscreen() calls
vlc_player_vout_SetVar() function for execution.


> 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
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



-- 
Regards,
Akshay V
GitHub <http://github.com/akshayaky> | Amrita Vishwa Vidyapeetham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200109/8bc7bf4f/attachment.html>


More information about the vlc-devel mailing list