Commit 8f4d34b4 authored by Laurent Aimar's avatar Laurent Aimar

Reset the number of fields to 2 after deinterlacing.

parent c4e60a07
...@@ -1856,7 +1856,10 @@ static picture_t *Deinterlace( filter_t *p_filter, picture_t *p_pic ) ...@@ -1856,7 +1856,10 @@ static picture_t *Deinterlace( filter_t *p_filter, picture_t *p_pic )
for( int i = 1; i < DEINTERLACE_DST_SIZE; ++i ) for( int i = 1; i < DEINTERLACE_DST_SIZE; ++i )
{ {
if( p_dst[i] ) if( p_dst[i] )
{
p_dst[i]->b_progressive = true; p_dst[i]->b_progressive = true;
p_dst[i]->i_nb_fields = 2;
}
} }
picture_Release( p_pic ); picture_Release( p_pic );
......
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