Skip to content
  • Alessandro Decina's avatar
    glupload: create the GstGLUpload object in ::transform_caps · acd33a24
    Alessandro Decina authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    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.
    acd33a24