use gst::glib where applicable

This commit is contained in:
François Laignel 2021-06-03 20:20:54 +02:00
parent 91c8fd146d
commit 8dfc872544
204 changed files with 306 additions and 245 deletions

View file

@ -8,7 +8,6 @@ description = "Rust AudioFx Plugin"
edition = "2018"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }

View file

@ -6,7 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst_base::subclass::prelude::*;

View file

@ -6,7 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;
mod ring_buffer;

View file

@ -18,7 +18,7 @@
// License along with FFmpeg; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info, gst_log};

View file

@ -18,7 +18,8 @@
// License along with FFmpeg; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -7,7 +7,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error};

View file

@ -7,7 +7,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -6,7 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info};

View file

@ -6,7 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -6,6 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
mod audioecho;
mod audioloudnorm;
mod audiornnoise;

View file

@ -14,7 +14,7 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
use byte_slice_cast::*;

View file

@ -6,6 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
use gst::prelude::*;
fn init() {

View file

@ -8,7 +8,6 @@ description = "Claxon FLAC Decoder Plugin"
edition = "2018"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
claxon = { version = "0.4" }

View file

@ -6,7 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::subclass::prelude::*;
use gst::glib;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error};
use gst_audio::prelude::*;

View file

@ -6,7 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -6,6 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
mod claxondec;
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {

View file

@ -8,7 +8,6 @@ edition = "2018"
description = "An Audio filter plugin based on Csound"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }

View file

@ -15,7 +15,6 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
use std::error::Error;

View file

@ -15,7 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -15,6 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use gst::glib;
mod filter;
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {

View file

@ -14,7 +14,6 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
use byte_slice_cast::*;

View file

@ -8,7 +8,6 @@ description = "lewton Vorbis Decoder Plugin"
edition = "2018"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
lewton = { version = "0.10", default-features = false }

View file

@ -6,7 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::subclass::prelude::*;
use gst::glib;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_warning};
use gst_audio::audio_decoder_error;

View file

@ -6,7 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -6,6 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
mod lewtondec;
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {

View file

@ -9,7 +9,6 @@ edition = "2018"
[dependencies]
url = "2"
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
once_cell = "1.0"

View file

@ -1,3 +1,4 @@
use gst::glib;
use url::Url;
use std::convert::AsRef;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info, gst_trace};

View file

@ -8,7 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -7,7 +7,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info};

View file

@ -7,7 +7,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -6,6 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
mod file_location;
mod filesink;
mod filesrc;

View file

@ -8,7 +8,6 @@ license = "MIT"
edition = "2018"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"], package="gstreamer" }
gst-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"], package = "gstreamer-base" }
sodiumoxide = "0.2.1"

View file

@ -22,7 +22,7 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
use sodiumoxide::crypto::box_;

View file

@ -22,7 +22,7 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
use sodiumoxide::crypto::box_;

View file

@ -22,8 +22,7 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_log};

View file

@ -22,7 +22,8 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -22,8 +22,7 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_log};

View file

@ -22,7 +22,8 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -20,6 +20,8 @@
//
// SPDX-License-Identifier: MIT
use gst::glib;
const TYPEFIND_HEADER: &[u8; 12] = b"gst-sodium10";
// `core::slice::<impl [T]>::len` is not yet stable as a const fn
// const TYPEFIND_HEADER_SIZE: usize = TYPEFIND_HEADER.len();

View file

@ -22,7 +22,7 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
use std::sync::{Arc, Mutex};

View file

@ -22,7 +22,7 @@
//
// SPDX-License-Identifier: MIT
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
use once_cell::sync::Lazy;

View file

@ -9,7 +9,6 @@ edition = "2018"
[dependencies]
libc = "0.2"
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features=["v1_10"] }
gst-net = { package = "gstreamer-net", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }

View file

@ -15,7 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
use std::env;

View file

@ -21,9 +21,7 @@ use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_log, gst_trace};

View file

@ -16,7 +16,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -19,9 +19,7 @@ use futures::future::BoxFuture;
use futures::future::{abortable, AbortHandle};
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_log, gst_trace};

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -16,6 +16,7 @@
// Boston, MA 02110-1335, USA.
use glib::ffi::{gboolean, gpointer, GList, GType};
use gst::glib;
use gst::ffi::GstClockTime;
use libc::{c_int, c_uint, c_ulonglong, c_ushort, c_void};

View file

@ -19,9 +19,7 @@ use futures::future::BoxFuture;
use futures::future::{abortable, AbortHandle, Aborted};
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info, gst_log, gst_trace};

View file

@ -19,8 +19,9 @@ use super::ffi;
use std::ptr;
use glib::prelude::*;
use glib::translate::*;
use gst::glib;
use gst::prelude::*;
use std::mem;

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod ffi;
mod imp;

View file

@ -41,6 +41,7 @@ mod proxy;
mod queue;
use glib::translate::*;
use gst::glib;
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
udpsrc::register(plugin)?;

View file

@ -19,9 +19,7 @@ use futures::channel::oneshot;
use futures::future::BoxFuture;
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_log, gst_trace};

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -19,9 +19,7 @@ use futures::channel::oneshot;
use futures::future::BoxFuture;
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_log, gst_trace};

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -18,6 +18,7 @@
use futures::future::BoxFuture;
use gst::glib;
use gst::prelude::*;
use gst::{gst_debug, gst_error, gst_log};

View file

@ -20,9 +20,7 @@ use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_log, gst_trace};

View file

@ -16,7 +16,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -20,9 +20,7 @@ use futures::future::BoxFuture;
use futures::lock::Mutex;
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::EventView;

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -19,9 +19,7 @@ use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_log, gst_trace};

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -15,7 +15,6 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
fn init() {

View file

@ -15,7 +15,6 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
fn init() {

View file

@ -22,6 +22,7 @@ use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::GBoxed;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;

View file

@ -15,6 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use gst::glib;
use gst::prelude::*;
use gst::{gst_debug, gst_error};

View file

@ -15,7 +15,6 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
use std::sync::{Arc, Mutex};

View file

@ -15,7 +15,6 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
use std::sync::{Arc, Mutex};

View file

@ -16,7 +16,6 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
use std::io::Write;

View file

@ -17,7 +17,7 @@
use std::thread;
use glib::prelude::*;
use gst::prelude::*;
fn init() {
use std::sync::Once;

View file

@ -15,7 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
use std::thread;

View file

@ -9,7 +9,6 @@ edition = "2018"
[dependencies]
url = "2.1"
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
reqwest = { version = "0.11", features = ["cookies", "gzip"] }
futures = "0.3"
hyperx = "1.0"

View file

@ -6,6 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
mod reqwesthttpsrc;
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {

View file

@ -17,7 +17,7 @@ use url::Url;
use once_cell::sync::Lazy;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_trace, gst_warning};

View file

@ -6,7 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -6,6 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
use gst::prelude::*;
use std::sync::mpsc;

View file

@ -12,7 +12,6 @@ edition = "2018"
[dependencies]
bytes = "1.0"
futures = "0.3"
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
rusoto_core = "0.46"

View file

@ -15,8 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;
mod packet;

View file

@ -6,6 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use gst::glib;
mod aws_transcriber;
mod s3sink;
mod s3src;

View file

@ -6,9 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_error, gst_info, gst_trace};

View file

@ -6,7 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -13,9 +13,8 @@ use futures::future;
use once_cell::sync::Lazy;
use rusoto_s3::*;
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info};

View file

@ -6,7 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -8,7 +8,6 @@ description = "Rust JSON Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
once_cell = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }

View file

@ -15,7 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_log, gst_trace};

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -15,8 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info, gst_log, gst_trace, gst_warning};

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -17,6 +17,8 @@
#![recursion_limit = "128"]
use gst::glib;
mod jsongstenc;
mod jsongstparse;
mod line_reader;

View file

@ -8,7 +8,6 @@ description = "Rust Regular Expression Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
once_cell = "1.0"
regex = "1"

View file

@ -15,8 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::gst_error;
use gst::prelude::*;
use gst::subclass::prelude::*;

View file

@ -15,7 +15,8 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::glib;
use gst::prelude::*;
mod imp;

View file

@ -17,6 +17,8 @@
#![recursion_limit = "128"]
use gst::glib;
mod gstregex;
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {

View file

@ -15,7 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use gst::prelude::*;
fn init() {
use std::sync::Once;

View file

@ -8,7 +8,6 @@ description = "Rust Text Wrap Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
once_cell = "1.0"
textwrap = { version = "0.13.2", features = ["hyphenation"] }
hyphenation = "0.8"

View file

@ -15,8 +15,7 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::prelude::*;
use glib::subclass::prelude::*;
use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info, gst_log};

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