Skip to content

Update VideoFrame ctor to take single buffer #303

Closed
@chcunningham

Description

@chcunningham

The original "planes" constructor was designed for coherence with the planes API. But Planes is now replaced by frame.copyTo(destination, ...) (as of #208), which copies the entire frame copy to a single buffer. Its natural to also update the Planes constructor to match that style, taking in a single buffer and an optional sequence of PlaneLayouts. PR comments raised the issue here.

Metadata

Metadata

Assignees

Labels

breakingInterface changes that would break current usage (producing errors or undesired behavior).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions