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 'video/ffv1')
-rw-r--r--video/ffv1/src/ffv1dec/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/ffv1/src/ffv1dec/imp.rs b/video/ffv1/src/ffv1dec/imp.rs
index cf4125a37..dd1b3e01a 100644
--- a/video/ffv1/src/ffv1dec/imp.rs
+++ b/video/ffv1/src/ffv1dec/imp.rs
@@ -174,7 +174,7 @@ impl Ffv1Dec {
// FIXME: we can also do this if we have video meta support and differing strides
let mem = if src_stride == dest_stride {
// Just wrap the decoded frame vecs and push them out
- gst::Memory::from_slice(decoded_plane)
+ gst::Memory::from_mut_slice(decoded_plane)
} else {
// Mismatched stride, let's copy
let out_plane = gst::Memory::with_size(dest_stride * comp_height);