mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
caps: fix type of return value if string is null in gst_caps_from_string
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1348>
This commit is contained in:
parent
97d83056b3
commit
74957bfd50
1 changed files with 1 additions and 1 deletions
|
@ -2515,7 +2515,7 @@ gst_caps_from_string (const gchar * string)
|
|||
{
|
||||
GstCaps *caps;
|
||||
|
||||
g_return_val_if_fail (string, FALSE);
|
||||
g_return_val_if_fail (string, NULL);
|
||||
|
||||
caps = gst_caps_new_empty ();
|
||||
if (gst_caps_from_string_inplace (caps, string)) {
|
||||
|
|
Loading…
Reference in a new issue