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
@ -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…
x
Reference in New Issue
Block a user