]> git.sesse.net Git - mlt/commitdiff
fix regression on deinterlace in a multitrack with tractor
authorDan Dennedy <dan@dennedy.org>
Sun, 16 Sep 2012 18:21:54 +0000 (11:21 -0700)
committerDan Dennedy <dan@dennedy.org>
Sun, 16 Sep 2012 18:21:54 +0000 (11:21 -0700)
src/modules/xine/filter_deinterlace.c

index 802ec75e8432164b7bdc7fe9b462bbd3bc97983e..d86f938e88d047f6064c4a9498844cd37fb1aa26 100644 (file)
@@ -244,6 +244,7 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format
                        if ( !error && !progressive )
                        {
                                // OK, now we know we have work to do and can request the image in our format
+                               while( mlt_deque_pop_back( MLT_FRAME_IMAGE_STACK( frame ) ) );
                                *format = mlt_image_yuv422;
                                error = mlt_frame_get_image( frame, image, format, width, height, writable );