mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
video: fix unpack_Y410
It should handle data starting from x
This commit is contained in:
parent
4ab04e5dea
commit
a6afa88812
1 changed files with 2 additions and 0 deletions
|
@ -899,6 +899,8 @@ unpack_Y410 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
|
|||
guint32 AVYU;
|
||||
guint16 A, Y, U, V;
|
||||
|
||||
s += x * 4;
|
||||
|
||||
for (i = 0; i < width; i++) {
|
||||
AVYU = GST_READ_UINT32_LE (s + 4 * i);
|
||||
|
||||
|
|
Loading…
Reference in a new issue