mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
agingtv: fix memcpy when no color aging requested.
video_size is the size in pixels, actual size of the memcpy has to be stride * height.
This commit is contained in:
parent
eb1dcd841a
commit
a5694b213a
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ gst_agingtv_transform_frame (GstVideoFilter * filter, GstVideoFrame * in_frame,
|
|||
if (agingtv->color_aging)
|
||||
coloraging (src, dest, video_size, &agingtv->coloraging_state);
|
||||
else
|
||||
memcpy (dest, src, video_size);
|
||||
memcpy (dest, src, stride * height);
|
||||
|
||||
scratching (agingtv->scratches, agingtv->scratch_lines, dest, width, height);
|
||||
if (agingtv->pits)
|
||||
|
|
Loading…
Reference in a new issue