mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-03 02:03:48 +00:00
raptorq: Update to raptorq 2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2117>
This commit is contained in:
parent
18cdcaa2e0
commit
f3e8be80cb
4 changed files with 5 additions and 5 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -6185,9 +6185,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "raptorq"
|
||||
version = "1.8.1"
|
||||
version = "2.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7cc8cd0bcb2d520fff368264b5a6295e064c60955349517d09b14473afae4856"
|
||||
checksum = "90b1b1fad69672f0b901b5004863ea4307f03d168a3db5f2bcba4d3dfed88e97"
|
||||
|
||||
[[package]]
|
||||
name = "rav1e"
|
||||
|
|
|
@ -12,7 +12,7 @@ rust-version.workspace = true
|
|||
gst.workspace = true
|
||||
gst-base.workspace = true
|
||||
gst-rtp.workspace = true
|
||||
raptorq = "1.7"
|
||||
raptorq = "2"
|
||||
|
||||
[dev-dependencies]
|
||||
gst-check = { workspace = true, features = ["v1_18"] }
|
||||
|
|
|
@ -242,7 +242,7 @@ impl RaptorqDec {
|
|||
let blocksz = info.symbols_per_block * symbolsz;
|
||||
|
||||
let config = ObjectTransmissionInformation::new(0, symbolsz as u16, 1, 1, 8);
|
||||
let mut decoder = SourceBlockDecoder::new2(0, &config, blocksz);
|
||||
let mut decoder = SourceBlockDecoder::new(0, &config, blocksz);
|
||||
let mut result = None;
|
||||
|
||||
for (esi, symbol) in
|
||||
|
|
|
@ -163,7 +163,7 @@ impl RaptorqEnc {
|
|||
);
|
||||
|
||||
let encoder =
|
||||
SourceBlockEncoder::with_encoding_plan2(0, &state.info, &source_block, &state.plan);
|
||||
SourceBlockEncoder::with_encoding_plan(0, &state.info, &source_block, &state.plan);
|
||||
|
||||
let sbl = state.symbols_per_block;
|
||||
|
||||
|
|
Loading…
Reference in a new issue