GESTrackObject: fixe the connect_properties_signals

This commit is contained in:
Thibault Saunier 2011-02-25 10:54:55 +01:00 committed by Edward Hervey
parent 3179cb7c53
commit b0f877a47c

View file

@ -522,8 +522,9 @@ connect_signal (gpointer key, gpointer value, gpointer user_data)
static void
connect_properties_signals (GESTrackObject * object)
{
if (G_UNLIKELY (object->priv->properties_hashtable)) {
if (G_UNLIKELY (!object->priv->properties_hashtable)) {
GST_WARNING ("The properties_hashtable hasn't been set");
return;
}
g_hash_table_foreach (object->priv->properties_hashtable,
@ -801,7 +802,7 @@ ges_track_object_set_track (GESTrackObject * object, GESTrack * track)
* ges_track_object_get_track:
* @object: a #GESTrackObject
*
* Get the #GESTrack to which this object belongs.
* Get the #GESTrack to which this object belongs.
*
* Returns: (transfer none): The #GESTrack to which this object belongs. Can be %NULL if it
* is not in any track