rav1e icon indicating copy to clipboard operation
rav1e copied to clipboard

Prevent passing Frames with the wrong dimensions and/or chroma sampling

Open lu-zero opened this issue 4 years ago • 1 comments

As in the code snippet from #2460 we do not validate that the frame provided has the correct dimensions since we assume the user uses Context::new_frame() to create a new frame with the correct settings.

In order to add validation we either need to store the configuration in the Frame.

lu-zero avatar Jul 20 '20 18:07 lu-zero

I'd like to take this on, also because I'd like access to the configuration for the jsapi.

Urhengulas avatar Jul 27 '20 10:07 Urhengulas