summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2011-02-06 12:08:14 +0100
committerEdward Hervey <bilboed@bilboed.com>2011-02-06 12:08:14 +0100
commit7672946935ab669f4b39cce7e2be67dc98c21f64 (patch)
tree3a78d2dc5405c5f0ed6c7723e0b83e28e2481ead
parentfac013c0336a69debff2486fe2334761dc28fda3 (diff)
pbutils: Specify which string variables can be NULL
Without this you can't pass None to the various methods/constructors
-rw-r--r--gst/pbutils.defs20
1 files changed, 10 insertions, 10 deletions
diff --git a/gst/pbutils.defs b/gst/pbutils.defs
index 14fb9ec..76c7ac3 100644
--- a/gst/pbutils.defs
+++ b/gst/pbutils.defs
@@ -378,7 +378,7 @@
(c-name "gst_encoding_profile_set_name")
(return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("const-gchar*" "name" (null-ok) (default "NULL"))
)
)
@@ -387,7 +387,7 @@
(c-name "gst_encoding_profile_set_description")
(return-type "none")
(parameters
- '("const-gchar*" "description")
+ '("const-gchar*" "description" (null-ok) (default "NULL"))
)
)
@@ -405,7 +405,7 @@
(c-name "gst_encoding_profile_set_preset")
(return-type "none")
(parameters
- '("const-gchar*" "preset")
+ '("const-gchar*" "preset" (null-ok) (default "NULL"))
)
)
@@ -414,7 +414,7 @@
(c-name "gst_encoding_profile_set_restriction")
(return-type "none")
(parameters
- '("GstCaps*" "restriction")
+ '("GstCaps*" "restriction" (null-ok) (default "NULL"))
)
)
@@ -454,7 +454,7 @@
(parameters
'("const-gchar*" "targetname")
'("const-gchar*" "profilename")
- '("const-gchar*" "category")
+ '("const-gchar*" "category" (null-ok) (default "NULL"))
)
)
@@ -487,10 +487,10 @@
(is-constructor-of "GstEncodingContainerProfile")
(return-type "GstEncodingContainerProfile*")
(parameters
- '("const-gchar*" "name")
- '("const-gchar*" "description")
+ '("const-gchar*" "name" (null-ok) (default "NULL"))
+ '("const-gchar*" "description" (null-ok) (default "NULL"))
'("GstCaps*" "format")
- '("const-gchar*" "preset")
+ '("const-gchar*" "preset"(null-ok) (default "NULL"))
)
)
@@ -500,7 +500,7 @@
(return-type "GstEncodingVideoProfile*")
(parameters
'("GstCaps*" "format")
- '("const-gchar*" "preset")
+ '("const-gchar*" "preset" (null-ok) (default "NULL"))
'("GstCaps*" "restriction")
'("guint" "presence")
)
@@ -512,7 +512,7 @@
(return-type "GstEncodingAudioProfile*")
(parameters
'("GstCaps*" "format")
- '("const-gchar*" "preset")
+ '("const-gchar*" "preset" (null-ok) (default "NULL"))
'("GstCaps*" "restriction")
'("guint" "presence")
)