[vlc-devel] [PATCH] Added hotkey for video transformation. Pressing Ctrl+Alt+r the user can navigate through the available transformation modes.

Stefanos Orovas stef.orovas at gmail.com
Tue Feb 11 00:44:38 CET 2014


>
> > Is it possible to change "transform-type" value using var_SetString() ?
>
> Yes.
>

I tried but didn't get a result. Can you please provide me more info?

> +             config_PutPsz( p_intf, "transform-type", transform_type );
> > +             config_PutPsz( p_intf, "video-filter", psz_string );
>
> As pointed out previously, this would clobber the user configuration.
> Please stick to var_*().
>

I see in file modules/gui/qt4/components/extended_panels.cpp that the
"transform-type" changes by using config_PutPsz() (when user selects it
from the dropdown menu in settings) but you mentioned that i shouldn't use
this function. Why is it wrong to use it on the hotkey?




2014-02-05 17:40 GMT+02:00 Rémi Denis-Courmont <remi at remlab.net>:

> On Wed, 5 Feb 2014 17:39:24 +0200, Stefanos Orovas <stef.orovas at gmail.com>
> wrote:
> >>
> >> > +             config_PutPsz( p_intf, "transform-type", transform_type
> >> > );
> >> > +             config_PutPsz( p_intf, "video-filter", psz_string );
> >>
> >> As pointed out previously, this would clobber the user configuration.
> >> Please stick to var_*().
> >
> >
> > Is it possible to change "transform-type" value using var_SetString() ?
>
> Yes.
>
> --
> Rémi Denis-Courmont
> Sent from my collocated server
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140211/c92d0950/attachment.html>


More information about the vlc-devel mailing list