ges-launch: Handle path for project uri

This commit is contained in:
Thibault Saunier 2013-09-13 20:38:43 -03:00
parent ec28489b84
commit 2414453a0c

View file

@ -657,10 +657,16 @@ main (int argc, gchar ** argv)
prof = _parse_encoding_profile (format); prof = _parse_encoding_profile (format);
} }
if (outputuri)
outputuri = ensure_uri (outputuri);
if (!prof || !ges_pipeline_set_render_settings (pipeline, outputuri, prof) if (!prof || !ges_pipeline_set_render_settings (pipeline, outputuri, prof)
|| !ges_pipeline_set_mode (pipeline, || !ges_pipeline_set_mode (pipeline,
smartrender ? TIMELINE_MODE_SMART_RENDER : TIMELINE_MODE_RENDER)) smartrender ? TIMELINE_MODE_SMART_RENDER : TIMELINE_MODE_RENDER)) {
g_free (outputuri);
exit (1); exit (1);
}
g_free (outputuri);
gst_encoding_profile_unref (prof); gst_encoding_profile_unref (prof);
} else { } else {