v4l2object: Pool might be NULL in decide allocation
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 3 Jul 2014 19:21:18 +0000 (15:21 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 3 Jul 2014 19:30:01 +0000 (15:30 -0400)
commit0126e756769b9af7d8309eb582c11ea249434f3e
treed47d2299ab59751becc2bad64f69caf1b80e70c5
parent3f15e6792312354e70cc4d550555e69fc15c7d8f
v4l2object: Pool might be NULL in decide allocation

If special stride is needed and downstream don't support VideoMeta,
pool might be NULL in order to let the baseclass create a generic
pool­. This would lead to assertion with on Exynos with:

gst-launch-1.0 -v filesrc location=mov ! qtdemux ! h264parse ! \
                    v4l2video8dec ! fakesink

https://bugzilla.gnome.org/show_bug.cgi?id=732707
sys/v4l2/gstv4l2object.c