• Gwenole Beauchesne's avatar
    decoder: fix possible leak of VA surfaces. · c8ff372b
    Gwenole Beauchesne authored
    Under some circumstances, we could have leaked a surface, thus not
    releasing it to the pool of available surfaces in the VA context.
    The strategy is now to use a proxy earlier and automatically ref/unref
    whenever necessary. In particular, during the lifetime needed for FFmpeg.
gstvaapidecoder_priv.h 5.2 KB