diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-06-30 23:57:22 +0300 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2020-07-01 00:28:02 +0300 |
commit | a28455f0ce221558ce56ac0507cf437d8418db8a (patch) | |
tree | e5f6755c0d72d68696ce72ccbec7e963838ed76e /video | |
parent | e2f27e77cefef85c767d8c3bc6817ee6c1596ba6 (diff) |
Update for Element::post_message() signature change
Diffstat (limited to 'video')
-rw-r--r-- | video/flavors/src/flvdemux.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/flavors/src/flvdemux.rs b/video/flavors/src/flvdemux.rs index 5e5db06b1..5a8788ca8 100644 --- a/video/flavors/src/flvdemux.rs +++ b/video/flavors/src/flvdemux.rs @@ -325,7 +325,7 @@ impl FlvDemux { ) -> Result<(), gst::LoggableError> { if active { self.start(element, mode).map_err(|err| { - element.post_error_message(&err); + element.post_error_message(err); gst_loggable_error!(CAT, "Failed to start element with mode {:?}", mode) })?; @@ -340,7 +340,7 @@ impl FlvDemux { } self.stop(element).map_err(|err| { - element.post_error_message(&err); + element.post_error_message(err); gst_loggable_error!(CAT, "Failed to stop element") })?; } @@ -532,7 +532,7 @@ impl FlvDemux { state = self.state.lock().unwrap(); } Err(err) => { - element.post_error_message(&err); + element.post_error_message(err); return Err(gst::FlowError::Error); } } |