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 /meson.build | |
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 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 04000e45..15ffc254 100644 --- a/meson.build +++ b/meson.build @@ -48,6 +48,7 @@ plugins_rep = { 'generic/threadshare': 'libgstthreadshare', 'utils/togglerecord': 'libgsttogglerecord', 'video/hsv': 'libgsthsv', + 'text/json': 'libgstrsjson', } exclude = [] |