mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-15 04:30:33 +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
d6a28ead84
commit
833b16def6
|
@ -630,5 +630,10 @@ impl ElementImpl for MccEnc {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
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(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"mccparse",
|
"mccparse",
|
||||||
gst::Rank::None,
|
gst::Rank::Primary,
|
||||||
MccParse::get_type(),
|
MccParse::get_type(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -450,5 +450,10 @@ impl ElementImpl for SccEnc {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
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(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"sccparse",
|
"sccparse",
|
||||||
gst::Rank::None,
|
gst::Rank::Primary,
|
||||||
SccParse::get_type(),
|
SccParse::get_type(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -330,7 +330,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"rsfilesink",
|
"rsfilesink",
|
||||||
gst::Rank::Primary + 100,
|
gst::Rank::None,
|
||||||
FileSink::get_type(),
|
FileSink::get_type(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -384,7 +384,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"rsfilesrc",
|
"rsfilesrc",
|
||||||
gst::Rank::Primary + 100,
|
gst::Rank::None,
|
||||||
FileSrc::get_type(),
|
FileSrc::get_type(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1583,7 +1583,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"rsflvdemux",
|
"rsflvdemux",
|
||||||
gst::Rank::Primary + 100,
|
gst::Rank::None,
|
||||||
FlvDemux::get_type(),
|
FlvDemux::get_type(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -730,7 +730,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"rav1enc",
|
"rav1enc",
|
||||||
gst::Rank::None,
|
gst::Rank::Primary,
|
||||||
Rav1Enc::get_type(),
|
Rav1Enc::get_type(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -560,7 +560,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"reqwesthttpsrc",
|
"reqwesthttpsrc",
|
||||||
gst::Rank::Primary + 100,
|
gst::Rank::Marginal,
|
||||||
ReqwestHttpSrc::get_type(),
|
ReqwestHttpSrc::get_type(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -552,5 +552,10 @@ impl BaseSinkImpl for S3Sink {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
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> {
|
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(
|
TypeFind::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
"sodium_encrypted_typefind",
|
"sodium_encrypted_typefind",
|
||||||
gst::Rank::Primary,
|
gst::Rank::None,
|
||||||
None,
|
None,
|
||||||
Some(&Caps::new_simple("application/x-sodium-encrypted", &[])),
|
Some(&Caps::new_simple("application/x-sodium-encrypted", &[])),
|
||||||
|typefind| {
|
|typefind| {
|
||||||
|
|
Loading…
Reference in a new issue