lib.rs 134 KB
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
1 2
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e88f9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 63dd366)
Thibault Saunier's avatar
Thibault Saunier committed
3 4 5
// DO NOT EDIT

#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
6 7 8 9 10
#![allow(
    clippy::approx_constant,
    clippy::type_complexity,
    clippy::unreadable_literal
)]
Thibault Saunier's avatar
Thibault Saunier committed
11

12
extern crate gio_sys as gio;
Thibault Saunier's avatar
Thibault Saunier committed
13 14 15 16
extern crate glib_sys as glib;
extern crate gobject_sys as gobject;
extern crate gstreamer_base_sys as gst_base;
extern crate gstreamer_pbutils_sys as gst_pbutils;
17 18
extern crate gstreamer_sys as gst;
extern crate libc;
Thibault Saunier's avatar
Thibault Saunier committed
19 20

#[allow(unused_imports)]
21 22 23 24
use libc::{
    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
    intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE,
};
Thibault Saunier's avatar
Thibault Saunier committed
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169

#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType};

// Enums
pub type GESAssetLoadingReturn = c_int;
pub const GES_ASSET_LOADING_ERROR: GESAssetLoadingReturn = 0;
pub const GES_ASSET_LOADING_ASYNC: GESAssetLoadingReturn = 1;
pub const GES_ASSET_LOADING_OK: GESAssetLoadingReturn = 2;

pub type GESChildrenControlMode = c_int;
pub const GES_CHILDREN_UPDATE: GESChildrenControlMode = 0;
pub const GES_CHILDREN_IGNORE_NOTIFIES: GESChildrenControlMode = 1;
pub const GES_CHILDREN_UPDATE_OFFSETS: GESChildrenControlMode = 2;
pub const GES_CHILDREN_UPDATE_ALL_VALUES: GESChildrenControlMode = 3;
pub const GES_CHILDREN_LAST: GESChildrenControlMode = 4;

pub type GESEdge = c_int;
pub const GES_EDGE_START: GESEdge = 0;
pub const GES_EDGE_END: GESEdge = 1;
pub const GES_EDGE_NONE: GESEdge = 2;

pub type GESEditMode = c_int;
pub const GES_EDIT_MODE_NORMAL: GESEditMode = 0;
pub const GES_EDIT_MODE_RIPPLE: GESEditMode = 1;
pub const GES_EDIT_MODE_ROLL: GESEditMode = 2;
pub const GES_EDIT_MODE_TRIM: GESEditMode = 3;
pub const GES_EDIT_MODE_SLIDE: GESEditMode = 4;

pub type GESError = c_int;
pub const GES_ERROR_ASSET_WRONG_ID: GESError = 0;
pub const GES_ERROR_ASSET_LOADING: GESError = 1;
pub const GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE: GESError = 2;

pub type GESTextHAlign = c_int;
pub const GES_TEXT_HALIGN_LEFT: GESTextHAlign = 0;
pub const GES_TEXT_HALIGN_CENTER: GESTextHAlign = 1;
pub const GES_TEXT_HALIGN_RIGHT: GESTextHAlign = 2;
pub const GES_TEXT_HALIGN_POSITION: GESTextHAlign = 4;
pub const GES_TEXT_HALIGN_ABSOLUTE: GESTextHAlign = 5;

pub type GESTextVAlign = c_int;
pub const GES_TEXT_VALIGN_BASELINE: GESTextVAlign = 0;
pub const GES_TEXT_VALIGN_BOTTOM: GESTextVAlign = 1;
pub const GES_TEXT_VALIGN_TOP: GESTextVAlign = 2;
pub const GES_TEXT_VALIGN_POSITION: GESTextVAlign = 3;
pub const GES_TEXT_VALIGN_CENTER: GESTextVAlign = 4;
pub const GES_TEXT_VALIGN_ABSOLUTE: GESTextVAlign = 5;

