Removed the assert on an unknown propertytype and print usefull info.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 1 May 2001 22:43:21 +0000 (22:43 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 1 May 2001 22:43:21 +0000 (22:43 +0000)
Original commit message from CVS:
Removed the assert on an unknown propertytype and print usefull info.

gst/gstprops.c

index 1af5128..096beae 100644 (file)
@@ -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;
     }