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
9dc958e8
Commit
9dc958e8
authored
Jul 10, 2019
by
Thibault Saunier
🌵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ges:validate: Properly error when editing container fails
parent
a5529631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ges/ges-validate.c
ges/ges-validate.c
+6
-1
No files found.
ges/ges-validate.c
View file @
9dc958e8
...
...
@@ -340,7 +340,12 @@ _edit_container (GstValidateScenario * scenario, GstValidateAction * action)
clip_name
=
gst_structure_get_string
(
action
->
structure
,
"container-name"
);
container
=
ges_timeline_get_element
(
timeline
,
clip_name
);
g_return_val_if_fail
(
GES_IS_CONTAINER
(
container
),
FALSE
);
if
(
!
container
)
{
GST_VALIDATE_REPORT
(
scenario
,
g_quark_from_string
(
"scenario::execution-error"
),
"Could not find container %s"
,
clip_name
);
return
GST_VALIDATE_EXECUTE_ACTION_ERROR_REPORTED
;
}
if
(
!
gst_validate_action_get_clocktime
(
scenario
,
action
,
"position"
,
&
position
))
{
...
...
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