Skip to content

Fix serialize_struct size to match number of fields in gstreamer::Buffer

Jeremy Prater requested to merge jeremy-prater/gstreamer-rs:main into main

I noticed that rmp-serde and serde_cbor/ciborium both fail to deserialize the gstreamer::Buffer object because the encoded struct size is incorrect. There are 7 elements in the struct, but the serializer only specifies 6.

It is curious that serde_json worked correctly, but binary serialization did not.

Merge request reports

Loading