Commit graph

2160 commits

Author SHA1 Message Date
Guillaume Desmottes
e404d4f213 video: VideoInfo::align(): return a Result 2020-12-03 16:39:40 +01:00
Guillaume Desmottes
7cc57f4164 video: implement Eq and PartialEq on VideoAlignment 2020-12-03 16:39:35 +01:00
Guillaume Desmottes
6fbe7a1739 video: add VideoMeta::get_plane_{height,size}
Fix #299
2020-12-03 12:15:51 +01:00
Sebastian Dröge
dd23ac7093 gstreamer-gl: Fix/extend cargo metadata and add README.md for new EGL/Wayland/X11 sub-crates 2020-11-29 11:42:24 +02:00
Marijn Suijten
506c19dab4 gl/egl,x11/sys: Regenerate with sys crate rename
Fixes: 4cc57723 ("gl: Regenerate with separate EGL/Wayland/X11 -sys crates")
2020-11-28 11:55:27 +01:00
Marijn Suijten
f754860e32 gl/EGL,X11/sys: Split gl and egl,x11 with a hyphen
to_snake detects GLEGL and GLX11 as one word (contrary to GLWayland),
leading to no hyphen or underscore separating the two.

Fixes: 4cc57723 ("gl: Regenerate with separate EGL/Wayland/X11 -sys crates")
2020-11-28 11:54:42 +01:00
Marijn Suijten
3cda842052 gl/-sys/Cargo: Only use EGL/Wayland/X11 library from v1.18 onwards 2020-11-28 11:15:22 +01:00
Marijn Suijten
22b0644579 gl: Regenerate with renamed EGL/Wayland/X11 crates 2020-11-28 11:15:22 +01:00
Marijn Suijten
d7dcf5ebcb gl: Rename EGL/Wayland/X11 crates from gst- to gstreamer- 2020-11-28 11:15:22 +01:00
Marijn Suijten
6fe1b26a10 CI: Gir_*.toml files have moved to <crate>/Gir.toml
See f657a56947
2020-11-28 11:15:22 +01:00
Marijn Suijten
b2f3363c8c CI: Update to restructured GL EGL/Wayland/X11 layout 2020-11-28 11:15:22 +01:00
Marijn Suijten
1d3a522afb gl/manual: Remove moved GST_GL_DISPLAY_EGL_NAME 2020-11-28 11:15:22 +01:00
Marijn Suijten
2ddec80b78 gl/-sys/Cargo: Remove link; fix dependency paths 2020-11-28 11:15:22 +01:00
Marijn Suijten
4cc5772361 gl: Regenerate with separate EGL/Wayland/X11 -sys crates
This moves the X11, EGL and Wayland parts of the GL bindings to separate
crates.

Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
2020-11-28 11:15:22 +01:00
Marijn Suijten
efec7d4e31 gl: Move EGL/Wayland/X11 manual impls to their own module
And use the new -sys crates.
2020-11-28 11:15:22 +01:00
Marijn Suijten
75bcc8402d example/glupload: Update to separated GL windowing crates 2020-11-28 11:15:22 +01:00
Marijn Suijten
55badab13d gl: Add X11/EGL/Wayland API back based on separate -sys crates
Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
2020-11-28 11:15:22 +01:00
Marijn Suijten
f66727297a Import gir-files from 1.18.1: minor annotation fixes 2020-11-28 11:08:10 +01:00
Marijn Suijten
e5dbd137bf Import gir-files from 1.18.0 with GL separated per API 2020-11-28 11:08:10 +01:00
Marijn Suijten
5b520d7c47 gir-files/fix: Update paths for GL EGL/Wayland/X11 gir files 2020-11-28 11:08:10 +01:00
Marijn Suijten
9577965782 sys/Gir.toml: Drop default target_path in current directory 2020-11-28 11:07:48 +01:00
Marijn Suijten
a87cc4c3a3 cargo: Update ffi crate paths to direct "./sys" subdirectory 2020-11-28 11:05:51 +01:00
Sebastian Dröge
94b5184c99 ci: Update to rustup 1.23 2020-11-27 17:33:10 +02:00
Guillaume Gomez
1eba80c04b Fix cargo files features 2020-11-27 14:48:11 +01:00
Guillaume Gomez
8f9d76bb8c Revert "Remove unnecessary dox feature"
This reverts commit 9dd8bd9095.
2020-11-27 14:37:49 +01:00
Guillaume Gomez
2d87561193 Revert "Remove unnecessary dox feature in cargo files"
This reverts commit 128b3b251e.
2020-11-27 14:37:40 +01:00
Guillaume Gomez
7daac635c4 regen 2020-11-27 14:37:24 +01:00
Guillaume Gomez
d2591d0019 Update gir submodule 2020-11-27 14:35:47 +01:00
Marijn Suijten
c459ca8338 gir-files/fix: Autoamtically delete duplicate ONEFIELDs in GstVideo.gir 2020-11-25 22:44:18 +01:00
Marijn Suijten
e36f0b45a6 gir-files/fix: Normalize mixed indentation 2020-11-25 22:44:18 +01:00
Marijn Suijten
513cf47447 gstreamer/query: Fix clippy::single_match 2020-11-25 21:16:40 +01:00
Marijn Suijten
56c2b730f8 gstreamer/buffer: Fix clippy::needless_lifetimes 2020-11-25 21:16:40 +01:00
Marijn Suijten
b0b2b8d4ed mpegts,tag: Remove unused gobject and gstreamer base dependencies
Silences these warnings:

    warning: unused import: `gstreamer_base_sys as gst_base`
      --> gstreamer-tag/sys/src/lib.rs:15:5
       |
    15 | use gstreamer_base_sys as gst_base;
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = note: `#[warn(unused_imports)]` on by default

    warning: unused import: `gobject_sys as gobject`
      --> gstreamer-mpegts/sys/src/lib.rs:14:5
       |
    14 | use gobject_sys as gobject;
       |     ^^^^^^^^^^^^^^^^^^^^^^
       |
       = note: `#[warn(unused_imports)]` on by default
