You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With that you will only ever be able to get a &mut Buffer if the buffer is actually writable, and have to explicitly handle that instead of waiting for runtime errors or worse if make_writable() is not called manually.
The text was updated successfully, but these errors were encountered:
You might want to take a look at https://github.com/sdroege/rsplugin/blob/master/gst-plugin/src/buffer.c and https://github.com/sdroege/rsplugin/blob/master/gst-plugin/src/miniobject.rs . I'm implementing the miniobject COW via something Arc-style.
With that you will only ever be able to get a &mut Buffer if the buffer is actually writable, and have to explicitly handle that instead of waiting for runtime errors or worse if make_writable() is not called manually.
The text was updated successfully, but these errors were encountered: