Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/sodium/src/decrypter/imp.rs10
-rw-r--r--generic/sodium/src/encrypter/imp.rs10
2 files changed, 8 insertions, 12 deletions
diff --git a/generic/sodium/src/decrypter/imp.rs b/generic/sodium/src/decrypter/imp.rs
index f01ee29b8..6486f6d05 100644
--- a/generic/sodium/src/decrypter/imp.rs
+++ b/generic/sodium/src/decrypter/imp.rs
@@ -61,11 +61,10 @@ impl State {
.ok_or_else(|| {
gst::error_msg!(
gst::ResourceError::NotFound,
- [format!(
+ [
"Failed to set Sender's Key from property: {:?}",
props.sender_key
- )
- .as_ref()]
+ ]
)
})?;
@@ -76,11 +75,10 @@ impl State {
.ok_or_else(|| {
gst::error_msg!(
gst::ResourceError::NotFound,
- [format!(
+ [
"Failed to set Receiver's Key from property: {:?}",
props.receiver_key
- )
- .as_ref()]
+ ]
)
})?;
diff --git a/generic/sodium/src/encrypter/imp.rs b/generic/sodium/src/encrypter/imp.rs
index ac1ea1013..f5f72db85 100644
--- a/generic/sodium/src/encrypter/imp.rs
+++ b/generic/sodium/src/encrypter/imp.rs
@@ -76,11 +76,10 @@ impl State {
.ok_or_else(|| {
gst::error_msg!(
gst::ResourceError::NotFound,
- [format!(
+ [
"Failed to set Sender's Key from property: {:?}",
props.sender_key
- )
- .as_ref()]
+ ]
)
})?;
@@ -91,11 +90,10 @@ impl State {
.ok_or_else(|| {
gst::error_msg!(
gst::ResourceError::NotFound,
- [format!(
+ [
"Failed to set Receiver's Key from property: {:?}",
props.receiver_key
- )
- .as_ref()]
+ ]
)
})?;