Commit graph

494 commits

Author SHA1 Message Date
Sebastian Dröge fbee00caab Update for gstreamer gst_plugin_define! API changes 2019-05-27 20:31:39 +00:00
Arun Raghavan e70937a8d7 Update URIHander::set_uri based on gstreamer-rs API changes
Went from Option<String> to &str.
2019-05-27 14:41:58 +00:00
Sebastian Dröge 857800b7b6 rav1enc: Set chroma site and colorimetry from the caps 2019-05-26 17:16:21 +02:00
Sebastian Dröge 2af9057200 rav1enc: Minor cleanup 2019-05-26 16:26:30 +02:00
Arun Raghavan a7d24506c2 Add a plugin to read data from Amazon S3
Moving from https://github.com/ford-prefect/gst-plugin-s3/ to have these
plugins in a central location.
2019-05-25 16:57:39 +02:00
Guillaume Desmottes c46ec64b03 cdg: update image and cdg_renderer deps 2019-05-25 15:42:01 +02:00
Sebastian Dröge 150f672fde rav1e: Add AV1 encoder around rav1e crate 2019-05-25 15:01:18 +02:00
Sebastian Dröge fda1233163 Update some dependencies 2019-05-24 13:33:51 +02:00
Sebastian Dröge 9bccc50add Update for gstreamer-rs API changes 2019-05-24 13:09:32 +02:00
Guillaume Desmottes d7125aee68 Cargo: set opt-level to 1 in dev builds
We need some level of optimizations so the CDG decoder is usable in dev
build. '1' is suitable for debugging according to the doc.
2019-05-23 16:49:13 +02:00
Guillaume Desmottes cfe660ae82 cdg: add cdgdec element
CDG video decoder used to render karaoke videos.

Acting as a parser for now as we don't have cdgparse yet. I'll probably
implement it at some point once we have GstBaseParse bindings.
2019-05-23 16:49:13 +02:00
Jordan Petridis 8c03237949 Add libsodium-based encrypter/decrypter elements
With some changes by Sebastian Dröge <sebastian@centricular.com>
2019-05-09 12:29:39 +03:00
Sebastian Dröge 075cb97b3f tutorial/sinesrc: Simplify query handling code 2019-04-24 12:11:51 +03:00
Sebastian Dröge 8b49953a7a Update CI for 1.16 2019-04-24 12:07:08 +03:00
Sebastian Dröge b6cd1cf6a9 tutorial: Add a Bin subclass example
This is a simple bin containing a progressreport element. The messages
of the progressreport are caught and printed to stdout instead of
forwarding to the application.
2019-04-24 12:07:08 +03:00
Sebastian Dröge 8486fb0b41 threadshare/tcpclientsrc: Fix build of test with changes gst::Sample API 2019-04-23 21:35:51 +03:00
Jordan Petridis 34c7a541f6
CI: build and test with all-features and examples 2019-04-22 10:58:02 +03:00
Jordan Petridis 83c53c6802
togglerecord: Update the gtk example to the exlicit-some api changes
Left over from 129f6a28b0
2019-04-22 09:41:42 +03: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 f5b88d37c5 threadshare: Don't drift slowly when throttling the main context
Instead of taking a new time every iteration, take it once in the
beginning and add our wait time on every iteration. This prevents
accumulating errors and slowly drifting.
2019-04-15 18:43:01 +03:00
Mathieu Duponchelle 50b9654af5 mccparse: implement seeking 2019-03-22 14:08:54 +00:00
Abdul Rehman 2f3139dea2 ts-udpsrc: Add retrieve-sender-address property
Fixes #41
2019-03-13 21:07:53 +05:00
Sebastian Dröge cdbd5c3c91 mccenc: Fix expected test output to contain the new version number 2019-02-22 16:48:49 +02:00
Sebastian Dröge afe8e8e32b Update versions to 0.5.0 2019-02-22 13:27:47 +02:00
Sebastian Dröge ff6e54c690 Update dependency versions 2019-02-22 13:17:54 +02:00
Sebastian Dröge aa325ea98d Fix various clippy warnings 2019-02-21 20:12:09 +02:00
Sebastian Dröge 5e80f2fab4 closedcaption: Increase recursion limit to 128 to fix compilation with latest nightly 2019-02-21 20:12:06 +02:00
François Laignel 186ee43f8e Fix call parent from Ext trait
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/merge_requests/231
2019-02-13 11:53:46 +01:00
Sebastian Dröge 09d7555653 scc_enc: Don't assert if we're trying to write a line without anything buffered
This can happen at EOS if everything was fully written out before
already, for example.
2019-02-12 14:35:22 +02:00
Sebastian Dröge aebbe8c39b scc_parse: Don't send a new caps event for every new line
Only send new caps when the framerate has actually changed.
2019-02-12 14:34:19 +02:00
Jordan Petridis e8c5884931
closedcaption: Add SCC parser and encoder plugins 2019-02-08 23:44:28 +02:00
Jordan Petridis ca012cd4f0
mcc_parse: On FlushStop reset all of the state 2019-02-08 23:44:28 +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
Jordan Petridis c4885c6aab
mcc_enc: Set buffer metadata for outgoing buffers
Copies the metadata over from the input buffers
2019-02-07 15:35:48 +02:00
Jordan Petridis 02655a9dce
mcc_enc: Remove unused fields
These fields were never initialized in the first place.
2019-02-07 14:31:50 +02:00
Jordan Petridis 23071c1e0e
mcc_parse: save the last_timecode to have a fallback
If the current timecode can't be parsed, the plugin falls back
to last knonw timecode to at least have something. The code
that does this already existed but the last_timecode was just
never set.
2019-02-07 14:31:35 +02:00
Sebastian Dröge 01911b0ca7 ts-udpsrc: Fix build on Windows 2019-02-07 10:31:47 +02:00
Sebastian Dröge a2582afed3 ts-udpsrc: Fix build on Windows
By disabling socket sharing there. This is blocked by PRs to mio/tokio
currently.
2019-02-07 10:31:47 +02:00
Sebastian Dröge 6286e496ba Fix build with GLib and GTK changes 2019-02-07 09:54:03 +02:00
Sebastian Dröge e1df2e2de5 flvdemux: Update to nom 4 2019-02-06 14:48:50 +02:00
François Laignel 288596b7a2 Update transform_caps signature
See !223
2019-02-01 16:15:19 +01: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 2a656a98b6 Update signatures further to gstreamer-base changes
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/merge_requests/216
2019-01-26 16:35:52 +01:00
François Laignel 3596870751 Update to LoggedError signatures
See gstreamer-rs!214
2019-01-26 12:41:25 +01:00
Sebastian Dröge 4c618394b7 tutorial: Use chunks_exact/chunks_exact_mut instead of the normal chunks iterator
We always want as many items as given, no less. And this also enables
the compiler to optimize the code further.
2019-01-25 16:42:27 +02:00
François Laignel b8d19920a8 file plugin: starting an already started element is a bug
... in the base class.

See discussion in:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/merge_requests/73
2019-01-24 07:49:54 +00:00
Jordan Petridis 45ebb4c629
mccparse: Refactor huge line-handling function into smaller separate functions
* The Debug category was moved to a lazy_static!.
This allowed for a couple of methods, to be implemented
directly against the State struct since the debug category
was their only dependency from MccParse.

* Log the Caps/Format change
2019-01-22 16:48:12 +02:00
Sebastian Dröge ccc3652a1a plugin::register_static() can fail so don't let it silently fail 2019-01-21 22:13:07 +02:00
Sebastian Dröge d7fc5ca272 Set caps on the harness in tests before pushing the first buffer
Otherwise there will be warnings about data flow before segment events,
as harness is only sending the segment event together with the caps.
2019-01-21 17:34:44 +02:00
Sebastian Dröge 8c671ed7dc Enable 1.31 test job now that 1.32 is released 2019-01-18 08:14:38 +00:00