Skip to content

rtp/rtpbuffer: Work on `&BufferRef` / `&mut BufferRef` instead of `&Buffer` / `&mut Buffer`

Sebastian Dröge requested to merge slomo/gstreamer-rs:rtp-buffer-ref into master

The buffer, in the writable case, needs to be actually writable (i.e. refcount 1) and this was previously not ensured.

Also it caused some API mismatch when trying to use it e.g. as part of basetransform's transform_ip() virtual method.

Fixes gst-plugins-rs#162 (closed)

Merge request reports

Loading