Commit graph

2791 commits

Author SHA1 Message Date
Sebastian Dröge
4cefe838f1 base: Add support for returning buffer lists from BaseSrc/PushSrc subclasses 2022-06-24 11:12:38 +03:00
Sebastian Dröge
c8e8031b74 ci: Fix syntax for coverage reports to the new format 2022-06-07 20:34:21 +03:00
Stephan Seitz
a4ba8b87cd gstreamer: add PadProbeId::as_raw()
This allows to convert PadProbeId to numberic values without
taking them by value (like `into_glib`).

See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/382#note_1391236
2022-06-07 20:34:21 +03:00
Sebastian Dröge
c651d96c49 net: Add various static PTP clock API
This allows initializing the PTP clock infrastructure, deinitializing
it, checking the current status and adding statistics callbacks.
2022-06-07 20:34:21 +03:00
Mathieu Duponchelle
ba25d7ea90 base classes: expose accessors for static pads
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1023>
2022-06-07 20:21:12 +03:00
Sebastian Dröge
08953dfe66 gstreamer: Implement FusedStream for the Bus stream 2022-06-07 20:20:01 +03:00
Sebastian Dröge
9ee22baa07 Update CHANGELOG.md for 0.18.8 2022-04-26 14:02:36 +03:00
Sebastian Dröge
370d49cefd Update Cargo.lock 2022-04-26 13:57:03 +03:00
Sebastian Dröge
d5aa2e9b5f Update versions to 0.18.8 2022-04-26 13:55:34 +03:00
Mathieu Duponchelle
ffd1f3e15f rtpbuffer: bind length calculation API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1014>
2022-04-23 10:03:56 +03:00
Sebastian Dröge
cfef08470b Update Cargo.lock 2022-04-22 17:44:05 +03:00
Sebastian Dröge
87f2d51a35 gstreamer: Update to pretty-hex 0.3 2022-04-22 17:36:16 +03:00
Mathieu Duponchelle
433fa3da5c rtp_buffer: bind buffer getters
* Expose the buffer field, useful to look up flags and meta

* Expose the payload_buffer API, useful to avoid copies, for instance
  when storing in an adapter

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1008>
2022-04-22 17:36:03 +03:00
Mathieu Duponchelle
05e59747ab rtp: add bindings for RTPBaseDepayload
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1008>
2022-04-22 17:35:40 +03:00
Mathieu Duponchelle
6c57d89e9c rtp: add bindings for RTPBasePayload
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1008>
2022-04-22 17:35:31 +03:00
Jan Alexander Steffens (heftig)
52ae5e435b gstreamer: Export subclass::TaskPoolFunction
This must be accessible in order to subclass TaskPool.
2022-04-22 17:35:21 +03:00
Sebastian Dröge
5a334cdcd3 gstreamer: Complete the Task bindings 2022-04-22 17:33:23 +03:00
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