TrackTransition: Don't return anything for unhandled tracks
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 6 Jul 2010 17:07:50 +0000 (19:07 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 9 Jul 2010 11:21:18 +0000 (13:21 +0200)
ges/ges-track-transition.c

index b135443..2652851 100644 (file)
@@ -121,7 +121,7 @@ ges_track_transition_create_element (GESTrackTransition * self)
 {
   GST_WARNING ("transitions don't handle this track type!");
 
-  return gst_element_factory_make ("identity", "invalid-track-type");
+  return NULL;
 }
 
 static void