forked from mirrors/gstreamer-rs
video: Fix compilation with features=v1_10
This commit is contained in:
parent
6f867443c9
commit
b9d3a5a852
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ use std::cmp;
|
|||
use std::fmt;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
use std::str;
|
||||
|
||||
use VideoTimeCodeFlags;
|
||||
|
@ -453,6 +454,7 @@ macro_rules! generic_impl {
|
|||
generic_impl!(VideoTimeCode);
|
||||
generic_impl!(ValidVideoTimeCode);
|
||||
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
impl str::FromStr for VideoTimeCode {
|
||||
type Err = ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue