From aa12b6bdc2438a9e3c1b4c4daf5a850772b18eca Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 29 May 2019 11:40:08 +0530 Subject: [PATCH] cdg: rename plugin to gstcdg No need to prefix it with 'rs', there is no other CDG implementation in GStreamer. --- gst-plugin-cdg/Cargo.toml | 2 +- gst-plugin-cdg/src/lib.rs | 2 +- gst-plugin-cdg/tests/cdgdec.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst-plugin-cdg/Cargo.toml b/gst-plugin-cdg/Cargo.toml index 7c67a733..0af74cb3 100644 --- a/gst-plugin-cdg/Cargo.toml +++ b/gst-plugin-cdg/Cargo.toml @@ -18,6 +18,6 @@ image = "0.21" muldiv = "0.2" [lib] -name = "gstrscdg" +name = "gstcdg" crate-type = ["cdylib", "rlib"] path = "src/lib.rs" diff --git a/gst-plugin-cdg/src/lib.rs b/gst-plugin-cdg/src/lib.rs index f2110114..24970007 100644 --- a/gst-plugin-cdg/src/lib.rs +++ b/gst-plugin-cdg/src/lib.rs @@ -20,7 +20,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { } gst_plugin_define!( - rscdg, + cdg, "CDG Plugin", plugin_init, "1.0", diff --git a/gst-plugin-cdg/tests/cdgdec.rs b/gst-plugin-cdg/tests/cdgdec.rs index 3059f14c..f203a6ad 100644 --- a/gst-plugin-cdg/tests/cdgdec.rs +++ b/gst-plugin-cdg/tests/cdgdec.rs @@ -11,7 +11,7 @@ use gstreamer as gst; use gstreamer_app as gst_app; use std::path::PathBuf; -use gstrscdg; +use gstcdg; fn init() { use std::sync::{Once, ONCE_INIT}; @@ -19,7 +19,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrscdg::plugin_register_static().expect("cdgdec tests"); + gstcdg::plugin_register_static().expect("cdgdec tests"); }); }