Commit graph

2774 commits

Author SHA1 Message Date
Sebastian Dröge 4f8f99e2bf Update Carg.lock 2022-04-04 16:49:54 +03:00
Sebastian Dröge eb9a74bf99 Update versions to 0.18.7 2022-04-04 16:49:54 +03:00
Sebastian Dröge 9bf6f2b010 Update CHANGELOG.md for 0.18.7 2022-04-04 16:49:54 +03:00
Sebastian Dröge e38cf2eb1e Update Cargo.lock 2022-04-04 16:27:00 +03:00
Sebastian Dröge e3ee743740 Regenerate everything with latest gir 2022-04-04 16:27:00 +03:00
Sebastian Dröge 4eb9cead75 Update gir 2022-04-04 16:27:00 +03:00
Sebastian Dröge 434dff7ad0 video: Add various VideoFormatInfo/VideoInfo/VideoFrame helper API 2022-04-04 16:27:00 +03:00
Sebastian Dröge b59f90e634 Don't use unnecessary RefCell wrappers for FnMut callbacks
They don't add any safety as this is via unsafe code anyway and are not
needed to get mutable references in this context anyway, while adding a
bit of runtime overhead.
2022-04-04 16:27:00 +03:00
Sebastian Dröge ef387890fa video: Add subclassing bindings for VideoAggregatorConvertPad 2022-04-04 16:27:00 +03:00
Sebastian Dröge 33982ccf2c audio: Add subclassing bindings for audioaggregator 2022-04-04 16:27:00 +03:00
Sebastian Dröge 070c313f8a audio: Add audioaggregator bindings 2022-04-04 16:27:00 +03:00
Jan Alexander Steffens (heftig) c447f6fd91 gstreamer: Add TaskPool bindings and subclassing
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/14
2022-04-04 16:27:00 +03:00
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