Commit graph

2735 commits

Author SHA1 Message Date
Christian Meissl
af28e036a5 support for subclassing buffer pool 2022-02-18 17:00:58 +02:00
Sebastian Dröge
67291b6d17 Handle empty slices correctly
Passing `NULL` to `slice::from_raw_parts` is invalid.
2022-02-18 17:00:31 +02:00
Sebastian Dröge
b43cbf216d Update Cargo.lock 2022-02-04 18:44:11 +02:00
Sebastian Dröge
5b2396405d Update versions to 0.18.4 2022-02-04 18:42:03 +02:00
Sebastian Dröge
86fd63585a Update README.md for 0.18.4 2022-02-04 18:40:47 +02:00
Christian Meissl
eb996c7125 fix readme doc links 2022-02-04 18:13:10 +02:00
Sebastian Dröge
bc9360968b Update Cargo.lock 2022-02-04 14:03:42 +02:00
Sebastian Dröge
55ed03c395 Regenerate with latest gir files 2022-02-04 14:02:45 +02:00
Sebastian Dröge
769dbe330d Update GStreamer gir files 2022-02-04 14:01:03 +02:00
Sebastian Dröge
c8ac0bd6b7 Update gir-files 2022-02-04 14:00:58 +02:00
Sebastian Dröge
973919fae7 ci: Update to get GStreamer 1.20.0 release 2022-02-04 14:00:51 +02:00
Sebastian Dröge
c37316fac1 video: Allow getting an owned reference to the input buffer from a video codec frame 2022-02-04 14:00:45 +02:00
Sebastian Dröge
5ee2ce9d10 deny: Remove heck override as all dependencies are up to date now 2022-02-04 14:00:32 +02:00
Sebastian Dröge
1c28671af4 Update Cargo.lock 2022-01-31 14:54:15 +02:00
Sebastian Dröge
d1b3313c09 Update versions to 0.18.3 2022-01-31 14:53:36 +02:00
Sebastian Dröge
5920807e0b Update CHANGELOG.md for 0.18.3 2022-01-31 14:53:36 +02:00
Sebastian Dröge
e0aa48ce1b ges: Depend on glib 0.15.3 for ThreadGuard API 2022-01-31 14:53:36 +02:00
Sebastian Dröge
d5bcc82dc5 Update Cargo.lock 2022-01-29 18:52:33 +02:00
Sebastian Dröge
414d640ed9 Regenerate with latest gir and GStreamer gir files 2022-01-29 18:26:28 +02:00
Sebastian Dröge
7bc8eb0444 ci: Update GStreamer version 2022-01-29 18:25:35 +02:00
Sebastian Dröge
2ebf11a5cd webrtc: Generate WebRTCError type 2022-01-29 18:25:27 +02:00
Sebastian Dröge
040ac36c57 rtp: Add subclass bindings for RTPHeaderExtension 2022-01-29 18:25:18 +02:00
Sebastian Dröge
cd4e191a00 rtp: Re-export standalone functions from crate root 2022-01-29 18:24:46 +02:00
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