mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
vdpau: close display on finalize
This commit is contained in:
parent
f16aa7271e
commit
612a46a565
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ gst_vdp_device_finalize (GObject * object)
|
|||
GstVdpDevice *device = (GstVdpDevice *) object;
|
||||
|
||||
device->vdp_device_destroy (device->device);
|
||||
XCloseDisplay (device->display);
|
||||
g_free (device->display_name);
|
||||
|
||||
G_OBJECT_CLASS (gst_vdp_device_parent_class)->finalize (object);
|
||||
|
|
Loading…
Reference in a new issue