[Bug 774029] vaapiwindow: wayland: fix surface leaks.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 8 07:01:57 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774029

--- Comment #4 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to Hyunjun Ko from comment #3)

> 
> @@ +528,3 @@
> +    if (need_vpp && priv->use_vpp) {
> +      gst_vaapi_object_unref (surface);
> +    }
> 
> I don't understand.
> There's no callback to unref this surface at this moment, since it is before
> even creating frame and adding listener to the wl buffer.

And it should be gst_vaapi_video_pool_put_object instead of
gst_vaapi_object_unref to return it to the surface pool.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list