[vlc-commits] Reset the number of fields to 2 after deinterlacing.
Laurent Aimar
git at videolan.org
Sun Feb 20 18:28:51 CET 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Feb 20 17:57:39 2011 +0100| [8f4d34b49c719581622dbca708f92ea81221156d] | committer: Laurent Aimar
Reset the number of fields to 2 after deinterlacing.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8f4d34b49c719581622dbca708f92ea81221156d
---
modules/video_filter/deinterlace.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
index f7cb839..64cf7f1 100644
--- a/modules/video_filter/deinterlace.c
+++ b/modules/video_filter/deinterlace.c
@@ -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 )
{
if( p_dst[i] )
+ {
p_dst[i]->b_progressive = true;
+ p_dst[i]->i_nb_fields = 2;
+ }
}
picture_Release( p_pic );
More information about the vlc-commits
mailing list