Merge pull request #24 from o-reo/fix_element_register

fix element register due to gstreamer rs update
This commit is contained in:
Ruben Gonzalez 2019-04-26 11:00:38 +02:00 committed by GitHub
commit 6cc722af25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -544,5 +544,5 @@ impl BaseSrcImpl for NdiAudioSrc {
}
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())
}

View file

@ -533,5 +533,5 @@ impl BaseSrcImpl for NdiVideoSrc {
}
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())
}