mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-10 10:02:31 +00:00
Update element/typefind factory ranks
The only None ranks now are: - cdgdec/cdgparse: Primary - rav1enc: Primary - reqwesthttpsrc: Marginal - s3sink/s3src: Primary - mccenc/mccparse: Primary - sccenc/sccparse: Primary All other ranks are set to None until the elements are ready to replace the existing C elements, or are otherwise production-ready and of a element kind that should be autoplugged in one way or another. For example the sodium elements are production-ready but can't be autoplugged and as such should stay at a None rank.
This commit is contained in:
parent
0722107a57
commit
456db123f2
12 changed files with 27 additions and 12 deletions
|
@ -630,5 +630,10 @@ impl ElementImpl for MccEnc {
|
|||
}
|
||||
|
||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
gst::Element::register(Some(plugin), "mccenc", gst::Rank::None, MccEnc::get_type())
|
||||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"mccenc",
|
||||
gst::Rank::Primary,
|
||||
MccEnc::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -1294,7 +1294,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"mccparse",
|
||||
gst::Rank::None,
|
||||
gst::Rank::Primary,
|
||||
MccParse::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -450,5 +450,10 @@ impl ElementImpl for SccEnc {
|
|||
}
|
||||
|
||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
gst::Element::register(Some(plugin), "sccenc", gst::Rank::None, SccEnc::get_type())
|
||||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"sccenc",
|
||||
gst::Rank::Primary,
|
||||
SccEnc::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -564,7 +564,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"sccparse",
|
||||
gst::Rank::None,
|
||||
gst::Rank::Primary,
|
||||
SccParse::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -330,7 +330,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"rsfilesink",
|
||||
gst::Rank::Primary + 100,
|
||||
gst::Rank::None,
|
||||
FileSink::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -384,7 +384,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"rsfilesrc",
|
||||
gst::Rank::Primary + 100,
|
||||
gst::Rank::None,
|
||||
FileSrc::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -1583,7 +1583,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"rsflvdemux",
|
||||
gst::Rank::Primary + 100,
|
||||
gst::Rank::None,
|
||||
FlvDemux::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -462,7 +462,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"rshttpsrc",
|
||||
gst::Rank::Primary + 100,
|
||||
gst::Rank::Marginal,
|
||||
HttpSrc::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -730,7 +730,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"rav1enc",
|
||||
gst::Rank::None,
|
||||
gst::Rank::Primary,
|
||||
Rav1Enc::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -552,5 +552,10 @@ impl BaseSinkImpl for S3Sink {
|
|||
}
|
||||
|
||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
gst::Element::register(Some(plugin), "s3sink", gst::Rank::None, S3Sink::get_type())
|
||||
gst::Element::register(
|
||||
Some(plugin),
|
||||
"s3sink",
|
||||
gst::Rank::Primary,
|
||||
S3Sink::get_type(),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -438,5 +438,5 @@ impl BaseSrcImpl for S3Src {
|
|||
}
|
||||
|
||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
gst::Element::register(Some(plugin), "s3src", gst::Rank::None, S3Src::get_type())
|
||||
gst::Element::register(Some(plugin), "s3src", gst::Rank::Primary, S3Src::get_type())
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ fn typefind_register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
TypeFind::register(
|
||||
Some(plugin),
|
||||
"sodium_encrypted_typefind",
|
||||
gst::Rank::Primary,
|
||||
gst::Rank::None,
|
||||
None,
|
||||
Some(&Caps::new_simple("application/x-sodium-encrypted", &[])),
|
||||
|typefind| {
|
||||
|
|
Loading…
Reference in a new issue