deinterlace: Copy the correct line from correct place in the history

This commit is contained in:
Sebastian Dröge 2009-06-23 17:48:47 +02:00
parent 81d7a297f7
commit 20668a0782

View file

@ -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