diff --git a/Cargo.lock b/Cargo.lock index c82c69538..7f1df9c15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1080,9 +1080,9 @@ dependencies = [ [[package]] name = "cdp-types" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e079febcb70057fe0f3cad4c67b570cc89d43477c3622e68f5c1f735bafd6747" +checksum = "332ca05a88e143d80a245f9aa6c65b6e6383ee3e332017005647c27c6a62f902" dependencies = [ "cea708-types", "log", @@ -1101,9 +1101,9 @@ dependencies = [ [[package]] name = "cea708-types" -version = "0.3.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711a98fc25dbb1c2a76505ac7ede42a5ed81aa36360939ad7709e92eff7f8fe3" +checksum = "2b4d0a0b75ef1572334ddfd197090a9f550b6a8852663cbb69e7af8e8c5641ef" dependencies = [ "log", "muldiv", diff --git a/video/closedcaption/Cargo.toml b/video/closedcaption/Cargo.toml index ade9c95b3..a82b36018 100644 --- a/video/closedcaption/Cargo.toml +++ b/video/closedcaption/Cargo.toml @@ -20,8 +20,8 @@ pangocairo.workspace = true byteorder = "1" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["raw_value"] } -cdp-types = "0.2" -cea708-types = "0.3.5" +cdp-types = "0.3" +cea708-types = "0.4.0" cea608-types = "0.1.1" gst = { workspace = true, features = ["v1_20"]} gst-base = { workspace = true, features = ["v1_22"]} diff --git a/video/closedcaption/src/cea708mux/imp.rs b/video/closedcaption/src/cea708mux/imp.rs index 4e9eb5a3f..7eaf28136 100644 --- a/video/closedcaption/src/cea708mux/imp.rs +++ b/video/closedcaption/src/cea708mux/imp.rs @@ -312,7 +312,10 @@ impl AggregatorImpl for Cea708Mux { pending_codes.push_front(code); 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() .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); break; } - Err(cea708_types::WriterError::ReadOnly) => unreachable!(), + Err( + cea708_types::WriterError::ReadOnly + | cea708_types::WriterError::EmptyService, + ) => unreachable!(), } } }