pub type GESVideoStandardTransitionType = c_int;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE: GESVideoStandardTransitionType = 0;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR: GESVideoStandardTransitionType = 1;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB: GESVideoStandardTransitionType = 2;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL: GESVideoStandardTransitionType = 3;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR: GESVideoStandardTransitionType = 4;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR: GESVideoStandardTransitionType = 5;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL: GESVideoStandardTransitionType = 6;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI: GESVideoStandardTransitionType = 7;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO: GESVideoStandardTransitionType = 8;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V: GESVideoStandardTransitionType = 21;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H: GESVideoStandardTransitionType = 22;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC: GESVideoStandardTransitionType = 23;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC: GESVideoStandardTransitionType = 24;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC: GESVideoStandardTransitionType = 25;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC: GESVideoStandardTransitionType = 26;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL: GESVideoStandardTransitionType = 41;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR: GESVideoStandardTransitionType = 42;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V: GESVideoStandardTransitionType = 43;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H: GESVideoStandardTransitionType = 44;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL: GESVideoStandardTransitionType = 45;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL: GESVideoStandardTransitionType = 46;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD: GESVideoStandardTransitionType = 47;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD: GESVideoStandardTransitionType = 48;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D: GESVideoStandardTransitionType = 61;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L: GESVideoStandardTransitionType = 62;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U: GESVideoStandardTransitionType = 63;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R: GESVideoStandardTransitionType = 64;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D: GESVideoStandardTransitionType = 65;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L: GESVideoStandardTransitionType = 66;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U: GESVideoStandardTransitionType = 67;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R: GESVideoStandardTransitionType = 68;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT: GESVideoStandardTransitionType = 101;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12: GESVideoStandardTransitionType = 201;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3: GESVideoStandardTransitionType = 202;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6: GESVideoStandardTransitionType = 203;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9: GESVideoStandardTransitionType = 204;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV: GESVideoStandardTransitionType = 205;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH: GESVideoStandardTransitionType = 206;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB: GESVideoStandardTransitionType = 207;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT: GESVideoStandardTransitionType = 211;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR: GESVideoStandardTransitionType = 212;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV: GESVideoStandardTransitionType = 213;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH: GESVideoStandardTransitionType = 214;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT: GESVideoStandardTransitionType = 221;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR: GESVideoStandardTransitionType = 222;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB: GESVideoStandardTransitionType = 223;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL: GESVideoStandardTransitionType = 224;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV: GESVideoStandardTransitionType = 225;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD: GESVideoStandardTransitionType = 226;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV: GESVideoStandardTransitionType = 227;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH: GESVideoStandardTransitionType = 228;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T: GESVideoStandardTransitionType = 231;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R: GESVideoStandardTransitionType = 232;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B: GESVideoStandardTransitionType = 233;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L: GESVideoStandardTransitionType = 234;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV: GESVideoStandardTransitionType = 235;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH: GESVideoStandardTransitionType = 236;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL: GESVideoStandardTransitionType = 241;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL: GESVideoStandardTransitionType = 242;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR: GESVideoStandardTransitionType = 243;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR: GESVideoStandardTransitionType = 244;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL: GESVideoStandardTransitionType = 245;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL: GESVideoStandardTransitionType = 246;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T: GESVideoStandardTransitionType = 251;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L: GESVideoStandardTransitionType = 252;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B: GESVideoStandardTransitionType = 253;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R: GESVideoStandardTransitionType = 254;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R: GESVideoStandardTransitionType = 261;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U: GESVideoStandardTransitionType = 262;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V: GESVideoStandardTransitionType = 263;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H: GESVideoStandardTransitionType = 264;
pub const GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE: GESVideoStandardTransitionType = 512;

pub type GESVideoTestPattern = c_int;
pub const GES_VIDEO_TEST_PATTERN_SMPTE: GESVideoTestPattern = 0;
pub const GES_VIDEO_TEST_PATTERN_SNOW: GESVideoTestPattern = 1;
pub const GES_VIDEO_TEST_PATTERN_BLACK: GESVideoTestPattern = 2;
pub const GES_VIDEO_TEST_PATTERN_WHITE: GESVideoTestPattern = 3;
pub const GES_VIDEO_TEST_PATTERN_RED: GESVideoTestPattern = 4;
pub const GES_VIDEO_TEST_PATTERN_GREEN: GESVideoTestPattern = 5;
pub const GES_VIDEO_TEST_PATTERN_BLUE: GESVideoTestPattern = 6;
pub const GES_VIDEO_TEST_PATTERN_CHECKERS1: GESVideoTestPattern = 7;
pub const GES_VIDEO_TEST_PATTERN_CHECKERS2: GESVideoTestPattern = 8;
pub const GES_VIDEO_TEST_PATTERN_CHECKERS4: GESVideoTestPattern = 9;
pub const GES_VIDEO_TEST_PATTERN_CHECKERS8: GESVideoTestPattern = 10;
pub const GES_VIDEO_TEST_PATTERN_CIRCULAR: GESVideoTestPattern = 11;
pub const GES_VIDEO_TEST_PATTERN_BLINK: GESVideoTestPattern = 12;
pub const GES_VIDEO_TEST_PATTERN_SMPTE75: GESVideoTestPattern = 13;
pub const GES_VIDEO_TEST_ZONE_PLATE: GESVideoTestPattern = 14;
pub const GES_VIDEO_TEST_GAMUT: GESVideoTestPattern = 15;
pub const GES_VIDEO_TEST_CHROMA_ZONE_PLATE: GESVideoTestPattern = 16;
pub const GES_VIDEO_TEST_PATTERN_SOLID: GESVideoTestPattern = 17;

// Constants
pub const GES_META_DESCRIPTION: *const c_char = b"description\0" as *const u8 as *const c_char;
170 171
pub const GES_META_FORMATTER_EXTENSION: *const c_char =
    b"extension\0" as *const u8 as *const c_char;
Thibault Saunier's avatar
Thibault Saunier committed
172 173 174 175
pub const GES_META_FORMATTER_MIMETYPE: *const c_char = b"mimetype\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_NAME: *const c_char = b"name\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_RANK: *const c_char = b"rank\0" as *const u8 as *const c_char;
pub const GES_META_FORMATTER_VERSION: *const c_char = b"version\0" as *const u8 as *const c_char;
176 177
pub const GES_META_FORMAT_VERSION: *const c_char =
    b"format-version\0" as *const u8 as *const c_char;
Thibault Saunier's avatar
Thibault Saunier committed
178 179
pub const GES_META_VOLUME: *const c_char = b"volume\0" as *const u8 as *const c_char;
pub const GES_META_VOLUME_DEFAULT: c_double = 1.000000;
180 181
pub const GES_MULTI_FILE_URI_PREFIX: *const c_char =
    b"multifile://\0" as *const u8 as *const c_char;
Thibault Saunier's avatar
Thibault Saunier committed
182 183
pub const GES_PADDING: c_int = 4;
pub const GES_PADDING_LARGE: c_int = 20;
184 185
pub const GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY: u32 = 4294967295;
pub const GES_VERSION_MAJOR: c_int = 1;
Sebastian Dröge's avatar
Sebastian Dröge committed
186
pub const GES_VERSION_MICRO: c_int = 2;
187 188
pub const GES_VERSION_MINOR: c_int = 16;
pub const GES_VERSION_NANO: c_int = 0;
Thibault Saunier's avatar
Thibault Saunier committed
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220

// Flags
pub type GESMetaFlag = c_uint;
pub const GES_META_READABLE: GESMetaFlag = 1;
pub const GES_META_WRITABLE: GESMetaFlag = 2;
pub const GES_META_READ_WRITE: GESMetaFlag = 3;

pub type GESPipelineFlags = c_uint;
pub const GES_PIPELINE_MODE_PREVIEW_AUDIO: GESPipelineFlags = 1;
pub const GES_PIPELINE_MODE_PREVIEW_VIDEO: GESPipelineFlags = 2;
pub const GES_PIPELINE_MODE_PREVIEW: GESPipelineFlags = 3;
pub const GES_PIPELINE_MODE_RENDER: GESPipelineFlags = 4;
pub const GES_PIPELINE_MODE_SMART_RENDER: GESPipelineFlags = 8;

pub type GESTrackType = c_uint;
pub const GES_TRACK_TYPE_UNKNOWN: GESTrackType = 1;
pub const GES_TRACK_TYPE_AUDIO: GESTrackType = 2;
pub const GES_TRACK_TYPE_VIDEO: GESTrackType = 4;
pub const GES_TRACK_TYPE_TEXT: GESTrackType = 8;
pub const GES_TRACK_TYPE_CUSTOM: GESTrackType = 16;

// Unions
#[repr(C)]
#[derive(Copy, Clone)]
pub union GESVideoSourceClass_ABI {
    pub _ges_reserved: [gpointer; 4],
    pub abi: GESVideoSourceClass_ABI_abi,
}

impl ::std::fmt::Debug for GESVideoSourceClass_ABI {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESVideoSourceClass_ABI @ {:?}", self as *const _))
221 222 223
            .field("_ges_reserved", unsafe { &self._ges_reserved })
            .field("abi", unsafe { &self.abi })
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
224 225 226 227
    }
}

// Callbacks
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
pub type GESCreateElementForGapFunc =
    Option<unsafe extern "C" fn(*mut GESTrack) -> *mut gst::GstElement>;
pub type GESCreateTrackElementFunc =
    Option<unsafe extern "C" fn(*mut GESClip, GESTrackType) -> *mut GESTrackElement>;
pub type GESCreateTrackElementsFunc =
    Option<unsafe extern "C" fn(*mut GESClip, GESTrackType) -> *mut glib::GList>;
pub type GESExtractableCheckId =
    Option<unsafe extern "C" fn(GType, *const c_char, *mut *mut glib::GError) -> *mut c_char>;
pub type GESFillTrackElementFunc = Option<
    unsafe extern "C" fn(*mut GESClip, *mut GESTrackElement, *mut gst::GstElement) -> gboolean,
>;
pub type GESFormatterCanLoadURIMethod = Option<
    unsafe extern "C" fn(*mut GESFormatter, *const c_char, *mut *mut glib::GError) -> gboolean,
>;
pub type GESFormatterLoadFromURIMethod = Option<
    unsafe extern "C" fn(
        *mut GESFormatter,
        *mut GESTimeline,
        *const c_char,
        *mut *mut glib::GError,
    ) -> gboolean,
>;
pub type GESFormatterSaveToURIMethod = Option<
    unsafe extern "C" fn(
        *mut GESFormatter,
        *mut GESTimeline,
        *const c_char,
        gboolean,
        *mut *mut glib::GError,
    ) -> gboolean,
>;
pub type GESMetaForeachFunc = Option<
    unsafe extern "C" fn(*const GESMetaContainer, *const c_char, *const gobject::GValue, gpointer),
>;
Thibault Saunier's avatar
Thibault Saunier committed
262 263 264 265 266 267

// Records
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESAssetClass {
    pub parent: gobject::GObjectClass,
268 269 270 271 272
    pub start_loading: Option<
        unsafe extern "C" fn(*mut GESAsset, *mut *mut glib::GError) -> GESAssetLoadingReturn,
    >,
    pub extract:
        Option<unsafe extern "C" fn(*mut GESAsset, *mut *mut glib::GError) -> *mut GESExtractable>,
Thibault Saunier's avatar
Thibault Saunier committed
273 274
    pub inform_proxy: Option<unsafe extern "C" fn(*mut GESAsset, *const c_char)>,
    pub proxied: Option<unsafe extern "C" fn(*mut GESAsset, *mut GESAsset)>,
275 276 277
    pub request_id_update: Option<
        unsafe extern "C" fn(*mut GESAsset, *mut *mut c_char, *mut glib::GError) -> gboolean,
    >,
Thibault Saunier's avatar
Thibault Saunier committed
278 279 280 281 282 283
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESAssetClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESAssetClass @ {:?}", self as *const _))
284 285 286 287 288 289 290 291
            .field("parent", &self.parent)
            .field("start_loading", &self.start_loading)
            .field("extract", &self.extract)
            .field("inform_proxy", &self.inform_proxy)
            .field("proxied", &self.proxied)
            .field("request_id_update", &self.request_id_update)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
292 293 294 295
    }
}

