Permalink
Browse files

Mirror cleanup

  • Loading branch information...
1 parent f53188e commit 810c66982cfe8ad0eeccd4fb239bc53bb90295a0 @jliljebl jliljebl committed May 7, 2014
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/modules/core/filter_mirror.c
@@ -298,10 +298,10 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format
/** Filter processing.
*/
-static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
+static mlt_frame filter_process( mlt_filter filter, mlt_frame frame )
{
// Push the service on to the stack
- mlt_frame_push_service( frame, this );
+ mlt_frame_push_service( frame, filter );
// Push the filter method on to the stack
mlt_frame_push_service( frame, filter_get_image );
@@ -315,22 +315,22 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
mlt_filter filter_mirror_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
{
// Construct a new filter
- mlt_filter this = mlt_filter_new( );
+ mlt_filter filter = mlt_filter_new( );
// If we have a filter, initialise it
- if ( this != NULL )
+ if ( filter != NULL )
{
// Get the properties
- mlt_properties properties = MLT_FILTER_PROPERTIES( this );
+ mlt_properties properties = MLT_FILTER_PROPERTIES( filter );
// Set the default mirror type
mlt_properties_set_or_default( properties, "mirror", arg, "horizontal" );
// Assign the process method
- this->process = filter_process;
+ filter->process = filter_process;
}
// Return the filter
- return this;
+ return filter;
}

0 comments on commit 810c669

Please sign in to comment.