From 17b99d36b2d6ed1bed3d70ff7bbffff21ee95b96 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 7 May 2011 13:41:11 +0200 Subject: [PATCH] GESTrackParseLaunchEffect: Name the convert elements better And bump a DEBUG to an ERROR --- ges/ges-track-parse-launch-effect.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ges/ges-track-parse-launch-effect.c b/ges/ges-track-parse-launch-effect.c index fc2973b482..0a734b296f 100644 --- a/ges/ges-track-parse-launch-effect.c +++ b/ges/ges-track-parse-launch-effect.c @@ -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;