From 763739e3ae7e4c76298c68ebb0ce6fa07ebd441f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 17 Dec 2023 14:07:12 +0200 Subject: Update for `Buffer` / `Memory` API changes Part-of: --- mux/fmp4/src/fmp4mux/imp.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'mux') 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 -- cgit v1.2.3