diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2020-12-05 01:21:57 +0300 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2021-01-20 04:29:19 +0300 |
commit | b062f63ec3c73e09018896abbc05260139090480 (patch) | |
tree | 6fac73d1da77dc52297467a5832bb75df973b563 /ci | |
parent | 6267e00c20785ff637192f6a94c367f3e382ce90 (diff) |
Add new text/json crate
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.
Diffstat (limited to 'ci')
-rw-r--r-- | ci/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/utils.py b/ci/utils.py index a3ec3d1e..e0c7626d 100644 --- a/ci/utils.py +++ b/ci/utils.py @@ -2,7 +2,7 @@ import os DIRS = ['audio', 'generic', 'net', 'text', 'utils', 'video'] # Plugins whose name is prefixed by 'rs' -RS_PREFIXED = ['audiofx', 'closedcaption', 'dav1d', 'file'] +RS_PREFIXED = ['audiofx', 'closedcaption', 'dav1d', 'file', 'json'] OVERRIDE = {'wrap': 'rstextwrap', 'flavors': 'rsflv'} |