caps: Fix gst_static_caps_get(GST_STATIC_CAPS_NONE)

https://bugzilla.gnome.org/show_bug.cgi?id=696435
This commit is contained in:
Sebastian Dröge 2013-03-25 09:19:24 +01:00
parent 253035d395
commit 7decc9bef7

View file

@ -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;
}