GESTrackParseLaunchEffect: Name the convert elements better
authorEdward Hervey <edward.hervey@collabora.co.uk>
Sat, 7 May 2011 11:41:11 +0000 (13:41 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Sat, 7 May 2011 11:43:10 +0000 (13:43 +0200)
And bump a DEBUG to an ERROR

ges/ges-track-parse-launch-effect.c

index fc2973b..0a734b2 100644 (file)
@@ -152,8 +152,9 @@ ges_track_parse_launch_effect_create_element (GESTrackObject * object)
   }
 
   if (track->type == GES_TRACK_TYPE_VIDEO) {
-    bin_desc = g_strconcat ("ffmpegcolorspace !",
-        self->priv->bin_description, " ! ffmpegcolorspace", NULL);
+    bin_desc = g_strconcat ("ffmpegcolorspace name=beforecolorspace ! ",
+        self->priv->bin_description, " ! ffmpegcolorspace name=aftercolorspace",
+        NULL);
   } else if (track->type == GES_TRACK_TYPE_AUDIO) {
     bin_desc =
         g_strconcat ("audioconvert ! audioresample !",
@@ -168,7 +169,7 @@ ges_track_parse_launch_effect_create_element (GESTrackObject * object)
   g_free (bin_desc);
 
   if (error != NULL) {
-    GST_DEBUG ("An error occured while creating the GstElement: %s",
+    GST_ERROR ("An error occured while creating the GstElement: %s",
         error->message);
     g_error_free (error);
     return NULL;