diff options
author | François Laignel <fengalin@free.fr> | 2022-09-22 01:02:33 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2022-09-22 13:18:49 +0300 |
commit | 0b7259afac2c5f75366195fedc9439d8173814a1 (patch) | |
tree | 93fe7ffedb89518de33c3a85177cd0e833025cf2 /net/raptorq | |
parent | caefa6d33eb9c7ec7180eb1df9f211e4b0c3c4c1 (diff) |
Fixes for removal of SpecificFormattedValues ops on ref
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/874>
Diffstat (limited to 'net/raptorq')
-rw-r--r-- | net/raptorq/src/raptorqenc/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/raptorq/src/raptorqenc/imp.rs b/net/raptorq/src/raptorqenc/imp.rs index 56984f00..1dbc8785 100644 --- a/net/raptorq/src/raptorqenc/imp.rs +++ b/net/raptorq/src/raptorqenc/imp.rs @@ -192,13 +192,13 @@ impl RaptorqEnc { for (target_time, repair_packet) in Iterator::zip( delays .iter() - .map(|delay| base_time.opt_add(running_time).opt_add(delay)), + .map(|&delay| base_time.opt_add(running_time).opt_add(delay)), encoder .repair_packets(0, repair_symbols as u32) .chunks_exact(state.symbols_per_packet) .enumerate() .zip(&delays) - .map(|((n, packets), delay)| { + .map(|((n, packets), &delay)| { let esi = packets[0].payload_id().encoding_symbol_id(); let payload_id = RepairPayloadId { |