From: <sl...@ke...> - 2009-06-23 15:52:45
|
Module: gst-plugins-good Branch: master Commit: 20668a07825c727c321b410857c598151f0293e5 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=20668a07825c727c321b410857c598151f0293e5 Author: Sebastian Dröge <seb...@co...> Date: Tue Jun 23 17:48:47 2009 +0200 deinterlace: Copy the correct line from correct place in the history --- gst/deinterlace/tvtime/greedyh.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/gst/deinterlace/tvtime/greedyh.c b/gst/deinterlace/tvtime/greedyh.c index 5d050ce..860e8f3 100644 --- a/gst/deinterlace/tvtime/greedyh.c +++ b/gst/deinterlace/tvtime/greedyh.c @@ -279,7 +279,8 @@ deinterlace_frame_di_greedyh (GstDeinterlaceMethod * d_method, Pitch; // copy first even line - oil_memcpy (Dest, GST_BUFFER_DATA (object->field_history[0].buf), + oil_memcpy (Dest, + GST_BUFFER_DATA (object->field_history[object->history_count - 2].buf), object->row_stride); Dest += object->row_stride; // then first odd line |