mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-21 08:28:14 +00:00
Switch to 2018 edition
Fixes https://github.com/teltek/gst-plugin-ndi/issues/15
This commit is contained in:
parent
060190d59a
commit
57d928ad96
5 changed files with 21 additions and 23 deletions
|
@ -5,6 +5,7 @@ authors = ["Ruben Gonzalez <rubenrua@teltek.es>", "Daniel Vilar <daniel.peiteado
|
|||
repository = "https://github.com/teltek/gst-plugin-ndi"
|
||||
license = "LGPL"
|
||||
description = "NewTek NDI Plugin"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
glib = { version = "0.8.0", features = ["subclassing"] }
|
||||
|
|
|
@ -18,9 +18,9 @@ pub mod ndisys;
|
|||
mod ndivideosrc;
|
||||
pub mod receiver;
|
||||
|
||||
use ndi::*;
|
||||
use ndisys::*;
|
||||
use receiver::*;
|
||||
use crate::ndi::*;
|
||||
use crate::ndisys::*;
|
||||
use crate::receiver::*;
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::time;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use ndisys::*;
|
||||
use crate::ndisys::*;
|
||||
use std::ffi;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use glib;
|
||||
use glib::subclass;
|
||||
use glib::subclass::prelude::*;
|
||||
use gst;
|
||||
use gst::prelude::*;
|
||||
use gst::subclass::prelude::*;
|
||||
|
@ -12,15 +11,15 @@ use gst_base::subclass::prelude::*;
|
|||
use std::sync::Mutex;
|
||||
use std::{i32, u32};
|
||||
|
||||
use connect_ndi;
|
||||
use ndisys;
|
||||
use crate::connect_ndi;
|
||||
use crate::ndisys;
|
||||
|
||||
use AudioReceiver;
|
||||
use Receiver;
|
||||
use ReceiverControlHandle;
|
||||
use ReceiverItem;
|
||||
use TimestampMode;
|
||||
use DEFAULT_RECEIVER_NDI_NAME;
|
||||
use crate::AudioReceiver;
|
||||
use crate::Receiver;
|
||||
use crate::ReceiverControlHandle;
|
||||
use crate::ReceiverItem;
|
||||
use crate::TimestampMode;
|
||||
use crate::DEFAULT_RECEIVER_NDI_NAME;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
struct Settings {
|
||||
|
|
|
@ -1,28 +1,26 @@
|
|||
use glib;
|
||||
use glib::subclass;
|
||||
use glib::subclass::prelude::*;
|
||||
use gst;
|
||||
use gst::prelude::*;
|
||||
use gst::subclass::prelude::*;
|
||||
use gst_base;
|
||||
use gst_base::prelude::*;
|
||||
use gst_base::subclass::prelude::*;
|
||||
|
||||
use gst_video;
|
||||
|
||||
use std::sync::Mutex;
|
||||
use std::{i32, u32};
|
||||
|
||||
use ndisys;
|
||||
use crate::ndisys;
|
||||
|
||||
use connect_ndi;
|
||||
use crate::connect_ndi;
|
||||
|
||||
use Receiver;
|
||||
use ReceiverControlHandle;
|
||||
use ReceiverItem;
|
||||
use TimestampMode;
|
||||
use VideoReceiver;
|
||||
use DEFAULT_RECEIVER_NDI_NAME;
|
||||
use crate::Receiver;
|
||||
use crate::ReceiverControlHandle;
|
||||
use crate::ReceiverItem;
|
||||
use crate::TimestampMode;
|
||||
use crate::VideoReceiver;
|
||||
use crate::DEFAULT_RECEIVER_NDI_NAME;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
struct Settings {
|
||||
|
|
Loading…
Reference in a new issue