Commit graph

1880 commits

Author SHA1 Message Date
Sebastian Dröge 5eb1dbd93e video/videoinfo: Use a proper error type in the TryFrom<VideoMultiviewMode> impl for VideoMultiviewFramePacking 2020-05-26 19:26:35 +03:00
Sebastian Dröge d417656707 Use thiserror more widely for deriving Error/Display impls of error types 2020-05-26 19:26:35 +03:00
Sebastian Dröge f0e12bbf24 video/videoconverter: Add TryFrom<Structure> and inverse From impl for VideoConverterConfig
Allows converting between both types interchangebly.
2020-05-26 19:26:35 +03:00
Mathieu Duponchelle 02a43819a7 gstreamer-video: expose caps features 2020-05-22 21:31:45 +02:00
Sebastian Dröge 31313fb5c8 video: Add bindings for guess_framerate() 2020-05-20 09:52:03 +03:00
Sebastian Dröge 8029d85232 video: Add bindings for calculate_display_ratio() 2020-05-20 09:52:03 +03:00
Sebastian Dröge 1b7e99938f gstreamer/event: Add setter/getter for the gst::Stream in the stream-start event 2020-05-17 13:38:45 +03:00
Sebastian Dröge 4097c15c96 Don't include LGPL docs in the docs if both embed-lgpl-docs and purge-lgpl-docs features are selected
This makes usage of RLS/rust-analyzer on the repository much faster and
less annoying as the docs don't have to be included and removed on every
change.
2020-05-14 10:44:58 +03:00
Sebastian Dröge 93bc5c9324 gstreamer/gstreamer-app: Don't store strong references in futures Stream/Sink adapters
This applies to the ones of the appsink, appsrc and bus. If we would
store a strong reference then they would keep alive the underlying
object forever even if their pipeline disappeared in the meantime.

Like this e.g. the bus stream would start returning None once the bus
was destroyed, similar to how other channels are working in Rust.
2020-05-13 22:13:11 +03:00
Sebastian Dröge 3f495ce1da gstreamer/plugin: Register plugins with the correct minor version when building for 1.18 2020-05-08 14:32:50 +03:00
Guillaume Desmottes 6cf5914e21 ci: rebuild images
This will update to latest Rust stable (1.43.1).
2020-05-08 09:14:07 +02:00
Sebastian Dröge 781c5785b1 Regenerate 2020-05-05 17:29:14 +00:00
Sebastian Dröge c588a0bcd5 Update gir-files from gstreamer-rs-sys 2020-05-05 17:29:14 +00:00
Sebastian Dröge e87eff6271 Update gir 2020-05-05 17:29:14 +00:00
Sebastian Dröge 27f694f995 Regenerate 2020-05-05 20:26:55 +03:00
Sebastian Dröge e2c1cdee24 Update gir configurations to generate correct version features and dependencies 2020-05-05 20:26:55 +03:00
Sebastian Dröge a983541a75 Update gir 2020-05-05 20:26:55 +03:00
Sebastian Dröge 7e929b83df gstreamer-rtsp-server: Update gir file 2020-05-05 20:26:45 +03:00
Sebastian Dröge a8583c03a1 gstreamer-editing-services-sys: Remove duplicated enum values 2020-05-05 20:21:01 +03:00
Otavio Salvador 2022890766 examples: Move out from 'failure' crate as it is deprecated
The 'failure' crate has been stale for quite some time and better
alternatives has been developed since its introduction. We choose the
'anyhow' and 'derive_more' to replace it.
2020-05-04 11:16:50 -03:00
Otavio Salvador 6fc70ee6b6 examples: Move to 2018 edition
This code rework the examples to use the new 2018 edition and also
rework the code to avoid using unnecessary 'extern crate' calls.

