Commit graph

2712 commits

Author SHA1 Message Date
Sebastian Dröge
4782066345 rtp: Add gst::Element as parent class for RTPHeaderExtension 2022-01-29 18:24:40 +02:00
Sebastian Dröge
4e3882f429 video: Add VideoOverlayComposition::add_rectangle() to add new rectangles after construction
Usually it is more convenient to provide them all via an iterator during
construction but in some cases this might be nicer.
2022-01-29 18:24:34 +02:00
Sebastian Dröge
a0e192edb9 video: Implement Default for VideoOverlayComposition in 1.20 2022-01-29 18:24:28 +02:00
Sebastian Dröge
245fe4452c ci: Update image to get newer GStreamer build 2022-01-29 18:24:18 +02:00
Sebastian Dröge
691fed0f31 Get rid of fragile dependency and use GLib API instead 2022-01-29 18:24:08 +02:00
Sebastian Dröge
582e26c6b0 Update GStreamer gir files 2022-01-29 18:23:25 +02:00
Sebastian Dröge
824aa32a79 Update gir 2022-01-29 18:23:20 +02:00
Sebastian Dröge
3c800faa07 Update CHANGELOG.md for 0.18.2 2022-01-24 16:45:55 +02:00
Sebastian Dröge
8c546e53ef Update Cargo.lock 2022-01-24 16:44:37 +02:00
Sebastian Dröge
f4aa0c09a9 Update versions to 0.18.2 2022-01-24 16:42:43 +02:00
Sebastian Dröge
42583595f2 examples: Make use of glib::closure! for the overlay-composition example 2022-01-24 16:03:53 +02:00
Sebastian Dröge
0d5132a7f0 gstreamer: Implement FromValue for mini object references 2022-01-24 16:03:49 +02:00
Sebastian Dröge
93a777e6c9 gstreamer: Minor cleanup 2022-01-24 16:03:42 +02:00
Sebastian Dröge
d2bc6d94f9 gstreamer: Add bindings for gst_debug_log_get_line() 2022-01-24 16:03:38 +02:00
Sebastian Dröge
294e73e670 Update Cargo.lock 2022-01-18 17:13:56 +02:00
Sebastian Dröge
89e0654f35 Update versions to 0.18.1 2022-01-18 16:52:43 +02:00
Sebastian Dröge
5f817b0443 Update CHANGELOG.md for 0.18.1 2022-01-18 16:51:35 +02:00
Sebastian Dröge
50c6f48728 message: Handle the Redirect message in Message::view() 2022-01-18 16:18:39 +02:00
Sebastian Dröge
656e815b23 gstreamer: Mark Structure and CapsFeatures as #[repr(transparent)] too 2022-01-18 15:47:21 +02:00
Jan Alexander Steffens (heftig)
5b8f4a8632 gstreamer: Split parsers for owned and borrowed views
When we have a view like `Caps<&EventRef>`, we can return a `CapsRef`
borrowing from the wrapped `EventRef`. This way, the `CapsRef` we return
can outlive the view itself.

This is in contrast to a `Caps<Event>` view which owns the `Event`.
Here, the `CapsRef` we return cannot outlive the view.

