GStreamer plugins written in Rust. *These plugins can be used by applications written in other programming languages as well of course, they are just like any other GStreamer plugins available on the system.*
Find a file
François Laignel 116cf9bd3c threadshare/*src: rework pause/flush_start/flush_stop
This commit fixes several issues with the `Ts*Src` elements.

The pause functions used cancel_task which breaks the Task loop at await
points. For some elements, this implies making sure no item is being lost.
Moreover, cancelling the Task also cancels downstream processing, which
makes it difficult to ensure elements can handle all cases.

This commit reimplements Task::pause which allows completing the running
loop iteration before pausing the loop.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/277#note_439529

In the Paused state, incoming items were rejected by TsAppSrc and DataQueue.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/277#note_438455

- FlushStart must engage items rejection and cancel the Task.
- FlushStop must purge the internal stream & accept items again.

If the task was cancelled, `push_prelude` could set `need_initial_events`
to `true` when the events weren't actually pushed yet.

TsAppSrc used to renew its internal channel which could cause Buffer loss
when transitionning Playing -> Paused -> Playing.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/issues/98
2020-03-21 18:46:03 +00:00
gst-plugin-audiofx Fix various new clippy warnings from 1.40 2019-12-22 11:35:01 +02:00
gst-plugin-cdg cdgdec: reset the interpreter when stopping 2020-01-10 10:49:44 +05:30
gst-plugin-claxon Fix some clippy warnings 2020-02-25 10:12:55 +02:00
gst-plugin-closedcaption sccparse: fix timestamps 2020-03-21 01:26:41 +01:00
gst-plugin-dav1d dav1d: Add dav1ddec element 2019-12-24 15:10:58 +01:00
gst-plugin-fallbackswitch Fix/silence various new clippy warnings 2020-03-19 12:55:29 +02:00
gst-plugin-file Fix compilation after gstreamer-rs!383 2019-12-18 08:17:42 +02:00
gst-plugin-flv Update various dependencies 2019-11-21 07:16:26 +00:00
gst-plugin-gif gif: Add initial implementation of a gif encoder 2020-02-25 08:45:22 +00:00
gst-plugin-lewton lewton: Don't copy decoded samples if no channel reordering is needed 2020-01-30 09:02:55 +00:00
gst-plugin-rav1e Fix/silence various new clippy warnings 2020-03-19 12:55:29 +02:00
gst-plugin-reqwest reqwest: Don't use deprecated Error::description() anymore 2020-03-19 13:24:10 +02:00
gst-plugin-rusoto Clippy pass 2019-12-19 20:44:00 +01:00
gst-plugin-sodium Fix various new clippy warnings from 1.40 2019-12-22 11:35:01 +02:00
gst-plugin-threadshare threadshare/*src: rework pause/flush_start/flush_stop 2020-03-21 18:46:03 +00:00
gst-plugin-togglerecord Update for Seqnum/GroupId API changes 2020-01-25 01:21:22 +02:00
gst-plugin-tutorial tutorial: Update for Caps API changes 2020-03-07 00:56:35 +02:00
gst-plugin-version-helper Clippy pass 2019-12-19 20:44:00 +01:00
.gitignore gif: Add initial implementation of a gif encoder 2020-02-25 08:45:22 +00:00
.gitlab-ci.yml Don't include gst-ci template 2020-03-19 11:43:13 +02:00
Cargo.toml gif: Add initial implementation of a gif encoder 2020-02-25 08:45:22 +00:00
cargo_wrapper.py meson: add sodium option 2020-01-30 10:57:00 +00:00
LICENSE-APACHE Change license from LGPLv2.1+ to Apache2/MIT 2017-02-16 17:52:27 +02:00
LICENSE-LGPLv2 Add gst-plugin-togglerecord 2017-12-05 09:56:58 +02:00
LICENSE-MIT Change license from LGPLv2.1+ to Apache2/MIT 2017-02-16 17:52:27 +02:00
Makefile Clean up Makefile some more 2019-07-06 10:32:22 +03:00
meson.build meson: update cargo to minimum 1.40 2020-02-25 13:44:46 +01:00
meson_options.txt meson: add sodium option 2020-01-30 10:57:00 +00:00
README.md Remove header from the README.md about the move from github to gitlab 2019-11-14 10:27:56 +01:00

gst-plugins-rs crates.io pipeline status

Repository containing various GStreamer plugins and elements written in the Rust programming language.

The plugins build upon the GStreamer Rust bindings. Check the README.md of that repository also for details about how to set-up your development environment.

LICENSE

gst-plugins-rs and all crates contained in here that are not listed below are licensed under either of

at your option.

gst-plugin-togglerecord is licensed under the Lesser General Public License (LICENSE-LGPLv2) version 2.1 or (at your option) any later version.

GStreamer itself is licensed under the Lesser General Public License version 2.1 or (at your option) any later version: https://www.gnu.org/licenses/lgpl-2.1.html

Contribution

Any kinds of contributions are welcome as a pull request.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in gst-plugins-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.