summaryrefslogtreecommitdiffstats
path: root/gst/deinterlace/gstdeinterlace.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-15 11:50:38 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-06-04 20:35:35 +0200
commit29111fa1f8208c3ae1896d5934e5a2ff5839aa98 (patch)
tree76f543fc52378b81c91a320df83f1372a6a9f50a /gst/deinterlace/gstdeinterlace.h
parent85ba1b3e6a7af72c74d1ed788bb9f9bf0537fabf (diff)
deinterlace: First try to handle DVD still frames correctly
This helps a bit with bug #582740 but still doesn't make it work.
Diffstat (limited to 'gst/deinterlace/gstdeinterlace.h')
-rw-r--r--gst/deinterlace/gstdeinterlace.h8
1 files changed, 8 insertions, 0 deletions
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.