[vlc-devel] Call rotate filter in the source code

Jan Pokorny pokorj at gmail.com
Fri Feb 22 20:40:31 CET 2013


Thanks, therefore something like

config_PutPsz( p_vout, "angle", "90" );
var_SetString( p_vout, "video-filter", "rotate" );

will rotate the video by 90 degrees? I deduced this from motion.c
where the transform filter is called instead...
(the code above does not work, but I'd like to know whether I'm
getting any close..)

On Fri, Feb 22, 2013 at 4:27 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> On Fri, 22 Feb 2013 16:00:27 +0100, Jan Pokorny <pokorj at gmail.com> wrote:
>> Hi guys,
>>
>> I am supposed to enable rotating the video with a hotkey (fix bug
>> #5261 - part of the semestral project). I can see that I should create
>> an action in hotkeys.c and call the filtering from there, but I really
>> have no clue how to call the rotate filter from there...could you
>> please give me any hint?
>
> You have to use the video output object to change its video filter
> configuration.
>
> --
> Rémi Denis-Courmont
> Sent from my collocated server
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list