Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GStreamer
gst-editing-services
Commits
5e4555c6
Commit
5e4555c6
authored
Jun 23, 2019
by
Thibault Saunier
🌵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
validate: Create folders as needed when serializing timelines
parent
e5045b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ges/ges-validate.c
ges/ges-validate.c
+6
-0
No files found.
ges/ges-validate.c
View file @
5e4555c6
...
...
@@ -53,11 +53,17 @@ static gboolean
_serialize_project
(
GstValidateScenario
*
scenario
,
GstValidateAction
*
action
)
{
const
gchar
*
uri
=
gst_structure_get_string
(
action
->
structure
,
"uri"
);
gchar
*
location
=
gst_uri_get_location
(
uri
),
*
dir
=
g_path_get_dirname
(
location
);
gboolean
res
;
DECLARE_AND_GET_TIMELINE
(
scenario
,
action
);
gst_validate_printf
(
action
,
"Saving project to %s"
,
uri
);
g_mkdir_with_parents
(
dir
,
0755
);
g_free
(
location
);
g_free
(
dir
);
res
=
ges_timeline_save_to_uri
(
timeline
,
uri
,
NULL
,
TRUE
,
NULL
);
g_object_unref
(
timeline
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment