mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
video-blend: fix allocation of temp src line for wide sources
Fix allocation of temporary source line buffers for source images that are wider than the video overlay surface.
This commit is contained in:
parent
07f254e4b2
commit
2fae23c318
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ gst_video_blend (GstVideoFrame * dest,
|
|||
goto unpack_format_not_supported;
|
||||
|
||||
tmpdestline = g_malloc (sizeof (guint8) * (dest_width + 8) * 4);
|
||||
tmpsrcline = g_malloc (sizeof (guint8) * (dest_width + 8) * 4);
|
||||
tmpsrcline = g_malloc (sizeof (guint8) * (src_width + 8) * 4);
|
||||
|
||||
matrix = matrix_identity;
|
||||
if (GST_VIDEO_INFO_IS_RGB (&src->info) != GST_VIDEO_INFO_IS_RGB (&dest->info)) {
|
||||
|
|
Loading…
Reference in a new issue