* Preamble
*****************************************************************************/
-#include <math.h> /* sin(), cos() */
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* sin(), cos() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
/* Allocate structure */
p_filter->p_sys = malloc( sizeof( filter_sys_t ) );
if( p_filter->p_sys == NULL )
- {
- msg_Err( p_filter, "out of memory" );
return VLC_ENOMEM;
- }
p_sys = p_filter->p_sys;
config_ChainParse( p_filter, FILTER_PREFIX, ppsz_filter_options,
}
}
- return CopyMetaAndRelease( p_outpic, p_pic );
+ return CopyInfoAndRelease( p_outpic, p_pic );
}
/*****************************************************************************
else
{
p_out[i_line*i_pitch+2*i_col] = 0x00;
- i_col_orig /= 2;
p_out_u[i_line*i_pitch+2*i_col] = 0x80;
p_out_v[i_line*i_pitch+2*i_col] = 0x80;
}
}
}
- return CopyMetaAndRelease( p_outpic, p_pic );
+ return CopyInfoAndRelease( p_outpic, p_pic );
}
/*****************************************************************************