mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
video-format: Shift correctly when packing I420_12BE
This commit is contained in:
parent
eda8bd4de1
commit
ce9bac465a
1 changed files with 1 additions and 1 deletions
|
@ -3501,7 +3501,7 @@ pack_I420_12BE (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
|
|||
}
|
||||
} else {
|
||||
for (i = 0; i < width; i++) {
|
||||
Y0 = s[i * 4 + 1] >> 6;
|
||||
Y0 = s[i * 4 + 1] >> 4;
|
||||
GST_WRITE_UINT16_BE (dy + i, Y0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue