mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-03 02:03:48 +00:00
hlsmultivariantsink: Add hlssink3 and cmafmux as dev dependencies
This is required for the hlsmultivariantsink tests to work. Also register the plugins before running the test. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1515>
This commit is contained in:
parent
362898cd54
commit
05b5aa939f
2 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,8 @@ gst-video.workspace = true
|
|||
gst-check.workspace = true
|
||||
m3u8-rs = "5.0"
|
||||
anyhow = "1"
|
||||
gst-plugin-hlssink3 = { path = "../hlssink3" }
|
||||
gst-plugin-fmp4 = { path = "../../mux/fmp4" }
|
||||
|
||||
[build-dependencies]
|
||||
gst-plugin-version-helper.workspace = true
|
||||
|
|
|
@ -61,6 +61,8 @@ fn init() {
|
|||
|
||||
INIT.call_once(|| {
|
||||
gst::init().unwrap();
|
||||
gstfmp4::plugin_register_static().expect("Need cmafmux for hlsmultivariantsink test");
|
||||
gsthlssink3::plugin_register_static().expect("Need hlssink3 for hlsmultivariantsink test");
|
||||
gsthlsmultivariantsink::plugin_register_static().expect("hlsmultivariantsink test");
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue