mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
registry: Set typefind factory caps to NULL instead of empty caps if they originally were NULL
This commit is contained in:
parent
6f0da920ef
commit
70fcf4a201
1 changed files with 1 additions and 1 deletions
|
@ -958,7 +958,7 @@ gst_registry_binary_load_feature (GstRegistry * registry, gchar ** in,
|
|||
|
||||
/* load caps */
|
||||
unpack_string (*in, str);
|
||||
factory->caps = gst_caps_from_string (str);
|
||||
factory->caps = (g_str_equal (str, "")) ? NULL : gst_caps_from_string (str);
|
||||
g_free (str);
|
||||
/* load extensions */
|
||||
if (tff->nextensions) {
|
||||
|
|
Loading…
Reference in a new issue