ximagesink fails to allocate buffer size for greater than 4kx2k resolution
Submitted by swapnil
When tried to decode jpeg image with following pipeline,
gst-launch-1.0 filesrc location=
<4kx2k jpeg file> ! jpegdec ! videoconvert ! ximagesink
Below error was thrown.
ERROR: from element /GstPipeline:pipeline0/GstXImageSink:ximagesink0: Failed to create output image buffer of 4064x2704 pixels
Additional debug info:
ximagepool.c(401): ximage_memory_alloc (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
could not get shared memory of 43956224 bytes
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Resolution of the image to be decoded was 4064x2704.