diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-27 20:21:44 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:33 +0100 |
commit | 612a46a565851760db417d2d1399795d7bcb3193 (patch) | |
tree | 769b9e5a1cce407afb6378d811ad3385f8d1f9c1 /sys | |
parent | f16aa7271ef571bd260c2a820d0ee0af09c94d11 (diff) | |
download | gst-plugins-bad-612a46a565851760db417d2d1399795d7bcb3193.tar.gz gst-plugins-bad-612a46a565851760db417d2d1399795d7bcb3193.tar.bz2 gst-plugins-bad-612a46a565851760db417d2d1399795d7bcb3193.zip |
vdpau: close display on finalize
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vdpau/gstvdpdevice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpdevice.c b/sys/vdpau/gstvdpdevice.c index d7a074a7..84fe8922 100644 --- a/sys/vdpau/gstvdpdevice.c +++ b/sys/vdpau/gstvdpdevice.c @@ -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); |