GESTrackParseLaunchEffect: Name the convert elements better

And bump a DEBUG to an ERROR
This commit is contained in:
Edward Hervey 2011-05-07 13:41:11 +02:00
parent 168c2d0327
commit 17b99d36b2

View 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;