mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
vdpau: remove obosolete FIXME and some debug prints from gstvdpaudevice.c
This commit is contained in:
parent
7b6cfb83c8
commit
f72dc12373
1 changed files with 0 additions and 3 deletions
|
@ -95,7 +95,6 @@ gst_vdpau_device_constructed (GObject * object)
|
||||||
{0, NULL}
|
{0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* FIXME: We probably want to use the same VdpDevice for every VDPAU element */
|
|
||||||
device->display = XOpenDisplay (device->display_name);
|
device->display = XOpenDisplay (device->display_name);
|
||||||
if (!device->display) {
|
if (!device->display) {
|
||||||
GST_ERROR_OBJECT (device, "Could not open X display with name: %s",
|
GST_ERROR_OBJECT (device, "Could not open X display with name: %s",
|
||||||
|
@ -256,12 +255,10 @@ gst_vdpau_get_device (const gchar * display_name)
|
||||||
device = g_hash_table_lookup (devices_hash, "");
|
device = g_hash_table_lookup (devices_hash, "");
|
||||||
|
|
||||||
if (!device) {
|
if (!device) {
|
||||||
g_debug ("asdasd");
|
|
||||||
device = gst_vdpau_device_new (display_name);
|
device = gst_vdpau_device_new (display_name);
|
||||||
g_object_weak_ref (G_OBJECT (device), device_destroyed_cb, devices_hash);
|
g_object_weak_ref (G_OBJECT (device), device_destroyed_cb, devices_hash);
|
||||||
} else
|
} else
|
||||||
g_object_ref (device);
|
g_object_ref (device);
|
||||||
|
|
||||||
g_debug ("HMM");
|
|
||||||
return device;
|
return device;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue