summaryrefslogtreecommitdiffstats
path: root/sys/vdpau
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-05-05 16:29:24 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:35 +0100
commite417b2eea0256d5a4a8355f2472e3af3777a2d0c (patch)
treea795f333c4f5c43a49b939e4adb7c96459d376c0 /sys/vdpau
parentde7fb2006e6bad7dba369bcd2d2fc89c965bf5f3 (diff)
downloadgst-plugins-bad-e417b2eea0256d5a4a8355f2472e3af3777a2d0c.tar.gz
gst-plugins-bad-e417b2eea0256d5a4a8355f2472e3af3777a2d0c.tar.bz2
gst-plugins-bad-e417b2eea0256d5a4a8355f2472e3af3777a2d0c.zip
vdpau: init "vdpaudevice" debug catoegory in gst_vdp_get_device
Diffstat (limited to 'sys/vdpau')
-rw-r--r--sys/vdpau/gstvdpdevice.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/vdpau/gstvdpdevice.c b/sys/vdpau/gstvdpdevice.c
index c80b8ac7..ff8b6510 100644
--- a/sys/vdpau/gstvdpdevice.c
+++ b/sys/vdpau/gstvdpdevice.c
@@ -196,16 +196,12 @@ gst_vdp_device_class_init (GstVdpDeviceClass * klass)
object_class->get_property = gst_vdp_device_get_property;
object_class->set_property = gst_vdp_device_set_property;
-
g_object_class_install_property (object_class,
PROP_DISPLAY,
g_param_spec_string ("display",
"Display",
"X Display Name",
"", G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
-
- GST_DEBUG_CATEGORY_INIT (gst_vdp_device_debug, "vdpaudevice",
- 0, "vdpaudevice");
}
GstVdpDevice *
@@ -242,6 +238,8 @@ gst_vdp_get_device (const gchar * display_name)
GstVdpDevice *device;
if (g_once_init_enter (&once)) {
+ GST_DEBUG_CATEGORY_INIT (gst_vdp_device_debug, "vdpaudevice",
+ 0, "vdpaudevice");
devices_hash =
g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
g_once_init_leave (&once, 1);