Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-plugins-bad
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
994
Issues
994
List
Boards
Labels
Service Desk
Milestones
Merge Requests
192
Merge Requests
192
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gst-plugins-bad
Commits
7aba64e1
Commit
7aba64e1
authored
Apr 21, 2019
by
Mark Nauwelaerts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
srt: post error when failing to start
... as appropriate for a subsequent state change failure
parent
6d9398e8
Pipeline
#32333
passed with stages
in 43 minutes and 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ext/srt/gstsrtsink.c
ext/srt/gstsrtsink.c
+3
-1
ext/srt/gstsrtsrc.c
ext/srt/gstsrtsrc.c
+3
-1
No files found.
ext/srt/gstsrtsink.c
View file @
7aba64e1
...
...
@@ -155,7 +155,9 @@ gst_srt_sink_start (GstBaseSink * bsink)
}
if
(
!
ret
)
{
GST_WARNING_OBJECT
(
self
,
"Failed to open SRT: %s"
,
error
->
message
);
/* ensure error is posted since state change will fail */
GST_ELEMENT_ERROR
(
self
,
RESOURCE
,
OPEN_WRITE
,
(
NULL
),
(
"Failed to open SRT: %s"
,
error
->
message
));
g_clear_error
(
&
error
);
}
...
...
ext/srt/gstsrtsrc.c
View file @
7aba64e1
...
...
@@ -114,7 +114,9 @@ gst_srt_src_start (GstBaseSrc * bsrc)
}
if
(
!
ret
)
{
GST_WARNING_OBJECT
(
self
,
"Failed to open SRT: %s"
,
error
->
message
);
/* ensure error is posted since state change will fail */
GST_ELEMENT_ERROR
(
self
,
RESOURCE
,
OPEN_READ
,
(
NULL
),
(
"Failed to open SRT: %s"
,
error
->
message
));
g_clear_error
(
&
error
);
}
...
...
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