Commit graph

30 commits

Author SHA1 Message Date
Sebastian Dröge 8ce4ca6512 closedcaption: Update version number to 0.5.2 in mcc_enc test 2019-07-07 13:37:14 +03:00
Sebastian Dröge 31a1305a2d Update versions to 0.5.2 2019-07-07 12:13:56 +03:00
Sebastian Dröge 2a7bcca7eb Update rand to 0.7 and rusoto to 0.40 2019-07-06 10:38:25 +03:00
Sebastian Dröge 456db123f2 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:17:36 +03:00
Sebastian Dröge 43aeb840e5 Update versions of everything and use releases instead of GIT 2019-06-25 10:30:12 +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
Sebastian Dröge ea14f36a0d Update for the TryInto/TryFrom gstreamer API changes 2019-06-03 19:47:26 +03:00
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
Mathieu Duponchelle 50b9654af5 mccparse: implement seeking 2019-03-22 14:08:54 +00: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
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
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 9db02cb55e Fixes for gstreamer-rs API changes
Creating pad templates can return None now.
2019-01-29 17:33:06 +02: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
Jordan Petridis 45c765fb57 closedcaption: remove unnecessary extern crate declarations
The ones for gstreamer and glib are left there to avoid importing
the macros from weird paths, since the bindings are not yet ready
for this modules system
2019-01-13 14:23:31 +02:00
Sebastian Dröge 774110ec0a closedcaption: Add closed caption plugin with an MCC parser and encoder 2019-01-13 14:23:31 +02:00