Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-12-04 17:54:00 +0300
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-12-04 17:58:21 +0300
commit6dfd1c1496ff710a806e4b0a5f30a83ab6b7fe40 (patch)
treee4ae83c2209dfd6f875e76130f44bc39adc207ad /utils/uriplaylistbin
parentc7f961cc2216f24e282ed81dbed9be7d29d5ecd0 (diff)
use new debug and parse API
Changes from https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1355 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1403>
Diffstat (limited to 'utils/uriplaylistbin')
-rw-r--r--utils/uriplaylistbin/examples/playlist.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/uriplaylistbin/examples/playlist.rs b/utils/uriplaylistbin/examples/playlist.rs
index 3e293d3c4..a927648a3 100644
--- a/utils/uriplaylistbin/examples/playlist.rs
+++ b/utils/uriplaylistbin/examples/playlist.rs
@@ -43,13 +43,13 @@ fn create_pipeline(uris: Vec<String>, iterations: u32) -> anyhow::Result<gst::Pi
let pad_name = src_pad.name();
let sink = if pad_name.starts_with("audio") {
- gst::parse_bin_from_description(
+ gst::parse::bin_from_description(
"queue ! audioconvert ! audioresample ! autoaudiosink",
true,
)
.unwrap()
} else if pad_name.starts_with("video") {
- gst::parse_bin_from_description("queue ! videoconvert ! autovideosink", true).unwrap()
+ gst::parse::bin_from_description("queue ! videoconvert ! autovideosink", true).unwrap()
} else {
unimplemented!();
};