#[repr(C)]
296
pub struct _GESAssetPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
297

298
pub type GESAssetPrivate = *mut _GESAssetPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
299 300 301 302 303 304 305 306 307 308 309 310

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESAudioSourceClass {
    pub parent_class: GESSourceClass,
    pub create_source: Option<unsafe extern "C" fn(*mut GESTrackElement) -> *mut gst::GstElement>,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESAudioSourceClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESAudioSourceClass @ {:?}", self as *const _))
311 312
            .field("create_source", &self.create_source)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
313 314 315 316
    }
}

#[repr(C)]
317
pub struct _GESAudioSourcePrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
318

319
pub type GESAudioSourcePrivate = *mut _GESAudioSourcePrivate;
Thibault Saunier's avatar
Thibault Saunier committed
320 321 322 323 324 325 326 327 328 329 330

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESAudioTestSourceClass {
    pub parent_class: GESAudioSourceClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESAudioTestSourceClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESAudioTestSourceClass @ {:?}", self as *const _))
331
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
332 333 334 335
    }
}

#[repr(C)]
336
pub struct _GESAudioTestSourcePrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
337

338
pub type GESAudioTestSourcePrivate = *mut _GESAudioTestSourcePrivate;
Thibault Saunier's avatar
Thibault Saunier committed
339 340 341 342 343 344 345 346 347 348 349

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESAudioTrackClass {
    pub parent_class: GESTrackClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESAudioTrackClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESAudioTrackClass @ {:?}", self as *const _))
350 351 352
            .field("parent_class", &self.parent_class)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
353 354 355 356
    }
}

#[repr(C)]
357
pub struct _GESAudioTrackPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
358

359
pub type GESAudioTrackPrivate = *mut _GESAudioTrackPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
360 361 362 363 364 365 366 367 368 369 370

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESAudioTransitionClass {
    pub parent_class: GESTransitionClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESAudioTransitionClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESAudioTransitionClass @ {:?}", self as *const _))
371 372 373
            .field("parent_class", &self.parent_class)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
374 375 376 377
    }
}

#[repr(C)]
378
pub struct _GESAudioTransitionPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
379

380
pub type GESAudioTransitionPrivate = *mut _GESAudioTransitionPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
381 382 383 384 385 386 387 388 389 390 391

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESAudioUriSourceClass {
    pub parent_class: GESAudioSourceClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESAudioUriSourceClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESAudioUriSourceClass @ {:?}", self as *const _))
392
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
393 394 395 396
    }
}

#[repr(C)]
397
pub struct _GESAudioUriSourcePrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
398

399
pub type GESAudioUriSourcePrivate = *mut _GESAudioUriSourcePrivate;
Thibault Saunier's avatar
Thibault Saunier committed
400 401 402 403 404 405 406 407 408 409 410

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESBaseEffectClass {
    pub parent_class: GESOperationClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESBaseEffectClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESBaseEffectClass @ {:?}", self as *const _))
411
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
412 413 414 415 416 417 418 419 420 421 422 423 424
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESBaseEffectClipClass {
    pub parent_class: GESOperationClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESBaseEffectClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESBaseEffectClipClass @ {:?}", self as *const _))
425
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
426 427 428 429
    }
}

#[repr(C)]
430
pub struct _GESBaseEffectClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
431

432
pub type GESBaseEffectClipPrivate = *mut _GESBaseEffectClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
433 434

#[repr(C)]
435
pub struct _GESBaseEffectPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
436

437
pub type GESBaseEffectPrivate = *mut _GESBaseEffectPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
438 439 440 441 442 443 444 445 446 447

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESBaseTransitionClipClass {
    pub parent_class: GESOperationClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESBaseTransitionClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
448 449 450 451 452
        f.debug_struct(&format!(
            "GESBaseTransitionClipClass @ {:?}",
            self as *const _
        ))
        .finish()
Thibault Saunier's avatar
Thibault Saunier committed
453 454 455 456
    }
}

#[repr(C)]
457
pub struct _GESBaseTransitionClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
458

459
pub type GESBaseTransitionClipPrivate = *mut _GESBaseTransitionClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
460 461 462 463 464 465

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESBaseXmlFormatterClass {
    pub parent: GESFormatterClass,
    pub content_parser: glib::GMarkupParser,
466 467 468 469 470 471 472
    pub save: Option<
        unsafe extern "C" fn(
            *mut GESFormatter,
            *mut GESTimeline,
            *mut *mut glib::GError,
        ) -> *mut glib::GString,
    >,
Thibault Saunier's avatar
Thibault Saunier committed
473 474 475 476 477
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESBaseXmlFormatterClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
478 479 480 481 482 483 484 485 486
        f.debug_struct(&format!(
            "GESBaseXmlFormatterClass @ {:?}",
            self as *const _
        ))
        .field("parent", &self.parent)
        .field("content_parser", &self.content_parser)
        .field("save", &self.save)
        .field("_ges_reserved", &self._ges_reserved)
        .finish()
Thibault Saunier's avatar
Thibault Saunier committed
487 488 489 490
    }
}

#[repr(C)]
491
pub struct _GESBaseXmlFormatterPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
492

