app->path = g_strdup (path);
- elem = gst_parse_launch(path, NULL);
+ elem = gst_parse_bin_from_description(path, TRUE, NULL);
if (!elem)
{
g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
/* First add the sink */
- elem = gst_parse_launch(path, NULL);
+ elem = gst_parse_bin_from_description(path, TRUE, NULL);
if (!elem)
{
g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
{
g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
"Could not link recvonly filter and appsink");
+ GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(self->priv->gst_sink), GST_DEBUG_GRAPH_SHOW_ALL, "nolink");
+
goto error;
}