Navigation Menu

Skip to content

Commit

Permalink
Field order override is handled in fieldorder filter now.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Feb 12, 2013
1 parent 2248697 commit bb443e8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/modules/core/filter_crop.c
Expand Up @@ -96,13 +96,6 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format
mlt_log_debug( NULL, "[filter crop] %s %dx%d -> %dx%d\n", mlt_image_format_name(*format),
*width, *height, owidth, oheight);

// Provides a manual override for misreported field order
if ( mlt_properties_get( properties, "meta.top_field_first" ) )
{
mlt_properties_set_int( properties, "top_field_first", mlt_properties_get_int( properties, "meta.top_field_first" ) );
mlt_properties_set_int( properties, "meta.top_field_first", 0 );
}

if ( top % 2 )
mlt_properties_set_int( properties, "top_field_first", !mlt_properties_get_int( properties, "top_field_first" ) );

Expand Down

0 comments on commit bb443e8

Please sign in to comment.