493
pub type GESBaseXmlFormatterPrivate = *mut _GESBaseXmlFormatterPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
494 495 496 497 498 499 500 501 502 503 504

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESClipAssetClass {
    pub parent: GESAssetClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESClipAssetClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESClipAssetClass @ {:?}", self as *const _))
505 506 507
            .field("parent", &self.parent)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
508 509 510 511
    }
}

#[repr(C)]
512
pub struct _GESClipAssetPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
513

514
pub type GESClipAssetPrivate = *mut _GESClipAssetPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
515 516 517 518 519 520 521 522 523 524 525 526 527

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESClipClass {
    pub parent_class: GESContainerClass,
    pub create_track_element: GESCreateTrackElementFunc,
    pub create_track_elements: GESCreateTrackElementsFunc,
    pub _ges_reserved: [gpointer; 20],
}

impl ::std::fmt::Debug for GESClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESClipClass @ {:?}", self as *const _))
528 529 530
            .field("create_track_element", &self.create_track_element)
            .field("create_track_elements", &self.create_track_elements)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
531 532 533 534
    }
}

#[repr(C)]
535
pub struct _GESClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
536

537
pub type GESClipPrivate = *mut _GESClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
538 539 540 541 542 543 544 545 546

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESCommandLineFormatterClass {
    pub parent_class: GESFormatterClass,
}

impl ::std::fmt::Debug for GESCommandLineFormatterClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
547 548 549 550 551 552
        f.debug_struct(&format!(
            "GESCommandLineFormatterClass @ {:?}",
            self as *const _
        ))
        .field("parent_class", &self.parent_class)
        .finish()
Thibault Saunier's avatar
Thibault Saunier committed
553 554 555 556
    }
}

#[repr(C)]
557
pub struct _GESCommandLineFormatterPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
558

559
pub type GESCommandLineFormatterPrivate = *mut _GESCommandLineFormatterPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
560 561 562 563 564 565 566

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESContainerClass {
    pub parent_class: GESTimelineElementClass,
    pub child_added: Option<unsafe extern "C" fn(*mut GESContainer, *mut GESTimelineElement)>,
    pub child_removed: Option<unsafe extern "C" fn(*mut GESContainer, *mut GESTimelineElement)>,
567 568 569 570
    pub add_child:
        Option<unsafe extern "C" fn(*mut GESContainer, *mut GESTimelineElement) -> gboolean>,
    pub remove_child:
        Option<unsafe extern "C" fn(*mut GESContainer, *mut GESTimelineElement) -> gboolean>,
Thibault Saunier's avatar
Thibault Saunier committed
571 572
    pub ungroup: Option<unsafe extern "C" fn(*mut GESContainer, gboolean) -> *mut glib::GList>,
    pub group: Option<unsafe extern "C" fn(*mut glib::GList) -> *mut GESContainer>,
573 574 575 576 577 578 579 580 581 582
    pub edit: Option<
        unsafe extern "C" fn(
            *mut GESContainer,
            *mut glib::GList,
            c_int,
            GESEditMode,
            GESEdge,
            u64,
        ) -> gboolean,
    >,
Thibault Saunier's avatar
Thibault Saunier committed
583 584 585 586 587 588 589
    pub grouping_priority: c_uint,
    pub _ges_reserved: [gpointer; 20],
}

impl ::std::fmt::Debug for GESContainerClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESContainerClass @ {:?}", self as *const _))
590 591 592 593 594 595 596 597
            .field("child_added", &self.child_added)
            .field("child_removed", &self.child_removed)
            .field("add_child", &self.add_child)
            .field("remove_child", &self.remove_child)
            .field("ungroup", &self.ungroup)
            .field("group", &self.group)
            .field("edit", &self.edit)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
598 599 600 601
    }
}

#[repr(C)]
602
pub struct _GESContainerPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
603

604
pub type GESContainerPrivate = *mut _GESContainerPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
605 606 607 608 609 610 611 612 613 614 615

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESEffectAssetClass {
    pub parent_class: GESTrackElementAssetClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESEffectAssetClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESEffectAssetClass @ {:?}", self as *const _))
616 617 618
            .field("parent_class", &self.parent_class)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
619 620 621 622
    }
}

#[repr(C)]
623
pub struct _GESEffectAssetPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
624

625
pub type GESEffectAssetPrivate = *mut _GESEffectAssetPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
626 627 628 629 630 631 632 633 634 635 636 637

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESEffectClass {
    pub parent_class: GESBaseEffectClass,
    pub rate_properties: *mut glib::GList,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESEffectClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESEffectClass @ {:?}", self as *const _))
638
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
639 640 641 642 643 644 645 646 647 648 649 650 651
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESEffectClipClass {
    pub parent_class: GESBaseEffectClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESEffectClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESEffectClipClass @ {:?}", self as *const _))
652
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
653 654 655 656
    }
}

#[repr(C)]
657
pub struct _GESEffectClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
658

659
pub type GESEffectClipPrivate = *mut _GESEffectClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
660 661

#[repr(C)]
662
pub struct _GESEffectPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
663