gstreamer-rs 0.18 consolidated code and treated everything like the
latter case. Fix this by duplicating the accessors for each case.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/367
2022-01-18 15:47:15 +02:00
Sebastian Dröge
7018e5641a video: Mark VideoTimeCode as #[repr(transparent)] 2022-01-18 15:47:09 +02:00
Sebastian Dröge
03087ddfb0 gstreamer: Mark miniobject wrapper types as #[repr(transparent)]
That way they're treated everywhere exactly like a raw pointer.
2022-01-18 15:47:04 +02:00
Sebastian Dröge
1fbb6a3a1c Replace Foo::from_instance(foo) with foo.imp() 2022-01-18 15:46:59 +02:00
Sebastian Dröge
d778be0e5d Update CHANGELOG.md for 0.18.0 2022-01-16 13:12:39 +02:00
Sebastian Dröge
1657d89812 Update CHANGELOG.md for 0.17.4 2022-01-16 12:17:26 +02:00
Sebastian Dröge
0b77d0c172 ci: Don't run cargo update 2022-01-15 21:38:56 +02:00
Sebastian Dröge
007df43b2f examples: overlay-composition: Use cairo's new ImageSurfaceDataOwned to get rid of unsafe code 2022-01-15 20:22:25 +02:00
Sebastian Dröge
fbe6471625 Include Cargo.lock in the repository 2022-01-15 17:39:14 +02:00
Sebastian Dröge
b7f04289ab Add 0.18 version requirement to the dependencies from this repository 2022-01-15 17:28:01 +02:00
Sebastian Dröge
5fa5f04e04 Switch to 0.15 branches of gtk-rs and provide a version 2022-01-15 17:19:45 +02:00
Sebastian Dröge
2bb500db0b pbutils: Add bindings for codec-utils functions 2022-01-14 17:16:00 +02:00
Sebastian Dröge
5151b76729 gstreamer-gl: Add missing Gir.toml checks 2022-01-14 16:59:48 +02:00
Sebastian Dröge
711a4bb76e gstreamer: Silence a new clippy warning in the tests 2022-01-14 12:58:26 +02:00
Sebastian Dröge
605c633579 Ignore clippy::non_send_fields_in_send_ty lint
It's useless in its current shape and wrongly triggering on all types.

See https://github.com/rust-lang/rust-clippy/issues/8045
2022-01-13 23:38:11 +02:00
Sebastian Dröge
847e800269 ci: Update to meson 0.60.3 2022-01-13 23:13:32 +02:00
Sebastian Dröge
cf50295b73 ci: Update to Rust 1.58 2022-01-13 23:13:32 +02:00
Jordan Petridis
07f2c46e0e gstreamer-gl: generate constants and functions 2022-01-13 19:49:18 +02:00
Sebastian Dröge
9eb479cf78 Regenerate everything 2022-01-12 15:40:36 +02:00
Sebastian Dröge
e35d26fcd3 Update gir, gir-files and gst-gir-files 2022-01-12 15:31:28 +02:00
Jordan Petridis
d245056e7b ci: add gtk4 to the image
This is a prerequisite to porting the examples to gtk4
2022-01-11 18:26:34 +02:00
Jordan Petridis
a3875eab94 gstreamer-gl: Generate GLBufferPool 2022-01-11 15:08:47 +00:00
Jordan Petridis
45708832dd gstreamer_gl: fix typos 2022-01-11 14:16:20 +00:00
Sebastian Dröge
843d3749b7 caps: Add bindings for foreach(), map_in_place() and filter_map_in_place()` 2022-01-11 13:37:40 +00:00
Sebastian Dröge
1b46bca2db structure: Add bindings for foreach(), map_in_place() and filter_map_in_place()` 2022-01-11 13:37:40 +00:00
Sebastian Dröge
6d63180bfc Update for glib::Quark API changes 2022-01-11 12:50:13 +02:00
Guillaume Gomez
ac9b1e881c Add missing #[must_use] attribute for clippy 2022-01-04 19:43:07 +01:00
Guillaume Gomez
27dd305cb4 Regen to get #[must_use] attributes generated 2022-01-04 19:02:58 +01:00
Guillaume Gomez
0f6d1cbe31 Update gir submodule 2022-01-04 19:02:10 +01:00
Thibault Saunier
1dae136ae3 navigation: Add a method to get the GstStructure from NavigationEvent
The `GstNavigationInterface` requires to pass a GstStructure to it
`send_event()` method, so it makes sense to allow getting that structure
without building the navigation event itself
2021-12-29 16:15:57 +00:00
Sebastian Dröge
bbcd221e8d Change from impl_() to imp() 2021-12-28 17:50:06 +02:00