Skip to content

video: fix VideoFrame(Ref)::plane_data() returning truncated buffer

ypcheung-harmonicinc requested to merge PangHLIT/gstreamer-rs:fix-536 into main

Plane index and component index are not interchangeable for some video formats, e.g., AV12. Each plane could contain more than one component. Therefore, the height of each plane's buffer should be the aggregated height of all its components.

Fixes #536 (closed)

Merge request reports

Loading