664
pub type GESEffectPrivate = *mut _GESEffectPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
665 666 667 668 669 670 671 672 673

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESExtractableInterface {
    pub parent: gobject::GTypeInterface,
    pub asset_type: GType,
    pub check_id: GESExtractableCheckId,
    pub can_update_asset: gboolean,
    pub set_asset: Option<unsafe extern "C" fn(*mut GESExtractable, *mut GESAsset)>,
674 675 676 677
    pub set_asset_full:
        Option<unsafe extern "C" fn(*mut GESExtractable, *mut GESAsset) -> gboolean>,
    pub get_parameters_from_id:
        Option<unsafe extern "C" fn(*const c_char, *mut c_uint) -> *mut gobject::GParameter>,
Thibault Saunier's avatar
Thibault Saunier committed
678 679
    pub get_id: Option<unsafe extern "C" fn(*mut GESExtractable) -> *mut c_char>,
    pub get_real_extractable_type: Option<unsafe extern "C" fn(GType, *const c_char) -> GType>,
680 681 682 683 684 685 686
    pub register_metas: Option<
        unsafe extern "C" fn(
            *mut GESExtractableInterface,
            *mut gobject::GObjectClass,
            *mut GESAsset,
        ) -> gboolean,
    >,
Thibault Saunier's avatar
Thibault Saunier committed
687 688 689 690 691 692
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESExtractableInterface {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESExtractableInterface @ {:?}", self as *const _))
693 694 695 696 697 698 699 700 701 702 703 704
            .field("parent", &self.parent)
            .field("asset_type", &self.asset_type)
            .field("check_id", &self.check_id)
            .field("can_update_asset", &self.can_update_asset)
            .field("set_asset", &self.set_asset)
            .field("set_asset_full", &self.set_asset_full)
            .field("get_parameters_from_id", &self.get_parameters_from_id)
            .field("get_id", &self.get_id)
            .field("get_real_extractable_type", &self.get_real_extractable_type)
            .field("register_metas", &self.register_metas)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESFormatterClass {
    pub parent_class: gobject::GInitiallyUnownedClass,
    pub can_load_uri: GESFormatterCanLoadURIMethod,
    pub load_from_uri: GESFormatterLoadFromURIMethod,
    pub save_to_uri: GESFormatterSaveToURIMethod,
    pub name: *const c_char,
    pub description: *const c_char,
    pub extension: *const c_char,
    pub mimetype: *const c_char,
    pub version: c_double,
    pub rank: gst::GstRank,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESFormatterClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESFormatterClass @ {:?}", self as *const _))
727 728 729 730 731
            .field("parent_class", &self.parent_class)
            .field("can_load_uri", &self.can_load_uri)
            .field("load_from_uri", &self.load_from_uri)
            .field("save_to_uri", &self.save_to_uri)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
732 733 734 735
    }
}

#[repr(C)]
736
pub struct _GESFormatterPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
737

738
pub type GESFormatterPrivate = *mut _GESFormatterPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
739 740 741 742 743 744 745 746 747 748 749

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESGroupClass {
    pub parent_class: GESContainerClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESGroupClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESGroupClass @ {:?}", self as *const _))
750 751 752
            .field("parent_class", &self.parent_class)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
753 754 755 756
    }
}

#[repr(C)]
757
pub struct _GESGroupPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
758

759
pub type GESGroupPrivate = *mut _GESGroupPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
760 761 762 763 764 765 766 767 768 769 770

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESImageSourceClass {
    pub parent_class: GESVideoSourceClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESImageSourceClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESImageSourceClass @ {:?}", self as *const _))
771 772 773
            .field("parent_class", &self.parent_class)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
774 775 776 777
    }
}

#[repr(C)]
778
pub struct _GESImageSourcePrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
779

780
pub type GESImageSourcePrivate = *mut _GESImageSourcePrivate;
Thibault Saunier's avatar
Thibault Saunier committed
781 782 783 784 785 786 787 788 789 790 791 792 793 794

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESLayerClass {
    pub parent_class: gobject::GInitiallyUnownedClass,
    pub get_objects: Option<unsafe extern "C" fn(*mut GESLayer) -> *mut glib::GList>,
    pub object_added: Option<unsafe extern "C" fn(*mut GESLayer, *mut GESClip)>,
    pub object_removed: Option<unsafe extern "C" fn(*mut GESLayer, *mut GESClip)>,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESLayerClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESLayerClass @ {:?}", self as *const _))
795 796 797 798
            .field("get_objects", &self.get_objects)
            .field("object_added", &self.object_added)
            .field("object_removed", &self.object_removed)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
799 800 801 802
    }
}

#[repr(C)]
803
pub struct _GESLayerPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
804

805
pub type GESLayerPrivate = *mut _GESLayerPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
806 807 808 809 810 811 812 813 814 815

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESMetaContainerInterface {
    pub parent_iface: gobject::GTypeInterface,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESMetaContainerInterface {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
816 817 818 819 820 821 822
        f.debug_struct(&format!(
            "GESMetaContainerInterface @ {:?}",
            self as *const _
        ))
        .field("parent_iface", &self.parent_iface)
        .field("_ges_reserved", &self._ges_reserved)
        .finish()
Thibault Saunier's avatar
Thibault Saunier committed
823 824 825 826 827 828 829 830 831 832 833 834 835
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESMultiFileSourceClass {
    pub parent_class: GESVideoSourceClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESMultiFileSourceClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESMultiFileSourceClass @ {:?}", self as *const _))
836 837 838
            .field("parent_class", &self.parent_class)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
839 840 841 842
    }
}

#[repr(C)]
843
pub struct _GESMultiFileSourcePrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
844

845
pub type GESMultiFileSourcePrivate = *mut _GESMultiFileSourcePrivate;
Thibault Saunier's avatar
Thibault Saunier committed
846 847 848 849 850 851 852 853 854 855 856

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESOperationClass {
    pub parent_class: GESTrackElementClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESOperationClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESOperationClass @ {:?}", self as *const _))
857
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
858 859 860 861 862 863 864 865 866 867 868 869 870
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESOperationClipClass {
    pub parent_class: GESClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESOperationClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESOperationClipClass @ {:?}", self as *const _))
871
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
872 873 874 875
    }
}

#[repr(C)]
876
pub struct _GESOperationClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
877

878
pub type GESOperationClipPrivate = *mut _GESOperationClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
879 880

#[repr(C)]
881
pub struct _GESOperationPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
882

883
pub type GESOperationPrivate = *mut _GESOperationPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
884 885 886 887 888 889 890 891 892 893 894

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESOverlayClipClass {
    pub parent_class: GESOperationClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESOverlayClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESOverlayClipClass @ {:?}", self as *const _))
895 896
            .field("parent_class", &self.parent_class)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
897 898 899 900
    }
}

#[repr(C)]
901
pub struct _GESOverlayClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
902

903
pub type GESOverlayClipPrivate = *mut _GESOverlayClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
904 905 906 907 908 909 910 911 912 913 914

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESPipelineClass {
    pub parent_class: gst::GstPipelineClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESPipelineClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESPipelineClass @ {:?}", self as *const _))
915
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
916 917 918 919
    }
}

#[repr(C)]
920
pub struct _GESPipelinePrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
921

922
pub type GESPipelinePrivate = *mut _GESPipelinePrivate;
Thibault Saunier's avatar
Thibault Saunier committed
923 924 925 926 927 928 929 930 931 932 933

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESPitiviFormatterClass {
    pub parent_class: GESFormatterClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESPitiviFormatterClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESPitiviFormatterClass @ {:?}", self as *const _))
934
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
935 936 937 938
    }
}

#[repr(C)]
939
pub struct _GESPitiviFormatterPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
940

941
pub type GESPitiviFormatterPrivate = *mut _GESPitiviFormatterPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
942 943 944 945 946 947 948 949

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESProjectClass {
    pub parent_class: GESAssetClass,
    pub asset_added: Option<unsafe extern "C" fn(*mut GESProject, *mut GESAsset)>,
    pub asset_loading: Option<unsafe extern "C" fn(*mut GESProject, *mut GESAsset)>,
    pub asset_removed: Option<unsafe extern "C" fn(*mut GESProject, *mut GESAsset)>,
950 951 952 953 954 955
    pub missing_uri: Option<
        unsafe extern "C" fn(*mut GESProject, *mut glib::GError, *mut GESAsset) -> *mut c_char,
    >,
    pub loading_error: Option<
        unsafe extern "C" fn(*mut GESProject, *mut glib::GError, *mut c_char, GType) -> gboolean,
    >,
Thibault Saunier's avatar
Thibault Saunier committed
956 957 958 959 960 961 962
    pub loaded: Option<unsafe extern "C" fn(*mut GESProject, *mut GESTimeline) -> gboolean>,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESProjectClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESProjectClass @ {:?}", self as *const _))
963 964 965 966 967 968 969 970 971
            .field("parent_class", &self.parent_class)
            .field("asset_added", &self.asset_added)
            .field("asset_loading", &self.asset_loading)
            .field("asset_removed", &self.asset_removed)
            .field("missing_uri", &self.missing_uri)
            .field("loading_error", &self.loading_error)
            .field("loaded", &self.loaded)
            .field("_ges_reserved", &self._ges_reserved)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
972 973 974 975
    }
}

#[repr(C)]
976
pub struct _GESProjectPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
977

978
pub type GESProjectPrivate = *mut _GESProjectPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
979 980 981 982 983 984 985 986 987 988 989

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESSourceClass {
    pub parent_class: GESTrackElementClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESSourceClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESSourceClass @ {:?}", self as *const _))
990
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESSourceClipClass {
    pub parent_class: GESClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESSourceClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESSourceClipClass @ {:?}", self as *const _))
1004
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
1005 1006 1007 1008
    }
}

#[repr(C)]
1009
pub struct _GESSourceClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
1010

1011
pub type GESSourceClipPrivate = *mut _GESSourceClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
1012 1013

#[repr(C)]
1014
pub struct _GESSourcePrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
1015

1016
pub type GESSourcePrivate = *mut _GESSourcePrivate;
Thibault Saunier's avatar
Thibault Saunier committed
1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESTestClipClass {
    pub parent_class: GESSourceClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESTestClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESTestClipClass @ {:?}", self as *const _))
1028
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
1029 1030 1031 1032
    }
}

#[repr(C)]
1033
pub struct _GESTestClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
1034

1035
pub type GESTestClipPrivate = *mut _GESTestClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESTextOverlayClass {
    pub parent_class: GESOperationClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESTextOverlayClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESTextOverlayClass @ {:?}", self as *const _))
1047 1048
            .field("parent_class", &self.parent_class)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESTextOverlayClipClass {
    pub parent_class: GESOverlayClipClass,
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESTextOverlayClipClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESTextOverlayClipClass @ {:?}", self as *const _))
1062
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
1063 1064 1065 1066
    }
}

#[repr(C)]
1067
pub struct _GESTextOverlayClipPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
1068

1069
pub type GESTextOverlayClipPrivate = *mut _GESTextOverlayClipPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
1070 1071

