Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text
AgeCommit message (Collapse)Author
2021-05-13Update repository URL for gtk-rs "core" cratesSebastian Dröge
2021-05-07regex: Fix compilation after array ParamSpec constructor renameSebastian Dröge
2021-04-25Update for Value trait refactoringSebastian Dröge
2021-04-20fix-getters-calls 0.3.0 passFrançois Laignel
2021-04-20fix-getters-def 0.3.0 passFrançois Laignel
2021-04-13post fix-getters manual updatesFrançois Laignel
2021-04-12fix-getters-{def,calls} passFrançois Laignel
2021-03-25json: Don't needlessly create a full-range subslice of a sliceSebastian Dröge
2021-03-22Add license files to all new pluginsSebastian Dröge
2021-03-09Update for the subclassing glib/gstreamer bindings API changesSebastian Dröge
2021-03-07Update for new #[glib::object_subclass] attribute macroSebastian Dröge
2021-02-19text: new element for text processing: regexMathieu Duponchelle
The element expects an array of "commands", as GstStructures, in the form: operation, pattern=<pattern>, ... The only operation implemented for now is replace-all, eg: replace-all, pattern=foo, replacement=bar Other operations can be implemented if useful in the future, eg. "match" could post a message to the bus when the pattern is encountered. The main use case for this is automatic speech recognition, as implemented by eg awstranscribe as users may want to replace swear words with tamer language. Commands are applied in order. The interface is usable through the CLI with the usual escaping strategies, though trying to pass in actual regular expressions through it is a bit tricky, as this introduces yet another level of escaping.
2021-02-15textwrap: use accumulate-time as a latencyMathieu Duponchelle
This slightly amends the semantic of the property: prior to that commit it represented the interval since the last accumulated buffer after which the current line(s) had to be output even if incomplete. After this commit, it represents the interval between "now" and the first accumulated buffer, making it possible to report a useful latency. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-15textwrap: use the lines property in accumulate mode tooMathieu Duponchelle
In that mode, textwrap accumulates and pushs out lines of text up to accumulate-time. We can still make use of the lines property in that mode, and accumulate as many lines of text as specified. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-15textwrap: do not insert spaces before punctuationMathieu Duponchelle
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-09Fix various warnings from clippy 1.50Sebastian Dröge
2021-01-31Use gst::PARAM_FLAG_MUTABLE_PLAYING and others consistently everywhereSebastian Dröge
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/139
2021-01-25Update for glib/gstreamer bindings API changesSebastian Dröge
2021-01-20textwrap: expose accumulate-time propertyMathieu Duponchelle
In its standard mode, textwrap simply splits up text in chained buffers into multiple lines / buffers, not keeping any state. When accumulate-time is specified, multiple input buffers will be wrapped together, outputting one-line buffers of text once a sufficient width (specified by the columns property) is reached, or the interval between two input buffers is greater than accumulate-time. This is useful to format the output of an element such as awstranscribe, which outputs its transcription with one buffer per word.
2021-01-20Add new text/json crateMathieu Duponchelle
This new crate consists of two elements, jsongstenc and jsongstparse Both these elements can deal with an ndjson based format, consisting for now of two item types: "Buffer" and "Header" eg: {"Header":{"format":"foobar"}} {"Buffer":{"pts":0,"duration":43,"data":{"foo":"bar"}}} jsongstparse will interpret this by first sending caps application/x-json, format=foobar, then a buffer containing {"foo":"bar"}, timestamped as required. Elements further downstream can then interpret the data further. jsongstenc will simply perform the reverse operation.
2021-01-04use cargo-c to produce cdy and static libsGuillaume Desmottes
cargo-c will produce a pkg-config file making it easier to statically link plugins. Also add 'static' features for plugins depending on < 1.14 as this is the minimal required version to use static linking because of ABI changes in core.
2020-12-30textwrap: Remove workaround that is not needed anymore with textwrap 0.13.2Sebastian Dröge
2020-12-20Update for macro renamesSebastian Dröge
2020-12-18Update everything for glib macro renamingsSebastian Dröge
2020-12-11textwrap: Update to textwrap 0.13Sebastian Dröge
2020-11-23text: Update to 2018 editionSebastian Dröge
2020-11-19Update for ObjectImpl::get_property() being infallible nowSebastian Dröge
2020-11-16meson: add support for static buildGuillaume Desmottes
There is no way to dynamically ask Cargo to build static or dynamic lib so we have to build both and pick the one we care when doing the meson processing. Fix #88
2020-11-15text: Update for subclassing API changesSebastian Dröge
2020-11-01Switch to the combined gtk-rs and gstreamer-rs repositoriesSebastian Dröge
2020-07-26Update for removal of ObjectImpl::get_type_data()Sebastian Dröge
2020-07-10Add LICENSE files to each individual crateSebastian Dröge
2020-06-30Update various dependenciesSebastian Dröge
2020-06-22Update to use the new pad builders for safely setting pad functionsSebastian Dröge
Only two uses of unsafely setting the pad functions is left: - fallbacksrc for overriding the chain function of the proxy pad of a ghost pad - threadshare for overriding the pad functions after creationg, which probably needs some fixing at some point
2020-06-16Update for new_with_XXX/new_from_XXX function renamingSebastian Dröge
2020-06-11use new constructor namesGuillaume Desmottes
2020-04-24Fix various new clippy warnings with clippy 1.43Sebastian Dröge
2020-04-17textwrap: set PROXY_CAPS flag on padsMathieu Duponchelle
2020-04-16Implement text wrapping element around the textwrap crateMathieu Duponchelle