mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
ges-launch: Handle path for project uri
This commit is contained in:
parent
ec28489b84
commit
2414453a0c
1 changed files with 7 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue