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
Vivia Nikolaidou
a0fa164b7b
Update ci gstreamer to master
2020-04-30 18:17:21 +03:00
Vivia Nikolaidou
118c7d4ad9
Regenerate
2020-04-30 17:16:23 +03:00
Vivia Nikolaidou
5ccbec37f9
fix.sh: Remove more EGL stuff
2020-04-30 17:14:29 +03:00
Vivia Nikolaidou
e1b1d4d95a
Update GLib gir files
2020-04-30 17:14:20 +03:00
Vivia Nikolaidou
720c17293b
gir-files: Update to 1.16.2
2020-04-30 17:14:11 +03:00
Vivia Nikolaidou
ae965f7256
gir-files: Update files after newer fix.sh
2020-04-30 14:01:41 +03:00
Vivia Nikolaidou
c6831ca28a
fix.sh: Incorporate reformat.sh
...
From https://github.com/gtk-rs/gir-files/blob/master/reformat.sh
2020-04-30 14:01:09 +03:00
Jan Alexander Steffens (heftig)
1d2609d448
gstreamer: Return any lifetime instead of 'static
...
Following https://github.com/gtk-rs/glib/pull/633
2020-04-30 09:50:00 +02:00
Guillaume Desmottes
f28a92c46c
ci: update ci template
...
Prevent creating a second useless layer, see
https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/26
Update image tag to ensure building images is still working.
2020-04-28 16:08:56 +02:00
Guillaume Desmottes
fe30b4a388
ci: improve docker image layering
...
At the moment we are building 3 independent images, each one having a different
Rust version. This works perfectly fine but we can save storage space and
bandwith by making a smarter use of Docker's layering system.
Introducing a new 'base' image containing all the deps, including
GStreamer, acting as a base for the actual images.
As a result most of the actual content is now shared accross the same
Docker layer. This would save us from downloading/building all the deps
when updating images and will reduce storage and transfers for runners.
2020-04-28 15:25:48 +02:00
Guillaume Desmottes
33dbedf59c
deny: fail on multiple versions
...
Will ensure to keep the ignore list up to date.
2020-04-28 12:18:17 +02:00
Guillaume Desmottes
2aa529fbdf
ci: remove cargo-audit
...
It's been replaced by cargo-deny in all modules.
Don't regenerate images for now, it's not a problem to keep it around
until the next images update round.
2020-04-28 11:40:14 +02:00
Guillaume Desmottes
a6c20922ff
update documentation links
2020-04-28 11:17:24 +02:00
Jordan Petridis
cc0775388f
CI: Build docs and deploy them with gitlab pages
2020-04-27 16:54:41 +02:00
Guillaume Desmottes
466e0901bb
rtp: add dox feature
2020-04-27 16:54:41 +02:00
Guillaume Desmottes
d31a9fece4
ci: install cargo-audit
...
Not needed for gstreamer-rs as it uses 'cargo deny' but still used by
gst-plugins-rs and gstreamer-rs-sys.
2020-04-27 14:12:26 +02:00
Guillaume Desmottes
e23ca02261
ci: fix trigger update request
...
Forgot to change the branch to 'master' instead of my custom test
branch.
2020-04-27 14:01:50 +02:00
Guillaume Desmottes
1567513e8a
ci: force images rebuild
...
No change, will be used to ensure that gst-plugins-rs images are
actually updated.
2020-04-27 12:41:47 +02:00
Guillaume Desmottes
0d2829d955
ci: add deploy jobs triggering gst-plugins-rs image updates
...
Those jobs will trigger a rebuild of gst-plugins-rs when our images are
updated.
2020-04-27 11:14:29 +02:00
Guillaume Desmottes
e40e23b82c
ci: move image tags to its own file
...
Will be used by gst-plugins-rs to reference gstreamer-rs images as
bases.
2020-04-24 14:00:11 +02:00
Sebastian Dröge
6e431ce060
Run everything through rustfmt again
...
It got some improvements for applying consistent formatting to code
blocks in macros.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/468 >
2020-04-24 12:46:16 +03:00
Sebastian Dröge
020e2a4464
ci: Rebuild CI images for Rust 1.43
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/468 >
2020-04-24 12:31:10 +03:00
Sebastian Dröge
834b6d8d69
gstreamer/proxypad: Convert default pad functions to plain functions on ProxyPad instead of a trait
...
This allows to use them properly when overriding these functions.
2020-04-23 15:37:18 +03:00
Sebastian Dröge
47cc80b1ef
video: Assert if caption data passed when adding caption metas is empty
...
It will cause a critical warning otherwise.
2020-04-22 21:42:39 +03:00
alleynb
86e6d3afa4
tutorials/tutorial-6: Improve caps output
...
Fixed printing of pad capabilites in tutorial6.
Output now displays the capability lists eg:
layout:{ (string)interleaved, (string)non-interleaved }
The origional broken output was being displayed as:
layout:SendValue(Value(GString(Foreign(0x557140c99d00, 40))))
2020-04-21 12:01:41 +01:00
Guillaume Desmottes
932d4720c0
ci: fix CARGO_HOME caching
...
CARGO_HOME's semantic depends on when it's used in the pipeline:
- it's the install prefix when installing Cargo
- it's the crate cache location when building jobs
env.sh is sourced at the start of all jobs and was overidding the
CARGO_HOME path defined in the CI template for caching. Fix this by
moving the prefix install path to install-rust.sh.
2020-04-21 09:35:33 +00:00
Guillaume Desmottes
38b64473e9
ci: make clippy warnings fatal
2020-04-21 11:06:46 +02:00
Guillaume Desmottes
6a72f65b3b
gstreamer: ignore cognitive_complexity warnings
...
Those are just long tests.
2020-04-21 10:17:46 +02:00
Guillaume Desmottes
a12b51abd6
gstreamer: stream_collection: ignore new_ret_no_self clippy warning
2020-04-21 09:00:35 +02:00
Guillaume Desmottes
872024c372
fix option_as_ref_deref clippy warnings
2020-04-21 09:00:35 +02:00
Guillaume Desmottes
20b672eae3
ci: force git-fetch-with-cli
...
Workaround so fdo redirects actually work.
Fix https://gitlab.freedesktop.org/gstreamer/gst-ci/-/issues/71
2020-04-20 18:19:23 +02:00
Guillaume Desmottes
1295d9fc6a
ci: remove target/ as manual clean up
...
It seems that when a job is failing, target/ is not properly wiped out
from the ci container triggering later jobs to fail, see for example
https://gitlab.freedesktop.org/gdesmott/gstreamer-rs/-/jobs/2349943
Manually clean it up as after_script to hopefully workaround this
problem.
2020-04-20 18:04:55 +02:00
Guillaume Desmottes
932c940102
gstreamer: caps: add new_from_iter(_with_features)()
2020-04-20 17:12:24 +02:00