From b062f63ec3c73e09018896abbc05260139090480 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Fri, 4 Dec 2020 23:21:57 +0100 Subject: 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. --- ci/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ci') 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'} -- cgit v1.2.3