mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
caps: Fix gst_static_caps_get(GST_STATIC_CAPS_NONE)
https://bugzilla.gnome.org/show_bug.cgi?id=696435
This commit is contained in:
parent
253035d395
commit
7decc9bef7
1 changed files with 1 additions and 1 deletions
|
@ -1807,7 +1807,7 @@ gst_caps_from_string_inplace (GstCaps * caps, const gchar * string)
|
|||
GST_CAPS_FLAGS (caps) = GST_CAPS_FLAG_ANY;
|
||||
return TRUE;
|
||||
}
|
||||
if (strcmp ("EMPTY", string) == 0) {
|
||||
if (strcmp ("EMPTY", string) == 0 || strcmp ("NONE", string) == 0) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue