uploadelement: Protect against NULL pointer
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 16 Jul 2015 20:47:05 +0000 (16:47 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 16 Jul 2015 21:05:36 +0000 (17:05 -0400)
commit04beac6e0f14879415e4eab963f61933e8e2ae02
tree587595c9d05084b431d198247a58666fd2f1bd6a
parentfecef40463879ee8402bd21a25acff05c2c4cc2d
uploadelement: Protect against NULL pointer

I notice that if you stop the pipeline during a renegotiation
the upload may be NULL while an allocation query is being run.
In that scenario, returning FALSE to the allocation query is the
best thing.
ext/gl/gstgluploadelement.c