Commit graph

2762 commits

Author SHA1 Message Date
Alejandro González e30ad5d231 Fix macOS PKG_CONFIG_PATH in readme for GStreamer Binaries
I've just installed the latest 1.20.1 GStreamer .pkg on a macOS GitHub
Actions CI runner and it turns out that no
/Library/Frameworks/GStreamer.framework/Versions directory exists. A
/Library/Frameworks/GStreamer.framework/1.0 directory is installed
instead, which is more consistent with the GStreamer distributions for
other OSes, and works well enough to get pkg-config working.
2022-04-04 16:11:54 +03:00
Sebastian Dröge 4f186e0147 Don't unnecessarily borrow dereferenced values explicitly
warning: this expression borrows a value the compiler would automatically borrow
  --> gstreamer-rtsp-server/src/rtsp_session_pool.rs:16:5
   |
16 |     (&mut *func.borrow_mut())(&from_glib_borrow(pool)).into_glib()
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `(*func.borrow_mut())`
   |
   = note: `#[warn(clippy::needless_borrow)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
2022-04-04 16:11:28 +03:00
Sebastian Dröge 6a76e19e78 video: Add subclass bindings for VideoAggregator 2022-04-04 16:11:16 +03:00
Sebastian Dröge dcab2553bf video: Add bindings for VideoAggregator 2022-04-04 16:11:09 +03:00
Sebastian Dröge 3c6a9cede5 video: Allow converting a VideoFrame into an FFI GstVideoFrame 2022-04-04 16:11:03 +03:00
Sebastian Dröge 917c50c36b Use SPDX license format in Cargo.toml 2022-04-04 16:10:08 +03:00
Sebastian Dröge e202eff2d9 Update Cargo.lock 2022-03-08 19:41:00 +02:00
Sebastian Dröge cc4aee02a5 Update Cargo.lock 2022-03-08 19:21:45 +02:00
Sebastian Dröge d8169d7976 Update CHANGELOG.md for 0.18.6 2022-03-08 19:20:48 +02:00
Sebastian Dröge 883681bd4c Update versions to 0.18.6 2022-03-08 19:18:44 +02:00
Sebastian Dröge 5b24acb9c0 gstreamer: Require Send and not Sync for the values of an Array / List
`Sync` is more than required here: only sending of the values to another
thread is required.
2022-03-08 18:49:08 +02:00
Sebastian Dröge 24a2bb78a6 gstreamer: Simplify and speed up log message string construction
For pre-1.20 simply use `%s` as format string instead of escaping the
`%` inline while writing. This allows a simpler implementation and is
also faster, see https://github.com/gtk-rs/gtk-rs-core/pull/583.
2022-03-08 18:37:23 +02:00
Sebastian Dröge 019ff43b60 Update Cargo.lock 2022-03-08 14:54:45 +02:00
Sebastian Dröge 14e387ef23 Revert "rtsp-server: Add bindings for Onvif-specific client/media/media-factory/server"
This reverts commit e78b0bc53c.

This was applied twice.
2022-02-20 20:55:28 +02:00
Sebastian Dröge e78b0bc53c rtsp-server: Add bindings for Onvif-specific client/media/media-factory/server
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/373
2022-02-20 20:27:29 +02:00
Sebastian Dröge 902aa50063 Update Cargo.lock 2022-02-20 20:20:52 +02:00
Sebastian Dröge cb885cb99e Update CHANGELOG.md for 0.18.5 2022-02-20 20:20:46 +02:00
Sebastian Dröge a58efe2910 Update versions to 0.18.5 2022-02-20 20:17:18 +02:00
Sebastian Dröge 0fdfe4d148 Update Cargo.lock 2022-02-18 17:24:00 +02:00
Sebastian Dröge 1bd3ed058a rtsp-server: Add subclassing support for Onvif-specific client/media/media-factory/server 2022-02-18 17:01:48 +02:00
Sebastian Dröge 523abc7b3f rtsp-server: Add bindings for Onvif-specific client/media/media-factory/server
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/373
2022-02-18 17:01:43 +02:00
Marijn Suijten 0873db2a41 gstreamer/plugin_1_14: Use minor version 20 instead of 19 for v1_20
Now that gstreamer 1.20 is out all v1_20 plugins will be linked against
the 1.20 stable release, not the unstable 1.19 development release.
2022-02-18 17:01:37 +02:00
Marijn Suijten a838b2ec36 Revert "sys: Link all v1_20 sys crates against library 1.19" - use 1.20
This reverts commit 8226c94110.

Now that GStreamer 1.20 is out, the v1_20 feature can and should link
directly to the stable release instead of the unstable 1.19 development
release.
2022-02-18 17:01:30 +02:00
Marijn Suijten 57cf66e26b gstreamer/sys: Move v1_18_3 system-deps metadata above v1_20
Keep the versions sorted numerically.
2022-02-18 17:01:23 +02:00
Sebastian Dröge e5e2b8e682 gstreamer: Fix downcast_ref() / downcast_mut() impls on MiniObjectRef
They have to return the `Ref` type and not the owned type.
2022-02-18 17:01:17 +02:00
Sebastian Dröge 849440403c gstreamer: Add Debug impl for MiniObject / MiniObjectRef 2022-02-18 17:01:11 +02:00
Sebastian Dröge b1f1c7dd4e examples: Update to image 0.24 2022-02-18 17:01:04 +02:00
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