[vlc-commits] Set nb_fields to 2 for p_dst[0], too

Juha Jeronen git at videolan.org
Tue Apr 5 20:04:25 CEST 2011


vlc | branch: master | Juha Jeronen <juha.jeronen at jyu.fi> | Wed Mar 30 00:00:48 2011 +0300| [542f25d1b318ee3aee25e4d54d1b41e1207eb74f] | committer: Laurent Aimar

Set nb_fields to 2 for p_dst[0], too

Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=542f25d1b318ee3aee25e4d54d1b41e1207eb74f
---

 modules/video_filter/deinterlace.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
index 2a9c4ef..15ae38e 100644
--- a/modules/video_filter/deinterlace.c
+++ b/modules/video_filter/deinterlace.c
@@ -2563,8 +2563,7 @@ static picture_t *Deinterlace( filter_t *p_filter, picture_t *p_pic )
         }
     }
 
-    p_dst[0]->b_progressive = true;
-    for( int i = 1; i < DEINTERLACE_DST_SIZE; ++i )
+    for( int i = 0; i < DEINTERLACE_DST_SIZE; ++i )
     {
         if( p_dst[i] )
         {



More information about the vlc-commits mailing list