vdpau: fix error where we forgot to pass a trailing NULL to g_object_new
This commit is contained in:
parent
612a46a565
commit
fb70c1e7b5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user