vdpau: fix error where we forgot to pass a trailing NULL to g_object_new

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

View file

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