Commit graph

2020 commits

Author SHA1 Message Date
Marijn Suijten
92df13eeb1 Regenerate with trusted nullability 2020-12-04 19:37:06 +01:00
Marijn Suijten
ceeaf97793 gst,base,check,net: Trust return value nullability 2020-12-04 19:36:22 +01:00
Marijn Suijten
47102b0e76 Regenerate with fresh gir files 2020-12-04 19:34:09 +01:00
Marijn Suijten
217dfdff10 gir-files: Import from gstreamer-bad 1.18.~2 at 2f2e8a93 2020-12-04 19:34:09 +01:00
Marijn Suijten
1c22ab66ee gir-files: Import from gstreamer-base 1.18.~2 at ee38a96c8 2020-12-04 19:34:09 +01:00
Marijn Suijten
59a4f06d17 gir-files: Import from gstreamer 1.18.~2 at 865cfb8ea
Includes fixed null annotations
2020-12-04 19:34:07 +01:00
Marijn Suijten
275425ae9f gir-files: Import from gstreamer-bad 1.18.1 at e5c3c106a 2020-12-03 19:38:26 +01:00
Marijn Suijten
5744d33ec7 gir-files: Import from gstreamer 1.18.1 at 29a8099d1
This complements an earlier import for gstreamer-base 1.18.1.
2020-12-03 19:38:26 +01:00
Guillaume Desmottes
8b9ef8b109 video: add alignment API to VideoMeta 2020-12-03 16:39:40 +01:00
Guillaume Desmottes
c529d4d4ae video: add VideoInfo::align_full() 2020-12-03 16:39:40 +01:00
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