summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-04-27 20:45:11 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:33 +0100
commitfb70c1e7b5b187f329261b3a26717e621b39de71 (patch)
tree44c8725987c60bc33b5ffc8a428a21a4e89b1e5e /sys
parent612a46a565851760db417d2d1399795d7bcb3193 (diff)
downloadgst-plugins-bad-fb70c1e7b5b187f329261b3a26717e621b39de71.tar.gz
gst-plugins-bad-fb70c1e7b5b187f329261b3a26717e621b39de71.tar.bz2
gst-plugins-bad-fb70c1e7b5b187f329261b3a26717e621b39de71.zip
vdpau: fix error where we forgot to pass a trailing NULL to g_object_new
Diffstat (limited to 'sys')
-rw-r--r--sys/vdpau/gstvdpdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vdpau/gstvdpdevice.c b/sys/vdpau/gstvdpdevice.c
index 84fe8922..c80b8ac7 100644
--- a/sys/vdpau/gstvdpdevice.c
+++ b/sys/vdpau/gstvdpdevice.c
@@ -213,7 +213,7 @@ gst_vdp_device_new (const gchar * display_name)
{
GstVdpDevice *device;
- device = g_object_new (GST_TYPE_VDPAU_DEVICE, "display", display_name);
+ device = g_object_new (GST_TYPE_VDPAU_DEVICE, "display", display_name, NULL);
return device;
}