teltek / gst-plugin-ndi

GStreamer NDI Plugin for Linux
GNU Lesser General Public License v2.1
154 stars 27 forks source link

DeviceProviderMetaData Error #75

Closed normen closed 2 years ago

normen commented 2 years ago

Lately, when trying to compile on MacOS, I am getting this error

Compiling gstreamer-video v0.17.2
error[E0599]: no function or associated item named `new` found for struct `DeviceProviderMetadata` in the current scope
  --> src/device_provider/imp.rs:52:52
   |
52 |             gst::subclass::DeviceProviderMetadata::new("NewTek NDI Device Provider",
   |                                                    ^^^ function or associated item not found in `DeviceProviderMetadata`

Using:

It used to compile a few weeks ago.

Thanks for this plugin!

sdroege commented 2 years ago

Run cargo update, that function is available since version 0.17.4 of the GStreamer bindings. Should also update the Cargo.toml here accordingly.

Thanks for reporting!

normen commented 2 years ago

Thanks for the fix! 🙂