The 'use extern crate gstreamer as gst', as well as the other gstramer
related crates, were kept, otherwise we'd need to do it on 'Cargo.toml'
but it would make it more difficult to figure out the respective crate
name.
2020-05-03 18:42:57 -03:00
Vivia Nikolaidou 3c1304def5 Add DEVELOPMENT.md
To explain how the development process works (how to update the bindings)
2020-05-03 19:37:13 +03:00
Vivia Nikolaidou ec4a43be89 Regenerate 2020-05-03 16:48:35 +03:00
Sebastian Dröge 2c254c633b gstreamer-rtsp-server: Update gir-file to fix out parameters 2020-05-03 16:48:35 +03:00
Vivia Nikolaidou e986119df6 Update Cargo.toml to 1.18 2020-05-03 16:48:35 +03:00
Vivia Nikolaidou 4718f72fed gstreamer-video/video_encoder: Manually implement finish_subframe 2020-05-03 16:48:35 +03:00
Sebastian Dröge 61c80ada48 ci: Run build with v1_18 feature 2020-05-03 16:48:35 +03:00
Sebastian Dröge 90a4918f92 gstreamer-base/aggregator: Add subclassing support for new 1.18 virtual methods 2020-05-03 16:48:35 +03:00
Sebastian Dröge c449b34b37 gir-files: Sync with gstreamer-rs-sys 2020-05-03 16:48:35 +03:00
Vivia Nikolaidou 3ac7631ea0 gstreamer/bin: Implement iterate_all_by_element_factory_name manually 2020-05-03 16:48:35 +03:00
Vivia Nikolaidou 05852bb19f gstreamer-check/test_clock: Implement process_id manually 2020-05-03 16:48:35 +03:00
Vivia Nikolaidou 0aeccc27ff gstreamer-base/aggregator: Implement update_segment manually 2020-05-03 16:48:35 +03:00
Sebastian Dröge 1be8ec691e gstreamer-video: Add support for the AFD and Bar metas 2020-05-03 16:48:35 +03:00
Vivia Nikolaidou 85f98751cf gstreamer-editing-services: Generate GES.FrameNumber 2020-05-03 15:18:45 +03:00
Vivia Nikolaidou e0ae19d459 gstreamer: Ignore get_current_running_time and get_current_clock_time
They have a better manual implementation
2020-05-03 15:18:45 +03:00
Vivia Nikolaidou df3eb56fb1 gir-files: Update to gstreamer master 2020-05-03 15:18:45 +03:00
Sebastian Dröge 3192d74389 Update CHANGELOG.md for 0.15.5 2020-05-03 10:17:18 +03:00
Sebastian Dröge 2b15e4b3d5 gstreamer-rtsp-server-sys: Revert temporary API/ABI breakage in git master in .gir file too 2020-05-02 22:22:26 +03:00
Sebastian Dröge 65e4f212bc gstreamer-rtsp-server-sys: Revert temporary API/ABI breakage in git master
See https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/116
2020-05-01 10:57:06 +03:00
Sebastian Dröge efe335fe29 gstreamer-rtp-sys: Temporary fix to manually add back GST_RTCP_PSFB_TYPE_AFB 2020-05-01 09:52:22 +03:00
Vivia Nikolaidou 8c43b2886a Regenerate 2020-04-30 21:19:06 +03:00
Vivia Nikolaidou ebea076675 Ignore GL_MEMORY_VIDEO_FORMATS_STR
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/750
again
2020-04-30 21:17:47 +03:00
Vivia Nikolaidou c455fe4f45 Regenerate 2020-04-30 21:11:19 +03:00
Vivia Nikolaidou 3f21d0d197 Ignore GstGL.GL_COLOR_CONVERT_FORMATS
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/750
2020-04-30 21:09:59 +03:00
Vivia Nikolaidou dbf7f1f919 Regenerate 2020-04-30 21:01:53 +03:00
Vivia Nikolaidou 98c722881b Remove GLDisplayEGLDevice 2020-04-30 21:01:53 +03:00
Vivia Nikolaidou 6fc1452a6d Regenerate 2020-04-30 17:12:10 +00:00
Vivia Nikolaidou 4644ec39ab Update all Cargo.toml to 1.17 2020-04-30 17:12:10 +00:00
Vivia Nikolaidou 5bdfce0932 Update all build.rs to 1.17 2020-04-30 17:12:10 +00:00
Vivia Nikolaidou 7cefac11e5 gir-files: Update to gstreamer master 2020-04-30 17:12:10 +00:00