mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -05:00
remove json stuff
using JSON for formats or properties is not a good idea because we can't add more types like pointers, fd, rectangles without weird hacks. Our PODs are more easy to parse and extend and now there is an easy way to parse and create them as well.
This commit is contained in:
parent
81e5708442
commit
d65012ff21
5 changed files with 1 additions and 886 deletions
|
|
@ -137,7 +137,7 @@ spa_pod_maker_build(struct spa_pod_maker *maker,
|
|||
spa_pod_builder_push_array(&maker->b, &maker->frame[maker->depth++]);
|
||||
break;
|
||||
case '{':
|
||||
spa_pod_builder_push_map(&maker->b, &maker->frame[maker->depth++]);
|
||||
spa_pod_builder_push_object(&maker->b, &maker->frame[maker->depth++], 0, 0);
|
||||
break;
|
||||
case ']': case '}': case ')':
|
||||
spa_pod_builder_pop(&maker->b, &maker->frame[--maker->depth]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue