examples: webrtc: fix plugins check
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>
Mon, 5 Dec 2022 14:58:46 +0000 (15:58 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 5 Dec 2022 17:04:57 +0000 (17:04 +0000)
`videoconvert` and `videoscale` are now part of the `videoconvertscale`
plugin, see d11f13f476411b828387c3c26619bc77c255affb

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3529>

subprojects/gst-examples/webrtc/janus/rust/src/main.rs
subprojects/gst-examples/webrtc/multiparty-sendrecv/gst-rust/src/main.rs
subprojects/gst-examples/webrtc/sendrecv/gst-rust/src/main.rs

index 3fd989f..62713cb 100644 (file)
@@ -139,7 +139,7 @@ impl Drop for AppInner {
 fn check_plugins() -> Result<(), anyhow::Error> {
     let needed = [
         "videotestsrc",
-        "videoconvert",
+        "videoconvertscale",
         "autodetect",
         "vpx",
         "webrtc",
index c0ee835..da9fab5 100644 (file)
@@ -951,7 +951,7 @@ fn check_plugins() -> Result<(), anyhow::Error> {
     let needed = [
         "videotestsrc",
         "audiotestsrc",
-        "videoconvert",
+        "videoconvertscale",
         "audioconvert",
         "autodetect",
         "opus",
@@ -963,7 +963,6 @@ fn check_plugins() -> Result<(), anyhow::Error> {
         "rtpmanager",
         "rtp",
         "playback",
-        "videoscale",
         "audioresample",
         "compositor",
         "audiomixer",
index d935127..27c519e 100644 (file)
@@ -591,7 +591,7 @@ fn check_plugins() -> Result<(), anyhow::Error> {
     let needed = [
         "videotestsrc",
         "audiotestsrc",
-        "videoconvert",
+        "videoconvertscale",
         "audioconvert",
         "autodetect",
         "opus",
@@ -603,7 +603,6 @@ fn check_plugins() -> Result<(), anyhow::Error> {
         "rtpmanager",
         "rtp",
         "playback",
-        "videoscale",
         "audioresample",
     ];