* transform.c : transform image plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: transform.c,v 1.7 2002/02/24 20:51:09 gbazin Exp $
+ * $Id: transform.c,v 1.8 2002/03/11 07:23:09 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
/* Look what method was requested */
if( !(psz_method = psz_method_tmp
- = config_GetPszVariable( VOUT_FILTER_VAR )) )
+ = config_GetPszVariable( "filter" )) )
{
intf_ErrMsg( "vout error: configuration variable %s empty",
- VOUT_FILTER_VAR );
+ "filter" );
return( 1 );
}
p_vout->output.i_aspect = p_vout->render.i_aspect;
/* Try to open the real video output */
- psz_filter = config_GetPszVariable( VOUT_FILTER_VAR );
- config_PutPszVariable( VOUT_FILTER_VAR, NULL );
+ psz_filter = config_GetPszVariable( "filter" );
+ config_PutPszVariable( "filter", NULL );
intf_WarnMsg( 1, "filter: spawning the real video output" );
p_vout->render.i_chroma, p_vout->render.i_aspect );
}
- config_PutPszVariable( VOUT_FILTER_VAR, psz_filter );
+ config_PutPszVariable( "filter", psz_filter );
if( psz_filter ) free( psz_filter );
/* Everything failed */