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:
0feecef
)
video: fix A420 size calculation
author
Tim-Philipp Müller
<tim@centricular.net>
Sat, 22 Dec 2012 21:04:11 +0000
(21:04 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 22 Dec 2012 21:04:11 +0000
(21:04 +0000)
gst-libs/gst/video/video-info.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-info.c
b/gst-libs/gst/video/video-info.c
index
a929fee
..
8fa5d05
100644
(file)
--- a/
gst-libs/gst/video/video-info.c
+++ b/
gst-libs/gst/video/video-info.c
@@
-506,7
+506,7
@@
fill_planes (GstVideoInfo * info)
info->stride[1] * (GST_ROUND_UP_2 (height) / 2);
info->offset[3] = info->offset[2] +
info->stride[2] * (GST_ROUND_UP_2 (height) / 2);
- info->size = info->offset[3] + info->stride[0];
+ info->size = info->offset[3] + info->stride[0]
* GST_ROUND_UP_2 (height)
;
break;
case GST_VIDEO_FORMAT_YUV9:
case GST_VIDEO_FORMAT_YVU9: