GNOME Bugzilla – Bug 770772
glupload: 91fea30ff4 makes android tutorial 5 crash on Galaxy S6
Last modified: 2016-10-31 14:31:14 UTC
This is a regression, it causes a segfault inside _gl_memory_upload_transform_caps ()
Do you have a backtrace? Where does it crash and why?
This is because the upload element removes and nullifies the upload object in _stop() but doesn't recreate it anywhere after the element's instance _init().
Is this fixed by commit c16d57cc9a64f1aeaa20ac079feb21f33893224d Author: Alessandro Decina <alessandro.d@gmail.com> Date: Mon Sep 5 14:44:24 2016 +1000 glupload: create the GstGLUpload object in ::transform_caps Previously it was created in the init function and destroyed in ::stop, which lead to segfaults when reusing the element. Now the upload object is created in ::transform_caps if it is NULL, which is the earliest we need it. The other vfuncs already bail out if the upload object is NULL, which means that negotiation wasn't done. by any chance?
Yes