Closed philn closed 4 years ago
@lu-zero can you review this PR please? I'm using this API in the GStreamer plugin :)
Looks fine to me, if @sdroege is happy as well I guess it can land and we can have another release.
Looks mostly good to me, just some style/minor things.
Thanks! As @lu-zero was already fine with the changes before and this is mostly cosmetics (and the build.rs change is useful anyway), let's get it in then :)
Is there anything more to add or shall we move to release?
We're good for a release I think. The next "big" task will be to add custom allocator support but I would defer it to another future release.
This method now returns a slice and the stride associated with the requested plane component. This is more convenient when safely copying the decoded picture.
The plane data pointer is now accessible through the plane_data_ptr() method.