timelineobject: Emit effect-added when adding any kind of TrackEffect
authorThibault Saunier <thibault.saunier@collabora.com>
Wed, 25 Jan 2012 14:12:05 +0000 (15:12 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Sun, 8 Apr 2012 02:24:55 +0000 (22:24 -0400)
We were only emitting it when working with TrackParseLaunch effects

ges/ges-timeline-object.c

index 703f754c97d2cc6fec8e0e275d6be446e831f924..d446b875e750484729fd1511e2aa684610b22f35 100644 (file)
@@ -620,7 +620,7 @@ ges_timeline_object_add_track_object (GESTimelineObject * object, GESTrackObject
       + mapping->priority_offset);
 
   GST_DEBUG ("Returning trobj:%p", trobj);
-  if (!GES_IS_TRACK_PARSE_LAUNCH_EFFECT (trobj)) {
+  if (!GES_IS_TRACK_EFFECT (trobj)) {
     g_signal_emit (object, ges_timeline_object_signals[TRACK_OBJECT_ADDED], 0,
         GES_TRACK_OBJECT (trobj));
   } else {