hlssink3: Add fmp4 plugin as a dependency for hlscmafsink tests

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2439>
This commit is contained in:
Sanchayan Maity 2025-08-14 19:21:57 +05:30
parent 1f68cf4f44
commit bd30823dbb
3 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View file

@ -3006,6 +3006,7 @@ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",
"gio", "gio",
"gst-plugin-fmp4",
"gst-plugin-version-helper", "gst-plugin-version-helper",
"gstreamer", "gstreamer",
"gstreamer-app", "gstreamer-app",

View file

@ -23,6 +23,7 @@ gst-check.workspace = true
gst-pbutils = { workspace = true, features = ["v1_20"] } gst-pbutils = { workspace = true, features = ["v1_20"] }
m3u8-rs = "6.0" m3u8-rs = "6.0"
anyhow = "1" anyhow = "1"
gst-plugin-fmp4 = { path = "../../mux/fmp4" }
[build-dependencies] [build-dependencies]
gst-plugin-version-helper.workspace = true gst-plugin-version-helper.workspace = true

View file

@ -21,6 +21,7 @@ fn init() {
INIT.call_once(|| { INIT.call_once(|| {
gst::init().unwrap(); gst::init().unwrap();
gstfmp4::plugin_register_static().expect("Need cmafmux for hlscmafsink test");
gsthlssink3::plugin_register_static().expect("hlscmafsink test"); gsthlssink3::plugin_register_static().expect("hlscmafsink test");
}); });
} }