mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
rtp: Only use glib::translate
if 1.24 APIs are enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1435>
This commit is contained in:
parent
9fca740851
commit
2f99c4c560
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
use glib::prelude::*;
|
use glib::prelude::*;
|
||||||
use glib::translate::FromGlibPtrBorrow;
|
#[cfg(feature = "v1_24")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||||
|
use glib::translate::*;
|
||||||
|
|
||||||
use crate::RTPBaseDepayload;
|
use crate::RTPBaseDepayload;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue