vdpau: close display on finalize

This commit is contained in:
Carl-Anton Ingmarsson 2009-04-27 20:21:44 +02:00 committed by Jan Schmidt
parent f16aa7271e
commit 612a46a565

View file

@ -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);