Commit graph

2452 commits

Author SHA1 Message Date
Marijn Suijten
b8d50a342f CI: test all features on v1_20 2021-06-04 11:51:01 +02:00
Marijn Suijten
110bfce7e6 video/video_format: Expect a specific panic reason 2021-06-04 11:51:01 +02:00
Nazar Mokrynskyi
a6d5f6f5a5 Add support for GstAudioLevelMeta
[Marijn: Add `GstAudioLevelMeta` to the `manual` list in `Gir.toml`]
2021-06-04 11:51:01 +02:00
Marijn Suijten
738a07b279 gl/gl_memory: Use gl_memory_get_type() since 1.19.1 2021-06-04 11:51:01 +02:00
Marijn Suijten
a85b30eacb audio,video: Remove dox feature from function bodies
Now that the crates are generated and linked against v1_20 binaries
there is no need to guard this codepath when building `dox` (which
inherently enables `v1_20` but did previously not actually compile
against that version yet).
2021-06-04 11:51:01 +02:00
Marijn Suijten
a828d3cc12 video: VideoChromaSite now has an autogenerated impl Display
Still calls into the manual `fn to_str()`.
2021-06-04 11:51:01 +02:00
Marijn Suijten
8226c94110 sys: Link all v1_20 sys crates against library 1.19 2021-06-04 11:51:00 +02:00
Marijn Suijten
510e4cd2b1 Regenerate with 1.19.1 updates 2021-06-04 11:51:00 +02:00
Marijn Suijten
ae6d3e2b1b webrtc/WebRTCDTLSTransport: Mandate 1.20 for API change in new 2021-06-04 11:50:59 +02:00
Marijn Suijten
5b4a28e63d rtp/RTPHeaderExtension: Mark sdp_caps_field_name as non-nullable return 2021-06-04 11:50:24 +02:00
Marijn Suijten
aa60c40c61 gst/gir: Generate new flags since 1.19.1 2021-06-04 10:26:24 +02:00
Marijn Suijten
6588144300 gl/gir: Generate new flags and enums since 1.19.1 2021-06-04 10:26:20 +02:00
Marijn Suijten
7d13ecf1aa gst,gl: Drop superfluous enum/flag member versions (since 1.19.1)
https://github.com/gtk-rs/gir/pull/1180 now parses these from `.gir`
directly, and `1.19.1` now includes the version for a few more of these
enums.
2021-06-03 21:24:12 +02:00
Marijn Suijten
0d26534233 webrtc/gir: Enable 1.19.1 WebRTCKind for generation 2021-06-03 21:24:12 +02:00
Marijn Suijten
5b27f8c94e rtp/gir: Enable 1.19.1 RTPHeaderExtension for autogeneration 2021-06-03 21:24:12 +02:00
Marijn Suijten
7e465e4639 rtp/gir: Add Gst.ElementFactory as manual to generate 1.19.1 functions 2021-06-03 20:36:04 +02:00
Marijn Suijten
af6efa3efe video/gir: Enable 1.19.1 VideoAggregatorParallelConvertPad generation 2021-06-03 20:36:04 +02:00
Marijn Suijten
899a1f6ea4 video/gir: Enable 1.19.1 VideoDecoderRequestSyncPointFlags generation 2021-06-03 20:36:02 +02:00
Marijn Suijten
563beca4d6 app/gir: Enable new 1.19.1 GstApp.AppLeakyType enum for generation 2021-06-03 20:35:35 +02:00
Marijn Suijten
bdc26746b6 treewide/gir: Mark Gst.Structure as ref instead of ref-mut mode
The only bindings using this type show up in v1.20 and use `&mut` which
lacks a matching `.to_glib_full()` implementation.
2021-06-03 20:35:35 +02:00
Marijn Suijten
9fd768425e Rename request_pad_simple to avoid 1.19.1 clash
Fixes: 3f442d977 ("prep for regen: relaxed get fn identification")
2021-06-03 20:35:35 +02:00
Marijn Suijten
a7d559116d gl/gir: Remove const overrides for fixed annotations in 1.19.1 2021-06-03 20:35:35 +02:00
Marijn Suijten
60b6fe9749 audio/AudioStreamAlign: getter const-ness is now proper in the bindings
1.20 bindings were fixed to pass self as const; no need to override this
anymore.
2021-06-03 20:35:28 +02:00
Marijn Suijten
6e2cba928a ci: Bump image version to rebuild images with master GStreamer 2021-06-03 20:35:28 +02:00
Marijn Suijten
fc1716cd8a ci/install-gst: Clone gst-build master branch 2021-06-03 20:35:28 +02:00
Marijn Suijten
a2bb72b604 gst-gir-files: Bump to 1.19.1 import 2021-06-03 20:35:28 +02:00
Marijn Suijten
3d8d1ffb19 Update gir and regenerate with automated enum/flag member versioning
https://github.com/gtk-rs/gir/pull/1180
2021-06-03 20:33:34 +02:00
Marijn Suijten
9b22b09efe gir: Remove unnecessary member annotations 2021-06-03 20:25:38 +02:00
Guillaume Gomez
b0fc500ed1 Generate missing doc aliases 2021-06-02 20:23:29 +02:00
Guillaume Gomez
abf82e6f7a Replace raw constants with the FFI constants 2021-06-02 20:23:01 +02:00
Guillaume Gomez
96266ff922 Generate missing doc aliases 2021-06-02 17:35:30 +02:00
Marijn Suijten
7fcd560d18 Update gir and regenerate
- Doc aliases for types;
- ffi constants for bitflags too;
- Completely overhauled docs generation under the hood (only emitting
  valid links, more types receive documentation now).
2021-06-02 09:47:51 +02:00
Marijn Suijten
170f7214eb Regen with extended Gir.toml 2021-06-01 13:40:52 +00:00
Marijn Suijten
b19dcd0b66 player/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
be33e4f776 rtsp-server/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
09d39a9cbb rtp/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
f78cb39615 ges: Replace (set_)child_property with autogenerated implementation
This function is now autogenerated thanks to `glib::Value` being
declared as available in `Gir.toml` and does not seem to have any
deficiencies compared to the manual implementation [1].

[1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/789#note_937493
2021-06-01 13:40:52 +00:00
Marijn Suijten
1c05f61bb8 ges/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
9b600416a1 check/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
d43234b65e gl: Reexport glib crate from crate root
Reexporting dependencies is common for all crates here, and relied upon
by the documentation generator.
2021-06-01 13:40:52 +00:00
Marijn Suijten
4b3ea270d8 gl/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
800ad5fc4a video/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
5ebf6de6eb base/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
d192d1caf8 audio/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
4f479326f3 gstreamer/gir: Document manually implemented types and functions 2021-06-01 13:40:52 +00:00
Marijn Suijten
1e58dd553c treewide: Add missing external external types to manual list
Gir now uses analyzed objects to generate documentation, and to know
exactly what is available.  Additionally, this allows more bindings to
be generated.
2021-06-01 13:40:52 +00:00
Guillaume Gomez
5ba79976a9 Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
Sebastian Dröge
04e6c1b547 app: Remove signals bindings from appsrc/appsink for the signals that also have callbacks
The callbacks are more flexible and performant.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/338
2021-05-30 23:00:44 +03:00
Sebastian Dröge
33484258d1 app: Re-add properties from basesrc/basesink that make sense for appsrc/appsink
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/339
2021-05-30 23:00:44 +03:00
Sebastian Dröge
b23bb2039e base: Rename basesink's is_drop_out_of_segment() to drops_out_of_segment() 2021-05-30 20:59:16 +03:00