projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab04e5
)
video: fix unpack_Y410
author
Haihao Xiang
<haihao.xiang@intel.com>
Mon, 25 Mar 2019 07:05:48 +0000
(15:05 +0800)
committer
Haihao Xiang
<haihao.xiang@intel.com>
Tue, 26 Mar 2019 02:24:35 +0000
(10:24 +0800)
It should handle data starting from x
gst-libs/gst/video/video-format.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-format.c
b/gst-libs/gst/video/video-format.c
index
fe587fa
..
160b234
100644
(file)
--- a/
gst-libs/gst/video/video-format.c
+++ b/
gst-libs/gst/video/video-format.c
@@
-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);