GES : make sure to set n_properties to 0 when needed

This commit is contained in:
Mathieu Duponchelle 2011-06-07 00:49:58 +02:00 committed by Thibault Saunier
parent db58dc1569
commit b0810ff5de

View file

@ -1378,6 +1378,7 @@ default_list_children_properties (GESTrackObject * object, guint * n_properties)
prop_hash_not_set: prop_hash_not_set:
{ {
*n_properties = 0;
GST_ERROR ("The child properties haven't been set on %p", object); GST_ERROR ("The child properties haven't been set on %p", object);
return NULL; return NULL;
} }