forked from mirrors/gstreamer-rs
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::translate::FromGlibPtrBorrow;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
use glib::translate::*;
|
||||
|
||||
use crate::RTPBaseDepayload;
|
||||
|
||||
|
|
Loading…
Reference in a new issue