mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
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:
parent
501515522f
commit
e401c49911
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue