[3.0] interop_vaapi: fix mem leak while pause
The vaegl_release_last_pic function is only called when pic != priv->last.pic, but vaegl_image_create is always called.
When the video is paused, it quickly exhausts the GPU memory.
The vaegl_release_last_pic function is only called when pic != priv->last.pic, but vaegl_image_create is always called.
When the video is paused, it quickly exhausts the GPU memory.
VideoLAN code repository instance