mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
Regenerate with latest gir
This commit is contained in:
parent
16655828ab
commit
b5920ee729
146 changed files with 621 additions and 1088 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_allocators_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_app_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_audio_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_base_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_check_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_controller_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -7,15 +7,7 @@ use crate::Container;
|
|||
use crate::Extractable;
|
||||
use crate::MetaContainer;
|
||||
use crate::TimelineElement;
|
||||
use glib::object::Cast;
|
||||
use glib::object::IsA;
|
||||
use glib::signal::connect_raw;
|
||||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
glib::wrapper! {
|
||||
#[doc(alias = "GESGroup")]
|
||||
|
@ -41,196 +33,3 @@ impl Default for Group {
|
|||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
pub trait GroupExt: 'static {
|
||||
fn duration(&self) -> u64;
|
||||
|
||||
fn set_duration(&self, duration: u64);
|
||||
|
||||
#[doc(alias = "in-point")]
|
||||
fn in_point(&self) -> u64;
|
||||
|
||||
#[doc(alias = "in-point")]
|
||||
fn set_in_point(&self, in_point: u64);
|
||||
|
||||
#[doc(alias = "max-duration")]
|
||||
fn max_duration(&self) -> u64;
|
||||
|
||||
#[doc(alias = "max-duration")]
|
||||
fn set_max_duration(&self, max_duration: u64);
|
||||
|
||||
fn priority(&self) -> u32;
|
||||
|
||||
fn set_priority(&self, priority: u32);
|
||||
|
||||
fn start(&self) -> u64;
|
||||
|
||||
fn set_start(&self, start: u64);
|
||||
|
||||
#[doc(alias = "duration")]
|
||||
fn connect_duration_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
|
||||
#[doc(alias = "in-point")]
|
||||
fn connect_in_point_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
|
||||
#[doc(alias = "max-duration")]
|
||||
fn connect_max_duration_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
|
||||
#[doc(alias = "priority")]
|
||||
fn connect_priority_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
|
||||
#[doc(alias = "start")]
|
||||
fn connect_start_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
}
|
||||
|
||||
impl<O: IsA<Group>> GroupExt for O {
|
||||
fn duration(&self) -> u64 {
|
||||
glib::ObjectExt::property(self.as_ref(), "duration")
|
||||
}
|
||||
|
||||
fn set_duration(&self, duration: u64) {
|
||||
glib::ObjectExt::set_property(self.as_ref(), "duration", &duration)
|
||||
}
|
||||
|
||||
fn in_point(&self) -> u64 {
|
||||
glib::ObjectExt::property(self.as_ref(), "in-point")
|
||||
}
|
||||
|
||||
fn set_in_point(&self, in_point: u64) {
|
||||
glib::ObjectExt::set_property(self.as_ref(), "in-point", &in_point)
|
||||
}
|
||||
|
||||
fn max_duration(&self) -> u64 {
|
||||
glib::ObjectExt::property(self.as_ref(), "max-duration")
|
||||
}
|
||||
|
||||
fn set_max_duration(&self, max_duration: u64) {
|
||||
glib::ObjectExt::set_property(self.as_ref(), "max-duration", &max_duration)
|
||||
}
|
||||
|
||||
fn priority(&self) -> u32 {
|
||||
glib::ObjectExt::property(self.as_ref(), "priority")
|
||||
}
|
||||
|
||||
fn set_priority(&self, priority: u32) {
|
||||
glib::ObjectExt::set_property(self.as_ref(), "priority", &priority)
|
||||
}
|
||||
|
||||
fn start(&self) -> u64 {
|
||||
glib::ObjectExt::property(self.as_ref(), "start")
|
||||
}
|
||||
|
||||
fn set_start(&self, start: u64) {
|
||||
glib::ObjectExt::set_property(self.as_ref(), "start", &start)
|
||||
}
|
||||
|
||||
fn connect_duration_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
unsafe extern "C" fn notify_duration_trampoline<P: IsA<Group>, F: Fn(&P) + 'static>(
|
||||
this: *mut ffi::GESGroup,
|
||||
_param_spec: glib::ffi::gpointer,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(Group::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::duration\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
notify_duration_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fn connect_in_point_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
unsafe extern "C" fn notify_in_point_trampoline<P: IsA<Group>, F: Fn(&P) + 'static>(
|
||||
this: *mut ffi::GESGroup,
|
||||
_param_spec: glib::ffi::gpointer,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(Group::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::in-point\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
notify_in_point_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fn connect_max_duration_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
unsafe extern "C" fn notify_max_duration_trampoline<P: IsA<Group>, F: Fn(&P) + 'static>(
|
||||
this: *mut ffi::GESGroup,
|
||||
_param_spec: glib::ffi::gpointer,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(Group::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::max-duration\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
notify_max_duration_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fn connect_priority_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
unsafe extern "C" fn notify_priority_trampoline<P: IsA<Group>, F: Fn(&P) + 'static>(
|
||||
this: *mut ffi::GESGroup,
|
||||
_param_spec: glib::ffi::gpointer,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(Group::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::priority\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
notify_priority_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fn connect_start_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
unsafe extern "C" fn notify_start_trampoline<P: IsA<Group>, F: Fn(&P) + 'static>(
|
||||
this: *mut ffi::GESGroup,
|
||||
_param_spec: glib::ffi::gpointer,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(Group::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::start\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
notify_start_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -219,7 +219,6 @@ pub mod traits {
|
|||
pub use super::effect_clip::EffectClipExt;
|
||||
pub use super::extractable::ExtractableExt;
|
||||
pub use super::formatter::FormatterExt;
|
||||
pub use super::group::GroupExt;
|
||||
#[cfg_attr(feature = "v1_18", deprecated = "Since 1.18")]
|
||||
pub use super::image_source::ImageSourceExt;
|
||||
pub use super::layer::LayerExt;
|
||||
|
|
|
@ -61,9 +61,6 @@ pub trait UriClipExt: 'static {
|
|||
|
||||
#[doc(alias = "mute")]
|
||||
fn connect_mute_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
|
||||
#[doc(alias = "supported-formats")]
|
||||
fn connect_supported_formats_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
}
|
||||
|
||||
impl<O: IsA<UriClip>> UriClipExt for O {
|
||||
|
@ -134,29 +131,4 @@ impl<O: IsA<UriClip>> UriClipExt for O {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
fn connect_supported_formats_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
unsafe extern "C" fn notify_supported_formats_trampoline<
|
||||
P: IsA<UriClip>,
|
||||
F: Fn(&P) + 'static,
|
||||
>(
|
||||
this: *mut ffi::GESUriClip,
|
||||
_param_spec: glib::ffi::gpointer,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(UriClip::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"notify::supported-formats\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
notify_supported_formats_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_editing_services_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_egl_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_wayland_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_x11_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_mpegts_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_net_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_pbutils_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_play_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_player_sys::*;
|
||||
|
@ -116,13 +116,8 @@ fn cross_validate_constants_with_c() {
|
|||
let mut c_constants: Vec<(String, String)> = Vec::new();
|
||||
|
||||
for l in get_c_output("constant").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let value = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse value");
|
||||
c_constants.push((name, value));
|
||||
let (name, value) = l.split_once(';').expect("Missing ';' separator");
|
||||
c_constants.push((name.to_owned(), value.to_owned()));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
@ -157,17 +152,11 @@ fn cross_validate_layout_with_c() {
|
|||
let mut c_layouts = Vec::new();
|
||||
|
||||
for l in get_c_output("layout").unwrap().lines() {
|
||||
let mut words = l.trim().split(';');
|
||||
let name = words.next().expect("Failed to parse name").to_owned();
|
||||
let size = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse size");
|
||||
let alignment = words
|
||||
.next()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("Failed to parse alignment");
|
||||
c_layouts.push((name, Layout { size, alignment }));
|
||||
let (name, value) = l.split_once(';').expect("Missing first ';' separator");
|
||||
let (size, alignment) = value.split_once(';').expect("Missing second ';' separator");
|
||||
let size = size.parse().expect("Failed to parse size");
|
||||
let alignment = alignment.parse().expect("Failed to parse alignment");
|
||||
c_layouts.push((name.to_owned(), Layout { size, alignment }));
|
||||
}
|
||||
|
||||
let mut results = Results::default();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 1201a74cd03e)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ faebfb303ca6)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 51549a4f39c8)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ 74b6e47217b7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 9e945716ad4c)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d031d210fe4e)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue