mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-29 13:30:34 +00:00
fix element register due to gstreamer rs update
This commit is contained in:
parent
6dc39b2dea
commit
c1eecbc5c4
2 changed files with 2 additions and 2 deletions
|
@ -544,5 +544,5 @@ impl BaseSrcImpl for NdiAudioSrc {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(plugin, "ndiaudiosrc", 0, NdiAudioSrc::get_type())
|
gst::Element::register(Some(plugin), "ndiaudiosrc", 0, NdiAudioSrc::get_type())
|
||||||
}
|
}
|
||||||
|
|
|
@ -533,5 +533,5 @@ impl BaseSrcImpl for NdiVideoSrc {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(plugin, "ndivideosrc", 0, NdiVideoSrc::get_type())
|
gst::Element::register(Some(plugin), "ndivideosrc", 0, NdiVideoSrc::get_type())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue