mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-05-11 18:59:00 +00:00
cdg: set rank of parser and decoder to Primary
This commit is contained in:
parent
53e530f7db
commit
d12950a434
2 changed files with 12 additions and 2 deletions
|
@ -221,5 +221,10 @@ impl VideoDecoderImpl for CdgDec {
|
|||
}
|
||||
|
||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
gst::Element::register(Some(plugin), "cdgdec", 0, CdgDec::get_type())
|
||||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"cdgdec",
|
||||
gst::Rank::Primary,
|
||||
CdgDec::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -223,5 +223,10 @@ impl BaseParseImpl for CdgParse {
|
|||
}
|
||||
|
||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
gst::Element::register(Some(plugin), "cdgparse", 0, CdgParse::get_type())
|
||||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"cdgparse",
|
||||
gst::Rank::Primary,
|
||||
CdgParse::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue