mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-22 18:16:28 +00:00
aws: log error if sink failed to start
I find it confusing that the element was failing without reporting any error in its logs. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1638>
This commit is contained in:
parent
0ecbd3f953
commit
a10577b42c
1 changed files with 6 additions and 1 deletions
|
@ -1028,7 +1028,12 @@ impl URIHandlerImpl for S3Sink {
|
|||
|
||||
impl BaseSinkImpl for S3Sink {
|
||||
fn start(&self) -> Result<(), gst::ErrorMessage> {
|
||||
self.start()
|
||||
let res = self.start();
|
||||
if let Err(ref err) = res {
|
||||
gst::error!(CAT, imp: self, "Failed to start: {err}");
|
||||
}
|
||||
|
||||
res
|
||||
}
|
||||
|
||||
fn stop(&self) -> Result<(), gst::ErrorMessage> {
|
||||
|
|
Loading…
Reference in a new issue