Commit 9de638bb authored by Pierre Ynard's avatar Pierre Ynard

motion: don't override permanent configuration

Use a variable on the vout object instead to control the transform filter
parent 8988608d
...@@ -163,9 +163,9 @@ static void RunIntf( intf_thread_t *p_intf ) ...@@ -163,9 +163,9 @@ static void RunIntf( intf_thread_t *p_intf )
p_vout = input_GetVout( p_input ); p_vout = input_GetVout( p_input );
if( p_vout ) if( p_vout )
{ {
#warning FIXME: do not override the permanent configuration!
#warning FIXME: transform-type does not exist anymore #warning FIXME: transform-type does not exist anymore
config_PutPsz( p_vout, "transform-type", psz_type ); var_Create( p_vout, "transform-type", VLC_VAR_STRING );
var_SetString( p_vout, "transform-type", psz_type );
var_SetString( p_vout, "video-filter", psz_filter ); var_SetString( p_vout, "video-filter", psz_filter );
vlc_object_release( p_vout ); vlc_object_release( p_vout );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment