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
path: root/video
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 /video
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 'video')
-rw-r--r--video/ffv1/tests/ffv1dec.rs2
-rw-r--r--video/gif/examples/testvideosrc2gif.rs2
-rw-r--r--video/png/examples/pngenc.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/video/ffv1/tests/ffv1dec.rs b/video/ffv1/tests/ffv1dec.rs
index 47410eb90..2cdf805b2 100644
--- a/video/ffv1/tests/ffv1dec.rs
+++ b/video/ffv1/tests/ffv1dec.rs
@@ -35,7 +35,7 @@ fn test_decode(name: &str) {
let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
path.push(format!("tests/ffv1_v3_{name}.mkv"));
- let bin = gst::parse_bin_from_description(
+ let bin = gst::parse::bin_from_description(
&format!(
"filesrc location={path:?} ! matroskademux name=m m.video_0 ! ffv1dec name=ffv1dec"
),
diff --git a/video/gif/examples/testvideosrc2gif.rs b/video/gif/examples/testvideosrc2gif.rs
index 4e7848b25..36ccd46f7 100644
--- a/video/gif/examples/testvideosrc2gif.rs
+++ b/video/gif/examples/testvideosrc2gif.rs
@@ -16,7 +16,7 @@ fn main() {
gst::init().unwrap();
gstgif::plugin_register_static().expect("Failed to register gif plugin");
- let pipeline = gst::parse_launch(ENCODE_PIPELINE).unwrap();
+ let pipeline = gst::parse::launch(ENCODE_PIPELINE).unwrap();
let bus = pipeline.bus().unwrap();
pipeline
diff --git a/video/png/examples/pngenc.rs b/video/png/examples/pngenc.rs
index 0ed819757..cab7f8397 100644
--- a/video/png/examples/pngenc.rs
+++ b/video/png/examples/pngenc.rs
@@ -17,7 +17,7 @@ fn main() {
gst::init().unwrap();
gstrspng::plugin_register_static().expect("Failed to register gif plugin");
- let pipeline = gst::parse_launch(ENCODE_PIPELINE).unwrap();
+ let pipeline = gst::parse::launch(ENCODE_PIPELINE).unwrap();
let bus = pipeline.bus().unwrap();
pipeline