diff --git a/gst/pbutils.defs b/gst/pbutils.defs index 76c7ac3482..a662eaf49f 100644 --- a/gst/pbutils.defs +++ b/gst/pbutils.defs @@ -501,7 +501,7 @@ (parameters '("GstCaps*" "format") '("const-gchar*" "preset" (null-ok) (default "NULL")) - '("GstCaps*" "restriction") + '("GstCaps*" "restriction" (null-ok)) '("guint" "presence") ) ) @@ -513,7 +513,7 @@ (parameters '("GstCaps*" "format") '("const-gchar*" "preset" (null-ok) (default "NULL")) - '("GstCaps*" "restriction") + '("GstCaps*" "restriction" (null-ok)) '("guint" "presence") ) )