mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
wayland: destroy vpp buffer pool on resize
Otherwise the old buffers with the old size are used. https://bugzilla.gnome.org/show_bug.cgi?id=747491
This commit is contained in:
parent
3eb7986409
commit
b8f8d50f41
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ gst_vaapi_window_wayland_resize (GstVaapiWindow * window,
|
|||
|
||||
GST_DEBUG ("resize window, new size %ux%u", width, height);
|
||||
|
||||
gst_vaapi_video_pool_replace (&priv->surface_pool, NULL);
|
||||
if (priv->opaque_region)
|
||||
wl_region_destroy (priv->opaque_region);
|
||||
GST_VAAPI_OBJECT_LOCK_DISPLAY (window);
|
||||
|
|
Loading…
Reference in a new issue