mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Removed the assert on an unknown propertytype and print usefull info.
Original commit message from CVS: Removed the assert on an unknown propertytype and print usefull info.
This commit is contained in:
parent
317c1c5b30
commit
5c43234108
1 changed files with 1 additions and 1 deletions
|
@ -210,10 +210,10 @@ gst_props_newv (const gchar *firstname, va_list var_args)
|
|||
prop_name = va_arg (var_args, gchar*);
|
||||
continue;
|
||||
default:
|
||||
g_warning ("unknown property type found %d for '%s'\n", entry->propstype, prop_name);
|
||||
g_mutex_lock (_gst_props_entries_chunk_lock);
|
||||
g_mem_chunk_free (_gst_props_entries_chunk, entry);
|
||||
g_mutex_unlock (_gst_props_entries_chunk_lock);
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue