mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
videobox: Fix AYUV->I420 frame copying
This commit is contained in:
parent
10f092dc61
commit
2873c3ad6b
1 changed files with 2 additions and 2 deletions
|
@ -222,10 +222,10 @@ copy_ayuv_i420 (guint i_alpha, guint8 * dest, gboolean dest_sdtv,
|
|||
src = src + src_y * src_width * 4 + src_x * 4;
|
||||
|
||||
widthY = w;
|
||||
widthUV = (w + 1) / 2;
|
||||
widthUV = w / 2;
|
||||
|
||||
hY = h;
|
||||
hUV = (h + 1) / 2;
|
||||
hUV = h / 2;
|
||||
|
||||
if (src_sdtv != dest_sdtv) {
|
||||
gint matrix[12];
|
||||
|
|
Loading…
Reference in a new issue