Add feature v3_00
parent
b82a40571a
commit
48683a905f
|
@ -17,3 +17,7 @@ crate-type = ["rlib"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
libvlc-sys = { path = "libvlc-sys" }
|
libvlc-sys = { path = "libvlc-sys" }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = []
|
||||||
|
v3_00 = []
|
||||||
|
|
|
@ -106,6 +106,7 @@ define_enum!(
|
||||||
Gamma = libvlc_video_adjust_option_t_libvlc_adjust_Gamma,
|
Gamma = libvlc_video_adjust_option_t_libvlc_adjust_Gamma,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#[cfg(feature = "v3_00")]
|
||||||
define_enum!(
|
define_enum!(
|
||||||
ParseFlag, libvlc_media_parse_flag_t;
|
ParseFlag, libvlc_media_parse_flag_t;
|
||||||
DoInteract = libvlc_media_parse_flag_t_libvlc_media_do_interact,
|
DoInteract = libvlc_media_parse_flag_t_libvlc_media_do_interact,
|
||||||
|
|
Loading…
Reference in New Issue