build: update closedcaption deps

cea708-types to 0.4.0
- Includes https://github.com/ystreet/cea708-types/pull/24 which fixes cea708mux
  producing full DTVCCPacket's.
cdp-types to 0.3.0 (updates to cea708-types 0.4.0)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2183>
This commit is contained in:
Matthew Waters 2025-04-07 11:33:46 +10:00
parent 6273e05395
commit 08f9565369
3 changed files with 18 additions and 9 deletions

8
Cargo.lock generated
View file

@ -1080,9 +1080,9 @@ dependencies = [
[[package]] [[package]]
name = "cdp-types" name = "cdp-types"
version = "0.2.0" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e079febcb70057fe0f3cad4c67b570cc89d43477c3622e68f5c1f735bafd6747" checksum = "332ca05a88e143d80a245f9aa6c65b6e6383ee3e332017005647c27c6a62f902"
dependencies = [ dependencies = [
"cea708-types", "cea708-types",
"log", "log",
@ -1101,9 +1101,9 @@ dependencies = [
[[package]] [[package]]
name = "cea708-types" name = "cea708-types"
version = "0.3.5" version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "711a98fc25dbb1c2a76505ac7ede42a5ed81aa36360939ad7709e92eff7f8fe3" checksum = "2b4d0a0b75ef1572334ddfd197090a9f550b6a8852663cbb69e7af8e8c5641ef"
dependencies = [ dependencies = [
"log", "log",
"muldiv", "muldiv",

View file

@ -20,8 +20,8 @@ pangocairo.workspace = true
byteorder = "1" byteorder = "1"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] } serde_json = { version = "1.0", features = ["raw_value"] }
cdp-types = "0.2" cdp-types = "0.3"
cea708-types = "0.3.5" cea708-types = "0.4.0"
cea608-types = "0.1.1" cea608-types = "0.1.1"
gst = { workspace = true, features = ["v1_20"]} gst = { workspace = true, features = ["v1_20"]}
gst-base = { workspace = true, features = ["v1_22"]} gst-base = { workspace = true, features = ["v1_22"]}

View file

@ -312,7 +312,10 @@ impl AggregatorImpl for Cea708Mux {
pending_codes.push_front(code); pending_codes.push_front(code);
break; break;
} }
Err(cea708_types::WriterError::ReadOnly) => unreachable!(), Err(
cea708_types::WriterError::ReadOnly
| cea708_types::WriterError::EmptyService,
) => unreachable!(),
} }
} }
} }
@ -352,7 +355,10 @@ impl AggregatorImpl for Cea708Mux {
.or_default() .or_default()
.push_back(code.clone()); .push_back(code.clone());
} }
Err(cea708_types::WriterError::ReadOnly) => unreachable!(), Err(
cea708_types::WriterError::ReadOnly
| cea708_types::WriterError::EmptyService,
) => unreachable!(),
} }
} }
} }
@ -382,7 +388,10 @@ impl AggregatorImpl for Cea708Mux {
pending_codes.push_front(code); pending_codes.push_front(code);
break; break;
} }
Err(cea708_types::WriterError::ReadOnly) => unreachable!(), Err(
cea708_types::WriterError::ReadOnly
| cea708_types::WriterError::EmptyService,
) => unreachable!(),
} }
} }
} }