mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
GESTrackParseLaunchEffect: Name the convert elements better
And bump a DEBUG to an ERROR
This commit is contained in:
parent
168c2d0327
commit
17b99d36b2
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue