pbutils: Encoding profiles accept null caps restrictions

Add 'null-ok' for encoding video/audio profiles constructor
so they accept None as caps restriction parameter
This commit is contained in:
Thiago Santos 2011-05-03 09:37:36 -03:00
parent 501515522f
commit e401c49911

View file

@ -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")
)
)