Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2019-07-02 13:10:11 +0300
committerSebastian Dröge <sebastian@centricular.com>2019-07-02 13:17:36 +0300
commit456db123f2baf1836f59d7d577b09f9c864b6b91 (patch)
treed0358e036b2d766a73004adcd48166e95ba1ff90
parent0722107a570fa3081274d9a7310542c60c7f01c5 (diff)
Update element/typefind factory ranks0.5.1
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.
-rw-r--r--gst-plugin-closedcaption/src/mcc_enc.rs7
-rw-r--r--gst-plugin-closedcaption/src/mcc_parse.rs2
-rw-r--r--gst-plugin-closedcaption/src/scc_enc.rs7
-rw-r--r--gst-plugin-closedcaption/src/scc_parse.rs2
-rw-r--r--gst-plugin-file/src/filesink.rs2
-rw-r--r--gst-plugin-file/src/filesrc.rs2
-rw-r--r--gst-plugin-flv/src/flvdemux.rs2
-rw-r--r--gst-plugin-http/src/httpsrc.rs2
-rw-r--r--gst-plugin-rav1e/src/rav1enc.rs2
-rw-r--r--gst-plugin-s3/src/s3sink.rs7
-rw-r--r--gst-plugin-s3/src/s3src.rs2
-rw-r--r--gst-plugin-sodium/src/lib.rs2
12 files changed, 27 insertions, 12 deletions
diff --git a/gst-plugin-closedcaption/src/mcc_enc.rs b/gst-plugin-closedcaption/src/mcc_enc.rs
index 4c8a8b0e7..27dcc144d 100644
--- a/gst-plugin-closedcaption/src/mcc_enc.rs
+++ b/gst-plugin-closedcaption/src/mcc_enc.rs
@@ -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(),
+ )
}
diff --git a/gst-plugin-closedcaption/src/mcc_parse.rs b/gst-plugin-closedcaption/src/mcc_parse.rs
index c851ef10e..e5446291a 100644
--- a/gst-plugin-closedcaption/src/mcc_parse.rs
+++ b/gst-plugin-closedcaption/src/mcc_parse.rs
@@ -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(),
)
}
diff --git a/gst-plugin-closedcaption/src/scc_enc.rs b/gst-plugin-closedcaption/src/scc_enc.rs
index c4c67f4bc..6ef34fc1f 100644
--- a/gst-plugin-closedcaption/src/scc_enc.rs
+++ b/gst-plugin-closedcaption/src/scc_enc.rs
@@ -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(),
+ )
}
diff --git a/gst-plugin-closedcaption/src/scc_parse.rs b/gst-plugin-closedcaption/src/scc_parse.rs
index d2c45cdc2..efb08b43e 100644
--- a/gst-plugin-closedcaption/src/scc_parse.rs
+++ b/gst-plugin-closedcaption/src/scc_parse.rs
@@ -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(),
)
}
diff --git a/gst-plugin-file/src/filesink.rs b/gst-plugin-file/src/filesink.rs
index 1138b6417..c95a67fc3 100644
--- a/gst-plugin-file/src/filesink.rs
+++ b/gst-plugin-file/src/filesink.rs
@@ -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(),
)
}
diff --git a/gst-plugin-file/src/filesrc.rs b/gst-plugin-file/src/filesrc.rs
index 8de00349d..012821b4c 100644
--- a/gst-plugin-file/src/filesrc.rs
+++ b/gst-plugin-file/src/filesrc.rs
@@ -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(),
)
}
diff --git a/gst-plugin-flv/src/flvdemux.rs b/gst-plugin-flv/src/flvdemux.rs
index b197f76eb..a86c421c3 100644
--- a/gst-plugin-flv/src/flvdemux.rs
+++ b/gst-plugin-flv/src/flvdemux.rs
@@ -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(),
)
}
diff --git a/gst-plugin-http/src/httpsrc.rs b/gst-plugin-http/src/httpsrc.rs
index f571ec6c1..295748e5b 100644
--- a/gst-plugin-http/src/httpsrc.rs
+++ b/gst-plugin-http/src/httpsrc.rs
@@ -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(),
)
}
diff --git a/gst-plugin-rav1e/src/rav1enc.rs b/gst-plugin-rav1e/src/rav1enc.rs
index 549f5b4bc..d01216e05 100644
--- a/gst-plugin-rav1e/src/rav1enc.rs
+++ b/gst-plugin-rav1e/src/rav1enc.rs
@@ -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(),
)
}
diff --git a/gst-plugin-s3/src/s3sink.rs b/gst-plugin-s3/src/s3sink.rs
index 89ee50b0a..7770c3d55 100644
--- a/gst-plugin-s3/src/s3sink.rs
+++ b/gst-plugin-s3/src/s3sink.rs
@@ -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(),
+ )
}
diff --git a/gst-plugin-s3/src/s3src.rs b/gst-plugin-s3/src/s3src.rs
index 368a66041..9933e4016 100644
--- a/gst-plugin-s3/src/s3src.rs
+++ b/gst-plugin-s3/src/s3src.rs
@@ -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())
}
diff --git a/gst-plugin-sodium/src/lib.rs b/gst-plugin-sodium/src/lib.rs
index 2555c8efd..3961ddc7c 100644
--- a/gst-plugin-sodium/src/lib.rs
+++ b/gst-plugin-sodium/src/lib.rs
@@ -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| {