#[repr(C)]
1072
pub struct _GESTextOverlayPrivate(c_void);
Thibault Saunier's avatar
Thibault Saunier committed
1073

1074
pub type GESTextOverlayPrivate = *mut _GESTextOverlayPrivate;
Thibault Saunier's avatar
Thibault Saunier committed
1075 1076 1077 1078 1079 1080 1081 1082 1083 1084

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESTimelineClass {
    pub parent_class: gst::GstBinClass,
    pub track_added: Option<unsafe extern "C" fn(*mut GESTimeline, *mut GESTrack)>,
    pub track_removed: Option<unsafe extern "C" fn(*mut GESTimeline, *mut GESTrack)>,
    pub layer_added: Option<unsafe extern "C" fn(*mut GESTimeline, *mut GESLayer)>,
    pub layer_removed: Option<unsafe extern "C" fn(*mut GESTimeline, *mut GESLayer)>,
    pub group_added: Option<unsafe extern "C" fn(*mut GESTimeline, *mut GESGroup)>,
1085 1086
    pub group_removed:
        Option<unsafe extern "C" fn(*mut GESTimeline, *mut GESGroup, *mut glib::GPtrArray)>,
Thibault Saunier's avatar
Thibault Saunier committed
1087 1088 1089 1090 1091 1092
    pub _ges_reserved: [gpointer; 4],
}

impl ::std::fmt::Debug for GESTimelineClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESTimelineClass @ {:?}", self as *const _))
1093 1094 1095 1096 1097 1098 1099 1100
            .field("parent_class", &self.parent_class)
            .field("track_added", &self.track_added)
            .field("track_removed", &self.track_removed)
            .field("layer_added", &self.layer_added)
            .field("layer_removed", &self.layer_removed)
            .field("group_added", &self.group_added)
            .field("group_removed", &self.group_removed)
            .finish()
Thibault Saunier's avatar
Thibault Saunier committed
1101 1102 1103 1104 1105 1106 1107
    }
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct GESTimelineElementClass {
    pub parent_class: gobject::GInitiallyUnownedClass,
1108 1109 1110 1111 1112 1113 1114 1115 1116 1117
    pub set_parent:
        Option<unsafe extern "C" fn(*mut GESTimelineElement, *mut GESTimelineElement) -> gboolean>,
    pub set_start:
        Option<unsafe extern "C" fn(*mut GESTimelineElement, gst::GstClockTime) -> gboolean>,
    pub set_inpoint:
        Option<unsafe extern "C" fn(*mut GESTimelineElement, gst::GstClockTime) -> gboolean>,
    pub set_duration:
        Option<unsafe extern "C" fn(*mut GESTimelineElement, gst::GstClockTime) -> gboolean>,
    pub set_max_duration:
        Option<unsafe extern "C" fn(*mut GESTimelineElement, gst::GstClockTime) -> gboolean>,
Thibault Saunier's avatar
Thibault Saunier committed
1118 1119 1120 1121 1122 1123 1124
    pub set_priority: Option<unsafe extern "C" fn(*mut GESTimelineElement, u32) -> gboolean>,
    pub ripple: Option<unsafe extern "C" fn(*mut GESTimelineElement, u64) -> gboolean>,
    pub ripple_end: Option<unsafe extern "C" fn(*mut GESTimelineElement, u64) -> gboolean>,
    pub roll_start: Option<unsafe extern "C" fn(*mut GESTimelineElement, u64) -> gboolean>,
    pub roll_end: Option<unsafe extern "C" fn(*mut GESTimelineElement, u64) -> gboolean>,
    pub trim: Option<unsafe extern "C" fn(*mut GESTimelineElement, u64) -> gboolean>,
    pub deep_copy: Option<unsafe extern "C" fn(*mut GESTimelineElement, *mut GESTimelineElement)>,
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
    pub paste: Option<
        unsafe extern "C" fn(
            *mut GESTimelineElement,
            *mut GESTimelineElement,
            gst::GstClockTime,
        ) -> *mut GESTimelineElement,
    >,
    pub list_children_properties: Option<
        unsafe extern "C" fn(*mut GESTimelineElement, *mut c_uint) -> *mut *mut gobject::GParamSpec,
    >,
    pub lookup_child: Option<
        unsafe extern "C" fn(
            *mut GESTimelineElement,
            *const c_char,
            *mut *mut gobject::GObject,
            *mut *mut gobject::GParamSpec,
        ) -> gboolean,
    >,
Thibault Saunier's avatar
Thibault Saunier committed
1143
    pub get_track_types: Option<unsafe extern "C" fn(*mut GESTimelineElement) -> GESTrackType>,
1144 1145 1146 1147 1148 1149 1150 1151
    pub set_child_property: Option<
        unsafe extern "C" fn(
            *mut GESTimelineElement,
            *mut gobject::GObject,
            *mut gobject::GParamSpec,
            *mut gobject::GValue,
        ),
    >,
1152 1153
    pub get_layer_priority: Option<unsafe extern "C" fn(*mut GESTimelineElement) -> u32>,
    pub _ges_reserved: [gpointer; 16],
Thibault Saunier's avatar
Thibault Saunier committed
1154 1155 1156 1157 1158
}

impl ::std::fmt::Debug for GESTimelineElementClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GESTimelineElementClass @ {:?}", self as *const _))
1159 1160 1161 1162 1163 1164 1165 1166 1167