cdg: rename plugin to gstcdg

No need to prefix it with 'rs', there is no other CDG implementation in
GStreamer.
This commit is contained in:
Guillaume Desmottes 2019-05-29 11:40:08 +05:30
parent 06bb9e1da7
commit aa12b6bdc2
3 changed files with 4 additions and 4 deletions

View file

@ -18,6 +18,6 @@ image = "0.21"
muldiv = "0.2"
[lib]
name = "gstrscdg"
name = "gstcdg"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"

View file

@ -20,7 +20,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
}
gst_plugin_define!(
rscdg,
cdg,
"CDG Plugin",
plugin_init,
"1.0",

View file

@ -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");
});
}