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
path: root/mux
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-12-17 15:07:12 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-12-17 15:07:12 +0300
commit763739e3ae7e4c76298c68ebb0ce6fa07ebd441f (patch)
tree51c4fb847bdb50d4944be2cae556c6fb2e7e01a6 /mux
parent68b9dadf077cbf52ff77c80845ee50f1307dca64 (diff)
Update for `Buffer` / `Memory` API changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1409>
Diffstat (limited to 'mux')
-rw-r--r--mux/fmp4/src/fmp4mux/imp.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/mux/fmp4/src/fmp4mux/imp.rs b/mux/fmp4/src/fmp4mux/imp.rs
index 6da92b911..98b8843de 100644
--- a/mux/fmp4/src/fmp4mux/imp.rs
+++ b/mux/fmp4/src/fmp4mux/imp.rs
@@ -2371,12 +2371,9 @@ impl FMP4Mux {
// Copy metas from the first actual buffer to the fragment header. This allows
// getting things like the reference timestamp meta or the timecode meta to identify
// the fragment.
- let _ = interleaved_buffers[0].buffer.copy_into(
- buffer,
- gst::BufferCopyFlags::META,
- 0,
- None,
- );
+ let _ = interleaved_buffers[0]
+ .buffer
+ .copy_into(buffer, gst::BufferCopyFlags::META, ..);
}
let moof_offset = state.current_offset