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:
f00bbd2
)
xvimagesink: only error out if the allocated memory is too small
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 18 Jul 2016 13:20:11 +0000
(14:20 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 18 Jul 2016 13:20:11 +0000
(14:20 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=767712
sys/xvimage/xvimageallocator.c
patch
|
blob
|
history
diff --git
a/sys/xvimage/xvimageallocator.c
b/sys/xvimage/xvimageallocator.c
index
47c7da0
..
3a2728c
100644
(file)
--- a/
sys/xvimage/xvimageallocator.c
+++ b/
sys/xvimage/xvimageallocator.c
@@
-443,7
+443,7
@@
gst_xvimage_allocator_alloc (GstXvImageAllocator * allocator, gint im_format,
expected_size = padded_height * GST_ROUND_UP_4 (padded_width *
GST_VIDEO_FORMAT_INFO_PSTRIDE (info->finfo, 0));
}
- if (expected_size != 0 && mem->xvimage->data_size
!=
expected_size)
+ if (expected_size != 0 && mem->xvimage->data_size
<
expected_size)
goto unexpected_size;
/* Be verbose about our XvImage stride */