mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
display: fix destruction of mutex.
This commit is contained in:
parent
437bc925f6
commit
4e53b5fe4e
1 changed files with 2 additions and 1 deletions
|
@ -382,7 +382,6 @@ gst_vaapi_display_destroy(GstVaapiDisplay *display)
|
|||
gst_vaapi_display_cache_remove(get_display_cache(), display);
|
||||
free_display_cache();
|
||||
}
|
||||
g_static_rec_mutex_free(&priv->mutex);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
@ -577,6 +576,8 @@ gst_vaapi_display_finalize(GObject *object)
|
|||
|
||||
gst_vaapi_display_destroy(display);
|
||||
|
||||
g_static_rec_mutex_free(&display->priv->mutex);
|
||||
|
||||
G_OBJECT_CLASS(gst_vaapi_display_parent_class)->finalize(object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue