mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
deinterlace: Copy the correct line from correct place in the history
This commit is contained in:
parent
81d7a297f7
commit
20668a0782
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue