Update for gst::Rank API changes

This commit is contained in:
Sebastian Dröge 2023-11-02 14:10:59 +02:00
parent 436b6d8efb
commit 16b917abb1
103 changed files with 119 additions and 119 deletions

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsaudioecho",
gst::Rank::None,
gst::Rank::NONE,
AudioEcho::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"audioloudnorm",
gst::Rank::None,
gst::Rank::NONE,
AudioLoudNorm::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"audiornnoise",
gst::Rank::None,
gst::Rank::NONE,
AudioRNNoise::static_type(),
)
}

View file

@ -22,7 +22,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ebur128level",
gst::Rank::None,
gst::Rank::NONE,
EbuR128Level::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"hrtfrender",
gst::Rank::None,
gst::Rank::NONE,
HrtfRender::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"claxondec",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
ClaxonDec::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"csoundfilter",
gst::Rank::None,
gst::Rank::NONE,
CsoundFilter::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"lewtondec",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
LewtonDec::static_type(),
)
}

View file

@ -50,7 +50,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"spotifyaudiosrc",
gst::Rank::Primary,
gst::Rank::PRIMARY,
SpotifyAudioSrc::static_type(),
)
}

View file

@ -23,7 +23,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsfilesink",
gst::Rank::None,
gst::Rank::NONE,
FileSink::static_type(),
)
}

View file

@ -22,7 +22,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsfilesrc",
gst::Rank::None,
gst::Rank::NONE,
FileSrc::static_type(),
)
}

View file

@ -29,7 +29,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"intersink",
gst::Rank::None,
gst::Rank::NONE,
InterSink::static_type(),
)
}

View file

@ -28,7 +28,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"intersrc",
gst::Rank::None,
gst::Rank::NONE,
InterSrc::static_type(),
)
}

View file

@ -35,7 +35,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"sodiumdecrypter",
gst::Rank::None,
gst::Rank::NONE,
Decrypter::static_type(),
)
}

View file

@ -35,7 +35,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"sodiumencrypter",
gst::Rank::None,
gst::Rank::NONE,
Encrypter::static_type(),
)
}

View file

@ -46,7 +46,7 @@ fn typefind_register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
TypeFind::register(
Some(plugin),
"sodium_encrypted_typefind",
gst::Rank::None,
gst::Rank::NONE,
None,
Some(&Caps::builder("application/x-sodium-encrypted").build()),
|typefind| {

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
super::ASYNC_MUTEX_ELEMENT_NAME,
gst::Rank::None,
gst::Rank::NONE,
AsyncMutexSink::static_type(),
)
}

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
super::SYNC_MUTEX_ELEMENT_NAME,
gst::Rank::None,
gst::Rank::NONE,
DirectSink::static_type(),
)
}

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
super::TASK_ELEMENT_NAME,
gst::Rank::None,
gst::Rank::NONE,
TaskSink::static_type(),
)
}

View file

@ -13,7 +13,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-standalone-src",
gst::Rank::None,
gst::Rank::NONE,
TestSrc::static_type(),
)
}

View file

@ -31,7 +31,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-appsrc",
gst::Rank::None,
gst::Rank::NONE,
AppSrc::static_type(),
)
}

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-audiotestsrc",
gst::Rank::None,
gst::Rank::NONE,
AudioTestSrc::static_type(),
)
}

View file

@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-input-selector",
gst::Rank::None,
gst::Rank::NONE,
InputSelector::static_type(),
)
}

View file

@ -33,7 +33,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-jitterbuffer",
gst::Rank::None,
gst::Rank::NONE,
JitterBuffer::static_type(),
)
}

View file

@ -34,13 +34,13 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-proxysink",
gst::Rank::None,
gst::Rank::NONE,
ProxySink::static_type(),
)?;
gst::Element::register(
Some(plugin),
"ts-proxysrc",
gst::Rank::None,
gst::Rank::NONE,
ProxySrc::static_type(),
)
}

View file

@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-queue",
gst::Rank::None,
gst::Rank::NONE,
Queue::static_type(),
)
}

View file

@ -31,7 +31,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-tcpclientsrc",
gst::Rank::None,
gst::Rank::NONE,
TcpClientSrc::static_type(),
)
}

View file

@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-udpsink",
gst::Rank::None,
gst::Rank::NONE,
UdpSink::static_type(),
)
}

View file

@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ts-udpsrc",
gst::Rank::None,
gst::Rank::NONE,
UdpSrc::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsflvdemux",
gst::Rank::None,
gst::Rank::NONE,
FlvDemux::static_type(),
)
}

View file

@ -46,25 +46,25 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"isofmp4mux",
gst::Rank::Primary,
gst::Rank::PRIMARY,
ISOFMP4Mux::static_type(),
)?;
gst::Element::register(
Some(plugin),
"cmafmux",
gst::Rank::Primary,
gst::Rank::PRIMARY,
CMAFMux::static_type(),
)?;
gst::Element::register(
Some(plugin),
"dashmp4mux",
gst::Rank::Primary,
gst::Rank::PRIMARY,
DASHMP4Mux::static_type(),
)?;
gst::Element::register(
Some(plugin),
"onviffmp4mux",
gst::Rank::Primary,
gst::Rank::PRIMARY,
ONVIFFMP4Mux::static_type(),
)?;

View file

@ -37,13 +37,13 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"isomp4mux",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
ISOMP4Mux::static_type(),
)?;
gst::Element::register(
Some(plugin),
"onvifmp4mux",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
ONVIFMP4Mux::static_type(),
)?;

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"awss3hlssink",
gst::Rank::None,
gst::Rank::NONE,
S3HlsSink::static_type(),
)
}

View file

@ -35,13 +35,13 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rusotos3sink",
gst::Rank::Primary,
gst::Rank::PRIMARY,
S3Sink::static_type(),
)?;
gst::Element::register(
Some(plugin),
"awss3sink",
gst::Rank::Primary,
gst::Rank::PRIMARY,
S3Sink::static_type(),
)
}

View file

@ -20,13 +20,13 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rusotos3src",
gst::Rank::Primary,
gst::Rank::PRIMARY,
S3Src::static_type(),
)?;
gst::Element::register(
Some(plugin),
"awss3src",
gst::Rank::Primary,
gst::Rank::PRIMARY,
S3Src::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"awstranscribeparse",
gst::Rank::None,
gst::Rank::NONE,
TranscribeParse::static_type(),
)
}

View file

@ -116,7 +116,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"awstranscriber",
gst::Rank::None,
gst::Rank::NONE,
Transcriber::static_type(),
)
}

View file

@ -64,14 +64,14 @@ pub fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"hlssink3",
gst::Rank::None,
gst::Rank::NONE,
HlsSink3::static_type(),
)?;
gst::Element::register(
Some(plugin),
"hlscmafsink",
gst::Rank::None,
gst::Rank::NONE,
HlsCmafSink::static_type(),
)?;

View file

@ -16,7 +16,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::DeviceProvider::register(
Some(plugin),
"ndideviceprovider",
gst::Rank::Primary,
gst::Rank::PRIMARY,
DeviceProvider::static_type(),
)
}

View file

@ -12,7 +12,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ndisink",
gst::Rank::None,
gst::Rank::NONE,
NdiSink::static_type(),
)
}

View file

@ -12,7 +12,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ndisinkcombiner",
gst::Rank::None,
gst::Rank::NONE,
NdiSinkCombiner::static_type(),
)
}

View file

@ -13,7 +13,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ndisrc",
gst::Rank::None,
gst::Rank::NONE,
NdiSrc::static_type(),
)
}

View file

@ -12,7 +12,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ndisrcdemux",
gst::Rank::Primary,
gst::Rank::PRIMARY,
NdiSrcDemux::static_type(),
)
}

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"onvifmetadatacombiner",
gst::Rank::Primary,
gst::Rank::PRIMARY,
OnvifMetadataCombiner::static_type(),
)
}

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rtponvifmetadatadepay",
gst::Rank::Primary,
gst::Rank::PRIMARY,
OnvifMetadataDepay::static_type(),
)
}

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"onvifmetadataoverlay",
gst::Rank::Primary,
gst::Rank::PRIMARY,
OnvifMetadataOverlay::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"onvifmetadataparse",
gst::Rank::None,
gst::Rank::NONE,
OnvifMetadataParse::static_type(),
)
}

View file

@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rtponvifmetadatapay",
gst::Rank::Primary,
gst::Rank::PRIMARY,
OnvifMetadataPay::static_type(),
)
}

View file

@ -17,7 +17,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"raptorqdec",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
RaptorqDec::static_type(),
)
}

View file

@ -17,7 +17,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"raptorqenc",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
RaptorqEnc::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"reqwesthttpsrc",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
ReqwestHttpSrc::static_type(),
)
}

View file

@ -28,7 +28,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rtpav1depay",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
RTPAv1Depay::static_type(),
)
}

View file

@ -28,7 +28,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rtpav1pay",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
RTPAv1Pay::static_type(),
)
}

View file

@ -12,7 +12,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rtpgccbwe",
gst::Rank::None,
gst::Rank::NONE,
BandwidthEstimator::static_type(),
)
}

View file

@ -481,7 +481,7 @@ impl Codec {
// Replicating decodebin logic
&gst::ElementFactory::factories_with_type(
gst::ElementFactoryType::DECODER,
gst::Rank::Marginal,
gst::Rank::MARGINAL,
),
) {
// Check if new decoders have been installed meanwhile
@ -736,17 +736,17 @@ impl Codecs {
static CODECS: Lazy<Codecs> = Lazy::new(|| {
let decoders = gst::ElementFactory::factories_with_type(
gst::ElementFactoryType::DECODER,
gst::Rank::Marginal,
gst::Rank::MARGINAL,
);
let encoders = gst::ElementFactory::factories_with_type(
gst::ElementFactoryType::ENCODER,
gst::Rank::Marginal,
gst::Rank::MARGINAL,
);
let payloaders = gst::ElementFactory::factories_with_type(
gst::ElementFactoryType::PAYLOADER,
gst::Rank::Marginal,
gst::Rank::MARGINAL,
);
Codecs(vec![

View file

@ -125,25 +125,25 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"webrtcsink",
gst::Rank::None,
gst::Rank::NONE,
WebRTCSink::static_type(),
)?;
gst::Element::register(
Some(plugin),
"awskvswebrtcsink",
gst::Rank::None,
gst::Rank::NONE,
AwsKvsWebRTCSink::static_type(),
)?;
gst::Element::register(
Some(plugin),
"whipclientsink",
gst::Rank::None,
gst::Rank::NONE,
WhipWebRTCSink::static_type(),
)?;
gst::Element::register(
Some(plugin),
"livekitwebrtcsink",
gst::Rank::None,
gst::Rank::NONE,
LiveKitWebRTCSink::static_type(),
)?;

View file

@ -56,7 +56,7 @@ pub fn register(plugin: Option<&gst::Plugin>) -> Result<(), glib::BoolError> {
gst::Element::register(
plugin,
"webrtcsrc",
gst::Rank::Primary,
gst::Rank::PRIMARY,
WebRTCSrc::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"whepsrc",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
WhepSrc::static_type(),
)
}

View file

@ -37,7 +37,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"whipsink",
gst::Rank::Marginal,
gst::Rank::MARGINAL,
WhipSink::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"textahead",
gst::Rank::Primary,
gst::Rank::PRIMARY,
TextAhead::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"jsongstenc",
gst::Rank::None,
gst::Rank::NONE,
JsonGstEnc::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"jsongstparse",
gst::Rank::Primary,
gst::Rank::PRIMARY,
JsonGstParse::static_type(),
)
}

View file

@ -16,5 +16,5 @@ glib::wrapper! {
}
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(Some(plugin), "regex", gst::Rank::None, RegEx::static_type())
gst::Element::register(Some(plugin), "regex", gst::Rank::NONE, RegEx::static_type())
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"textwrap",
gst::Rank::None,
gst::Rank::NONE,
TextWrap::static_type(),
)
}

View file

@ -25,7 +25,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsidentity",
gst::Rank::None,
gst::Rank::NONE,
Identity::static_type(),
)
}

View file

@ -44,7 +44,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsprogressbin",
gst::Rank::None,
gst::Rank::NONE,
ProgressBin::static_type(),
)
}

View file

@ -25,7 +25,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsrgb2gray",
gst::Rank::None,
gst::Rank::NONE,
Rgb2Gray::static_type(),
)
}

View file

@ -25,7 +25,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rssinesrc",
gst::Rank::None,
gst::Rank::NONE,
SineSrc::static_type(),
)
}

View file

@ -206,7 +206,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsrgb2gray",
gst::Rank::None,
gst::Rank::NONE,
Rgb2Gray::static_type(),
)
}
@ -315,7 +315,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rsrgb2gray",
gst::Rank::None,
gst::Rank::NONE,
Rgb2Gray::static_type(),
)
}

View file

@ -362,7 +362,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rssinesrc",
gst::Rank::None,
gst::Rank::NONE,
SineSrc::static_type(),
)
}

View file

@ -41,7 +41,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"fallbacksrc",
gst::Rank::None,
gst::Rank::NONE,
FallbackSrc::static_type(),
)
}

View file

@ -34,7 +34,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"fallbackswitch",
gst::Rank::None,
gst::Rank::NONE,
FallbackSwitch::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"livesync",
gst::Rank::None,
gst::Rank::NONE,
LiveSync::static_type(),
)?;

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"togglerecord",
gst::Rank::None,
gst::Rank::NONE,
ToggleRecord::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"uriplaylistbin",
gst::Rank::None,
gst::Rank::NONE,
UriPlaylistBin::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"cdgdec",
gst::Rank::Primary,
gst::Rank::PRIMARY,
CdgDec::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"cdgparse",
gst::Rank::Primary,
gst::Rank::PRIMARY,
CdgParse::static_type(),
)
}

View file

@ -77,7 +77,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
TypeFind::register(
Some(plugin),
"cdg_typefind",
gst::Rank::None,
gst::Rank::NONE,
Some("cdg"),
Some(&Caps::builder("video/x-cdg").build()),
|typefind| {

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ccdetect",
gst::Rank::None,
gst::Rank::NONE,
CCDetect::static_type(),
)
}

View file

@ -25,7 +25,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"cea608overlay",
gst::Rank::Primary,
gst::Rank::PRIMARY,
Cea608Overlay::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"cea608tocea708",
gst::Rank::None,
gst::Rank::NONE,
Cea608ToCea708::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"cea608tojson",
gst::Rank::None,
gst::Rank::NONE,
Cea608ToJson::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"cea608tott",
gst::Rank::None,
gst::Rank::NONE,
Cea608ToTt::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"jsontovtt",
gst::Rank::None,
gst::Rank::NONE,
JsonToVtt::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"mccenc",
gst::Rank::Primary,
gst::Rank::PRIMARY,
MccEnc::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"mccparse",
gst::Rank::Primary,
gst::Rank::PRIMARY,
MccParse::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"sccenc",
gst::Rank::Primary,
gst::Rank::PRIMARY,
SccEnc::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"sccparse",
gst::Rank::Primary,
gst::Rank::PRIMARY,
SccParse::static_type(),
)
}

View file

@ -31,7 +31,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"transcriberbin",
gst::Rank::None,
gst::Rank::NONE,
TranscriberBin::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"tttocea608",
gst::Rank::None,
gst::Rank::NONE,
TtToCea608::static_type(),
)
}

View file

@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"tttojson",
gst::Rank::None,
gst::Rank::NONE,
TtToJson::static_type(),
)
}

View file

@ -21,9 +21,9 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
let rank = if gst::version() >= (1, 21, 2, 1) {
// AOM av1dec rank was demoted in 1.22 dev cycle
// https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3287
gst::Rank::Primary
gst::Rank::PRIMARY
} else {
gst::Rank::Primary + 1
gst::Rank::PRIMARY + 1
};
gst::Element::register(Some(plugin), "dav1ddec", rank, Dav1dDec::static_type())

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ffv1dec",
gst::Rank::None,
gst::Rank::NONE,
Ffv1Dec::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"gifenc",
gst::Rank::Primary,
gst::Rank::PRIMARY,
GifEnc::static_type(),
)
}

View file

@ -35,7 +35,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"gtk4paintablesink",
gst::Rank::None,
gst::Rank::NONE,
PaintableSink::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"hsvdetector",
gst::Rank::None,
gst::Rank::NONE,
HsvDetector::static_type(),
)
}

View file

@ -21,7 +21,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"hsvfilter",
gst::Rank::None,
gst::Rank::NONE,
HsvFilter::static_type(),
)
}

View file

@ -95,7 +95,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rspngenc",
gst::Rank::Primary,
gst::Rank::PRIMARY,
PngEncoder::static_type(),
)
}

View file

@ -24,7 +24,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rav1enc",
gst::Rank::Primary,
gst::Rank::PRIMARY,
Rav1Enc::static_type(),
)
}

View file

@ -20,7 +20,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"roundedcorners",
gst::Rank::None,
gst::Rank::NONE,
RoundedCorners::static_type(),
)
}

Some files were not shown because too many files have changed in this diff Show more