mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 06:11:27 +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 */
|
/* load caps */
|
||||||
unpack_string (*in, str);
|
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);
|
g_free (str);
|
||||||
/* load extensions */
|
/* load extensions */
|
||||||
if (tff->nextensions) {
|
if (tff->nextensions) {
|
||||||
|
|
Loading…
Reference in a new issue