Commit 19c55562 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate with latest GIR

parent d608cff9
......@@ -11,7 +11,7 @@ fn main() {
let mut context = gst::ParseContext::new();
let pipeline =
match gst::parse_launch_full(&pipeline_str, Some(&mut context), gst::PARSE_FLAG_NONE) {
match gst::parse_launch_full(&pipeline_str, Some(&mut context), gst::ParseFlags::NONE) {
Ok(pipeline) => pipeline,
Err(err) => {
if let Some(gst::ParseError::NoSuchElement) = err.kind::<gst::ParseError>() {
......
......@@ -23,7 +23,7 @@ fn main() {
.get_by_name("src")
.unwrap();
let src_pad = src.get_static_pad("src").unwrap();
src_pad.add_probe(gst::PAD_PROBE_TYPE_BUFFER, |_, probe_info| {
src_pad.add_probe(gst::PadProbeType::BUFFER, |_, probe_info| {
if let Some(gst::PadProbeData::Buffer(ref buffer)) = probe_info.data {
let map = buffer.map_readable().unwrap();
......
......@@ -13,7 +13,7 @@ keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
build = "build.rs"
[dependencies]
bitflags = "0.9"
bitflags = "1.0"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
......@@ -33,6 +33,7 @@ v1_10 = ["gstreamer-sys/v1_10", "gstreamer-base/v1_10", "gstreamer-app-sys/v1_10
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-base/v1_12", "gstreamer-app-sys/v1_12", "v1_10"]
embed-lgpl-docs = ["rustdoc-stripper"]
purge-lgpl-docs = ["rustdoc-stripper"]
dox = ["gstreamer-app-sys/dox"]
default-features = []
[badges]
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......@@ -31,7 +31,7 @@ glib_wrapper! {
}
impl AppSink {
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn get_buffer_list_support(&self) -> bool {
unsafe {
from_glib(ffi::gst_app_sink_get_buffer_list_support(self.to_glib_none().0))
......@@ -86,7 +86,7 @@ impl AppSink {
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
pub fn set_buffer_list_support(&self, enable_lists: bool) {
unsafe {
ffi::gst_app_sink_set_buffer_list_support(self.to_glib_none().0, enable_lists.to_glib());
......@@ -127,14 +127,14 @@ impl AppSink {
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn try_pull_preroll(&self, timeout: gst::ClockTime) -> Option<gst::Sample> {
unsafe {
from_glib_full(ffi::gst_app_sink_try_pull_preroll(self.to_glib_none().0, timeout))
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn try_pull_sample(&self, timeout: gst::ClockTime) -> Option<gst::Sample> {
unsafe {
from_glib_full(ffi::gst_app_sink_try_pull_sample(self.to_glib_none().0, timeout))
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use AppStreamType;
......@@ -51,7 +51,7 @@ impl AppSrc {
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn get_duration(&self) -> gst::ClockTime {
unsafe {
ffi::gst_app_src_get_duration(self.to_glib_none().0)
......@@ -107,7 +107,7 @@ impl AppSrc {
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn set_duration(&self, duration: gst::ClockTime) {
unsafe {
ffi::gst_app_src_set_duration(self.to_glib_none().0, duration);
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
mod app_sink;
......
......@@ -13,7 +13,7 @@ keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
build = "build.rs"
[dependencies]
bitflags = "0.9"
bitflags = "1.0"
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
gstreamer-sys = { git = "https://github.com/sdroege/gstreamer-sys", features = ["v1_8"] }
......@@ -31,6 +31,7 @@ v1_10 = ["gstreamer-sys/v1_10", "gstreamer-audio-sys/v1_10"]
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-audio-sys/v1_12", "v1_10"]
embed-lgpl-docs = ["rustdoc-stripper"]
purge-lgpl-docs = ["rustdoc-stripper"]
dox = ["gstreamer-audio-sys/dox"]
default-features = []
[badges]
......
......@@ -183,15 +183,15 @@ impl AudioFormatInfo {
}
pub fn is_float(&self) -> bool {
self.flags().contains(::AUDIO_FORMAT_FLAG_FLOAT)
self.flags().contains(::AudioFormatFlags::FLOAT)
}
pub fn is_integer(&self) -> bool {
self.flags().contains(::AUDIO_FORMAT_FLAG_INTEGER)
self.flags().contains(::AudioFormatFlags::INTEGER)
}
pub fn is_signed(&self) -> bool {
self.flags().contains(::AUDIO_FORMAT_FLAG_SIGNED)
self.flags().contains(::AudioFormatFlags::SIGNED)
}
......
......@@ -251,7 +251,7 @@ impl AudioInfo {
}
pub fn is_unpositioned(&self) -> bool {
self.flags().contains(::AUDIO_FLAG_UNPOSITIONED)
self.flags().contains(::AudioFlags::UNPOSITIONED)
}
}
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......@@ -10,8 +10,8 @@ use glib::translate::*;
bitflags! {
pub struct AudioFlags: u32 {
const AUDIO_FLAG_NONE = 0;
const AUDIO_FLAG_UNPOSITIONED = 1;
const NONE = 0;
const UNPOSITIONED = 1;
}
}
......@@ -58,11 +58,11 @@ impl SetValue for AudioFlags {
bitflags! {
pub struct AudioFormatFlags: u32 {
const AUDIO_FORMAT_FLAG_INTEGER = 1;
const AUDIO_FORMAT_FLAG_FLOAT = 2;
const AUDIO_FORMAT_FLAG_SIGNED = 4;
const AUDIO_FORMAT_FLAG_COMPLEX = 16;
const AUDIO_FORMAT_FLAG_UNPACK = 32;
const INTEGER = 1;
const FLOAT = 2;
const SIGNED = 4;
const COMPLEX = 16;
const UNPACK = 32;
}
}
......@@ -109,8 +109,8 @@ impl SetValue for AudioFormatFlags {
bitflags! {
pub struct AudioPackFlags: u32 {
const AUDIO_PACK_FLAG_NONE = 0;
const AUDIO_PACK_FLAG_TRUNCATE_RANGE = 1;
const NONE = 0;
const TRUNCATE_RANGE = 1;
}
}
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
mod stream_volume;
......@@ -13,17 +13,8 @@ pub use self::enums::StreamVolumeFormat;
mod flags;
pub use self::flags::AudioFlags;
pub use self::flags::AUDIO_FLAG_NONE;
pub use self::flags::AUDIO_FLAG_UNPOSITIONED;
pub use self::flags::AudioFormatFlags;
pub use self::flags::AUDIO_FORMAT_FLAG_INTEGER;
pub use self::flags::AUDIO_FORMAT_FLAG_FLOAT;
pub use self::flags::AUDIO_FORMAT_FLAG_SIGNED;
pub use self::flags::AUDIO_FORMAT_FLAG_COMPLEX;
pub use self::flags::AUDIO_FORMAT_FLAG_UNPACK;
pub use self::flags::AudioPackFlags;
pub use self::flags::AUDIO_PACK_FLAG_NONE;
pub use self::flags::AUDIO_PACK_FLAG_TRUNCATE_RANGE;
#[doc(hidden)]
pub mod traits {
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use StreamVolumeFormat;
......
......@@ -13,7 +13,7 @@ keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
build = "build.rs"
[dependencies]
bitflags = "0.9"
bitflags = "1.0"
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
gstreamer-sys = { git = "https://github.com/sdroege/gstreamer-sys", features = ["v1_8"] }
......@@ -30,6 +30,7 @@ v1_10 = ["gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12", "v1_10"]
embed-lgpl-docs = ["rustdoc-stripper"]
purge-lgpl-docs = ["rustdoc-stripper"]
dox = ["gstreamer-base-sys/dox"]
default-features = []
[badges]
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......@@ -56,7 +56,7 @@ impl Adapter {
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn dts_at_discont(&self) -> gst::ClockTime {
unsafe {
ffi::gst_adapter_dts_at_discont(self.to_glib_none().0)
......@@ -107,7 +107,7 @@ impl Adapter {
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn offset_at_discont(&self) -> u64 {
unsafe {
ffi::gst_adapter_offset_at_discont(self.to_glib_none().0)
......@@ -130,7 +130,7 @@ impl Adapter {
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn prev_offset(&self) -> (u64, u64) {
unsafe {
let mut distance = mem::uninitialized();
......@@ -155,7 +155,7 @@ impl Adapter {
}
}
#[cfg(feature = "v1_10")]
#[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn pts_at_discont(&self) -> gst::ClockTime {
unsafe {
ffi::gst_adapter_pts_at_discont(self.to_glib_none().0)
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......@@ -37,7 +37,7 @@ pub trait BaseSinkExt {
fn get_blocksize(&self) -> u32;
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
fn get_drop_out_of_segment(&self) -> bool;
fn get_last_sample(&self) -> Option<gst::Sample>;
......@@ -68,7 +68,7 @@ pub trait BaseSinkExt {
fn set_blocksize(&self, blocksize: u32);
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
fn set_drop_out_of_segment(&self, drop_out_of_segment: bool);
fn set_last_sample_enabled(&self, enabled: bool);
......@@ -139,7 +139,7 @@ impl<O: IsA<BaseSink> + IsA<glib::object::Object>> BaseSinkExt for O {
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
fn get_drop_out_of_segment(&self) -> bool {
unsafe {
from_glib(ffi::gst_base_sink_get_drop_out_of_segment(self.to_glib_none().0))
......@@ -235,7 +235,7 @@ impl<O: IsA<BaseSink> + IsA<glib::object::Object>> BaseSinkExt for O {
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
fn set_drop_out_of_segment(&self, drop_out_of_segment: bool) {
unsafe {
ffi::gst_base_sink_set_drop_out_of_segment(self.to_glib_none().0, drop_out_of_segment.to_glib());
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
mod adapter;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use BaseSrc;
......
......@@ -13,7 +13,7 @@ keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
build = "build.rs"
[dependencies]
bitflags = "0.9"
bitflags = "1.0"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
......@@ -28,6 +28,7 @@ optional = true
[features]
embed-lgpl-docs = ["rustdoc-stripper"]
purge-lgpl-docs = ["rustdoc-stripper"]
dox = ["gstreamer-player-sys/dox"]
default-features = []
[badges]
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
mod player;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use Error;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use PlayerStreamInfo;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use PlayerSignalDispatcher;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use PlayerAudioInfo;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use PlayerStreamInfo;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use PlayerStreamInfo;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use PlayerVideoRenderer;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......
......@@ -13,7 +13,7 @@ keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
build = "build.rs"
[dependencies]
bitflags = "0.9"
bitflags = "1.0"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
......@@ -31,6 +31,7 @@ v1_10 = ["gstreamer-sys/v1_10", "gstreamer-video-sys/v1_10"]
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-video-sys/v1_12", "v1_10"]
embed-lgpl-docs = ["rustdoc-stripper"]
purge-lgpl-docs = ["rustdoc-stripper"]
dox = ["gstreamer-video-sys/dox"]
default-features = []
[badges]
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......@@ -159,7 +159,7 @@ impl SetValue for VideoColorPrimaries {
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum VideoFieldOrder {
Unknown,
......@@ -169,7 +169,7 @@ pub enum VideoFieldOrder {
__Unknown(i32),
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
#[doc(hidden)]
impl ToGlib for VideoFieldOrder {
type GlibType = ffi::GstVideoFieldOrder;
......@@ -184,7 +184,7 @@ impl ToGlib for VideoFieldOrder {
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
#[doc(hidden)]
impl FromGlib<ffi::GstVideoFieldOrder> for VideoFieldOrder {
fn from_glib(value: ffi::GstVideoFieldOrder) -> Self {
......@@ -198,28 +198,28 @@ impl FromGlib<ffi::GstVideoFieldOrder> for VideoFieldOrder {
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
impl StaticType for VideoFieldOrder {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_video_field_order_get_type()) }
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
impl<'a> FromValueOptional<'a> for VideoFieldOrder {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
impl<'a> FromValue<'a> for VideoFieldOrder {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstVideoFieldOrder>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
#[cfg(feature = "v1_12")]
#[cfg(any(feature = "v1_12", feature = "dox"))]
impl SetValue for VideoFieldOrder {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
use ffi;
......@@ -10,15 +10,15 @@ use glib::translate::*;
bitflags! {
pub struct VideoChromaSite: u32 {
const VIDEO_CHROMA_SITE_UNKNOWN = 0;
const VIDEO_CHROMA_SITE_NONE = 1;
const VIDEO_CHROMA_SITE_H_COSITED = 2;
const VIDEO_CHROMA_SITE_V_COSITED = 4;
const VIDEO_CHROMA_SITE_ALT_LINE = 8;
const VIDEO_CHROMA_SITE_COSITED = 6;
const VIDEO_CHROMA_SITE_JPEG = 1;
const VIDEO_CHROMA_SITE_MPEG2 = 2;
const VIDEO_CHROMA_SITE_DV = 14;
const UNKNOWN = 0;
const NONE = 1;
const H_COSITED = 2;
const V_COSITED = 4;
const ALT_LINE = 8;
const COSITED = 6;
const JPEG = 1;
const MPEG2 = 2;
const DV = 14;
}
}
......@@ -65,9 +65,9 @@ impl SetValue for VideoChromaSite {
bitflags! {
pub struct VideoFlags: u32 {
const VIDEO_FLAG_NONE = 0;
const VIDEO_FLAG_VARIABLE_FPS = 1;
const VIDEO_FLAG_PREMULTIPLIED_ALPHA = 2;
const NONE = 0;
const VARIABLE_FPS = 1;
const PREMULTIPLIED_ALPHA = 2;
}
}
......@@ -114,15 +114,15 @@ impl SetValue for VideoFlags {
bitflags! {
pub struct VideoFormatFlags: u32 {
const VIDEO_FORMAT_FLAG_YUV = 1;
const VIDEO_FORMAT_FLAG_RGB = 2;
const VIDEO_FORMAT_FLAG_GRAY = 4;
const VIDEO_FORMAT_FLAG_ALPHA = 8;
const VIDEO_FORMAT_FLAG_LE = 16;
const VIDEO_FORMAT_FLAG_PALETTE = 32;
const VIDEO_FORMAT_FLAG_COMPLEX = 64;
const VIDEO_FORMAT_FLAG_UNPACK = 128;
const VIDEO_FORMAT_FLAG_TILED = 256;
const YUV = 1;
const RGB = 2;
const GRAY = 4;
const ALPHA = 8;
const LE = 16;
const PALETTE = 32;
const COMPLEX = 64;
const UNPACK = 128;
const TILED = 256;
}
}
......@@ -169,13 +169,13 @@ impl SetValue for VideoFormatFlags {
bitflags! {
pub struct VideoFrameFlags: u32 {
const VIDEO_FRAME_FLAG_NONE = 0;
const VIDEO_FRAME_FLAG_INTERLACED = 1;
const VIDEO_FRAME_FLAG_TFF = 2;
const VIDEO_FRAME_FLAG_RFF = 4;
const VIDEO_FRAME_FLAG_ONEFIELD = 8;
const VIDEO_FRAME_FLAG_MULTIPLE_VIEW = 16;
const VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE = 32;
const NONE = 0;
const INTERLACED = 1;
const TFF = 2;
const RFF = 4;
const ONEFIELD = 8;
const MULTIPLE_VIEW = 16;
const FIRST_IN_BUNDLE = 32;
}
}
......@@ -222,14 +222,14 @@ impl SetValue for VideoFrameFlags {
bitflags! {
pub struct VideoMultiviewFlags: u32 {
const VIDEO_MULTIVIEW_FLAGS_NONE = 0;
const VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST = 1;
const VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED = 2;
const VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED = 4;
const VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED = 8;
const VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED = 16;
const VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT = 16384;
const VIDEO_MULTIVIEW_FLAGS_MIXED_MONO = 32768;
const NONE = 0;
const RIGHT_VIEW_FIRST = 1;
const LEFT_FLIPPED = 2;
const LEFT_FLOPPED = 4;
const RIGHT_FLIPPED = 8;
const RIGHT_FLOPPED = 16;
const HALF_ASPECT = 16384;
const MIXED_MONO = 32768;
}
}
......
// This file was generated by gir (6a48033) from gir-files (???)
// This file was generated by gir (0fe730d) from gir-files (???)
// DO NOT EDIT
mod video_overlay;
......@@ -8,7 +8,7 @@ pub use self::video_overlay::VideoOverlayExt;
mod enums;
pub use self::enums::VideoColorMatrix;