From 29111fa1f8208c3ae1896d5934e5a2ff5839aa98 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Fri, 15 May 2009 11:50:38 +0200 Subject: deinterlace: First try to handle DVD still frames correctly This helps a bit with bug #582740 but still doesn't make it work. --- gst/deinterlace/gstdeinterlace.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gst/deinterlace/gstdeinterlace.h') diff --git a/gst/deinterlace/gstdeinterlace.h b/gst/deinterlace/gstdeinterlace.h index d4bbf0bb..9d5b3b9a 100644 --- a/gst/deinterlace/gstdeinterlace.h +++ b/gst/deinterlace/gstdeinterlace.h @@ -225,6 +225,14 @@ struct _GstDeinterlace GstPicture field_history[MAX_FIELD_HISTORY]; guint history_count; + /* Set to TRUE if we're in still frame mode, + i.e. just forward all buffers + */ + gboolean still_frame_mode; + + /* Last buffer that was pushed in */ + GstBuffer *last_buffer; + /* Number of bytes of actual data in each scanline. May be less than OverlayPitch since the overlay's scanlines might have alignment requirements. Generally equal to FrameWidth * 2. -- cgit