mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +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
|
(parameters
|
||||||
'("GstCaps*" "format")
|
'("GstCaps*" "format")
|
||||||
'("const-gchar*" "preset" (null-ok) (default "NULL"))
|
'("const-gchar*" "preset" (null-ok) (default "NULL"))
|
||||||
'("GstCaps*" "restriction")
|
'("GstCaps*" "restriction" (null-ok))
|
||||||
'("guint" "presence")
|
'("guint" "presence")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -513,7 +513,7 @@
|
||||||
(parameters
|
(parameters
|
||||||
'("GstCaps*" "format")
|
'("GstCaps*" "format")
|
||||||
'("const-gchar*" "preset" (null-ok) (default "NULL"))
|
'("const-gchar*" "preset" (null-ok) (default "NULL"))
|
||||||
'("GstCaps*" "restriction")
|
'("GstCaps*" "restriction" (null-ok))
|
||||||
'("guint" "presence")
|
'("guint" "presence")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue