From 19cf78d85f1b7b60bdd0370ee491465adf4d07c9 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 6 Jul 2023 22:22:43 +0200 Subject: [PATCH] Adapt to glib::Continue changing it's module Part-of: --- gstreamer-rtsp-server/src/rtsp_session_pool.rs | 3 ++- gstreamer/src/bus.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gstreamer-rtsp-server/src/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/rtsp_session_pool.rs index 49814354f..12cdcf9a3 100644 --- a/gstreamer-rtsp-server/src/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/rtsp_session_pool.rs @@ -5,8 +5,9 @@ use std::mem::transmute; use glib::{ ffi::{gboolean, gpointer}, prelude::*, - source::{ControlFlow, Priority}, + source::Priority, translate::*, + ControlFlow, }; use crate::RTSPSessionPool; diff --git a/gstreamer/src/bus.rs b/gstreamer/src/bus.rs index f1e1683ed..f4157c78c 100644 --- a/gstreamer/src/bus.rs +++ b/gstreamer/src/bus.rs @@ -13,8 +13,9 @@ use futures_util::{stream::FusedStream, StreamExt}; use glib::{ ffi::{gboolean, gpointer}, prelude::*, - source::{ControlFlow, Priority}, + source::Priority, translate::*, + ControlFlow, }; use crate::{Bus, BusSyncReply, Message, MessageType};