This manifests, occasionally, during pipeline reconstruction. If I run the app with GST_DEBUG=6 then the failure happens much faster ( at the second - third attempt to reconstruct the pipeline ) which makes me worry that there is some timing / ordering issue there happening.
The pipeline is playbin based and uses glcolorconvert and glupload for the GL part. Wrapped context and display creation is happening here and setting it is happening when receiving GST_MESSAGE_NEED_CONTEXT here.
Attached you can find a log file with GST_DEBUG=6 where the reconstruction succeeds for the first 3 times but fails then. I cannot really see from the log file what could cause this so any pointers from some more experienced eyes would be greatly appreciated.