2020-11-25 21:16:40 +01:00
Marijn Suijten
6e6c5fd428 Fix clippy::unnecessary_wraps 2020-11-25 21:16:39 +01:00
Guillaume Gomez
128b3b251e Remove unnecessary dox feature in cargo files 2020-11-25 16:02:51 +01:00
Guillaume Gomez
9dd8bd9095 Remove unnecessary dox feature 2020-11-25 15:54:02 +01:00
Guillaume Gomez
28438d245a regen 2020-11-25 15:53:45 +01:00
Guillaume Gomez
2bd095f2f7 Update gir submodule 2020-11-25 15:51:37 +01:00
Marijn Suijten
9a96dd05b8 generator: Autoformat and normalize quotation with black 2020-11-24 20:20:18 +01:00
Guillaume Gomez
5b7c882497 Remove python2 code 2020-11-24 15:21:51 +01:00
Sebastian Dröge
de0ed0040a Update generator.py from gtk-rs 2020-11-24 13:17:17 +02:00
Sebastian Dröge
7dc5a90b8a Remove unneeded extern crate 2020-11-22 19:15:21 +02:00
Sebastian Dröge
a240aeb902 Remove unused files 2020-11-22 19:15:21 +02:00
Sebastian Dröge
dd8ae99cc7 docs: Update to 2018 edition 2020-11-22 19:15:21 +02:00
Sebastian Dröge
1b288add4c examples: Fix build 2020-11-22 19:15:21 +02:00
Sebastian Dröge
8dd288f2b9 gstreamer-webrtc: Update manual code to 2018 edition 2020-11-22 19:15:21 +02:00
Sebastian Dröge
4686b61d78 gstreamer-webrtc: Regenerate 2020-11-22 19:15:21 +02:00
Sebastian Dröge
1099955249 gstreamer-rtsp-server: Update manual code to 2018 edition 2020-11-22 19:15:21 +02:00
Sebastian Dröge
1e9d3e717c gstreamer-rtsp-server: Regenerate 2020-11-22 19:15:21 +02:00
Sebastian Dröge
0327e98b5f gstreamer-rtsp: Update manual code to 2018 edition 2020-11-22 19:15:21 +02:00