mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
vdpau: fix error where we forgot to pass a trailing NULL to g_object_new
This commit is contained in:
parent
612a46a565
commit
fb70c1e7b5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue