This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
gst-plugins-rs
Watch
1
Star
1
Fork
You've already forked gst-plugins-rs
0
mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced
2024-12-28 21:10:34 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
d1254fc4ef
gst-plugins-rs
/
text
/
json
/
build.rs
4 lines
52 B
Rust
Raw
Normal View
History
Unescape
Escape
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.
2020-12-04 22:21:57 +00:00
fn
main
(
)
{
fix-getters-calls 0.3.0 pass
2021-04-20 12:58:11 +00:00
gst_plugin_version_helper
::
info
(
)
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.
2020-12-04 22:21:57 +00:00
}
Reference in a new issue
Copy permalink