Commit graph

60 commits

Author SHA1 Message Date
Sebastian Dröge b4efa42d8f Fix various clippy warnings 2019-07-04 18:56:33 +03:00
Sebastian Dröge 833b16def6 Update element/typefind factory ranks
The only None ranks now are:
- cdgdec/cdgparse: Primary
- rav1enc: Primary
- reqwesthttpsrc: Marginal
- s3sink/s3src: Primary
- mccenc/mccparse: Primary
- sccenc/sccparse: Primary

All other ranks are set to None until the elements are ready to replace
the existing C elements, or are otherwise production-ready and of a
element kind that should be autoplugged in one way or another.

For example the sodium elements are production-ready but can't be
autoplugged and as such should stay at a None rank.
2019-07-02 13:14:06 +03:00
Guillaume Desmottes 53e530f7db port all plugins to new register API
Rank is now an enum rather than a u32
2019-06-04 14:35:10 +05:30
ahamedsajeer.15 dc45b7f8ac Add build.rs that provides a version number, release date and other details 2019-06-03 11:11:29 +00:00
Sebastian Dröge fbee00caab Update for gstreamer gst_plugin_define! API changes 2019-05-27 20:31:39 +00:00
Sebastian Dröge 9bccc50add Update for gstreamer-rs API changes 2019-05-24 13:09:32 +02:00
Sebastian Dröge 129f6a28b0 Update for gstreamer-rs/glib/etc API changes and add more explicit Some() 2019-04-16 10:10:16 +03:00
Sebastian Dröge aa325ea98d Fix various clippy warnings 2019-02-21 20:12:09 +02:00
Sebastian Dröge 7c1ca3ef55 flvdemux: Use 8kHz sample rate for alaw/mulaw
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/merge_requests/110
2019-02-08 15:12:19 +02:00
Sebastian Dröge e1df2e2de5 flvdemux: Update to nom 4 2019-02-06 14:48:50 +02:00
Sebastian Dröge 9db02cb55e Fixes for gstreamer-rs API changes
Creating pad templates can return None now.
2019-01-29 17:33:06 +02:00
François Laignel 3596870751 Update to LoggedError signatures
See gstreamer-rs!214
2019-01-26 12:41:25 +01:00
François Laignel f5a398b21e Update gstreamer-rs/gstreamer bool to Result changes 2019-01-18 10:00:45 +02:00
Sebastian Dröge e1c32ecd61 flvdemux: Handle parsing errors correctly
By either skipping the broken data if we can, or otherwise if we can't
by simply erroring out.
2019-01-14 22:09:46 +02:00
François Laignel e930133bdf Update for gstreamer-rs MR 200
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/merge_requests/200
2019-01-12 18:00:04 +01:00
Sebastian Dröge 4b4ae6d52c flvdemux: Port to new subclassing API
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/issues/49
2019-01-03 23:58:00 +02:00
Sebastian Dröge bddc4f325e flv: Fix compilation after change to Buffer::from_mut_slice()
It does not return an Option<_> anymore.
2018-12-27 10:45:59 +02:00
Sebastian Dröge 32265412f3 Change all links/mentions from gst-plugin-rs to gst-plugins-rs 2018-11-26 11:52:09 +01:00
Thijs Vermeir cee861f341 use BoolError for plugin registration 2018-11-04 20:24:20 +01:00
Sebastian Dröge 97cc1c8458 Change all references from GitHub to freedesktop.org GitLab 2018-11-03 20:24:21 +02:00
Sebastian Dröge 628f5099eb Run everything through latest rustfmt 2018-10-11 13:49:48 +03:00
Sebastian Dröge f2deb2264b Fix various clippy warnings 2018-10-11 13:49:10 +03:00
Sebastian Dröge dcb3683232 Run everything through latest rustfmt 2018-07-27 13:35:58 +03:00
Thibault Saunier 25af5afb2b Move plugin-simpler::error code back to gst-plugin
Prepatory work to write element base class for decoders (which will be
outside of plugin-simple).
2018-05-13 13:53:18 +03:00
Sebastian Dröge 8bc3f12061 Run everything through rustfmt again 2018-05-01 17:16:12 +03:00
Sebastian Dröge bda421d218 Move more things into gst-plugin-simple 2017-12-20 21:53:43 +02:00
Sebastian Dröge 22c5f93d3b Fix various clippy warnings 2017-12-20 21:36:50 +02:00
Sebastian Dröge 80a2c5033f Use ErrorMessage from gstreamer bindings 2017-12-20 20:05:04 +02:00
Sebastian Dröge 2ec85ac0b0 Run everything through rustfmt again 2017-12-16 17:42:42 +02:00
Sebastian Dröge 22ab56895d Remove Rs prefix from everything
We have proper namespaces in Rust
2017-11-20 13:23:30 +02:00
Sebastian Dröge 323bf3ea08 Update to latest gstreamer-rs master API changes 2017-11-11 13:02:55 +01:00
Sebastian Dröge d8dbe8414c Fixes for gstreamer-rs API changes 2017-10-21 10:06:28 +02:00
Sebastian Dröge 443abffa73 Run everything through latest rustfmt-nightly 2017-10-17 12:21:53 +03:00
Sebastian Dröge 393cd6236a Move simple Source/Sink/Demuxer traits to a separate crate
Fixes https://github.com/sdroege/gst-plugin-rs/issues/20
2017-10-11 13:32:44 +03:00
Sebastian Dröge dda3b5ff1a Fix build with latest gstreamer-rs 2017-10-01 16:19:43 +02:00
Sebastian Dröge 62a237ff0c Implement a generic Element implementation infrastructure
And implement the Demuxer base class on top of that, with no unsafe code
left whatsoever
2017-09-19 14:56:04 +03:00
Sebastian Dröge 2781e0b3d8 Port demuxer to plain Rust 2017-09-18 21:29:42 +03:00
Sebastian Dröge 7e7433037d Port everything over to gstreamer-rs
And remove all unneeded code and unused external crates.
2017-09-16 20:35:01 +03:00
Sebastian Dröge 5ae66e191c Run everything through latest rustfmt-nightly 2017-09-15 11:54:38 +03:00
Sebastian Dröge 37a673ce24 Use muldiv crate for timestamp calculations 2017-08-18 12:55:24 +03:00
Sebastian Dröge 6f04ddf797 Run everything through rustfmt-nightly 2017-07-31 14:36:35 +01:00
Sebastian Dröge df51424631 Structure/Caps API improvements 2017-04-21 12:18:41 +01:00
Sebastian Dröge 021de8af1f Update to slog 2.0 2017-04-12 16:44:34 +03:00
Sebastian Dröge d72f1f716b Port C code for the source to pure Rust 2017-04-10 19:52:00 +03:00
Sebastian Dröge e64facc254 Change license from LGPLv2.1+ to Apache2/MIT
https://github.com/sdroege/rsplugin/issues/7
2017-02-16 17:52:27 +02:00
Sebastian Dröge 7b5764e759 Implement GstRc/GstRef wrapper for GstMiniObject
Keeps the miniobject specific code local and provides a more similar API
to Rc/Arc. Also makes it impossible to accidentially try writing to an
unwritable miniobject.
2017-02-03 15:57:49 +01:00
Sebastian Dröge aa54f1a4e6 Use num_rational instead of home-baked (u32, u32) fractions 2017-01-15 20:56:20 +01:00
Sebastian Dröge 620cf7c5f7 Minor cleanup 2017-01-14 18:15:06 +01:00
Sebastian Dröge 3e17102166 Add API to create a Buffer from a Vec<u8> with memory reuse and use it for the Speex headers 2017-01-14 18:04:55 +01:00
Sebastian Dröge 745a6a3c17 Implement From<_> for Value to simplify code a lot 2017-01-13 21:45:23 +01:00