rav1e
rav1e copied to clipboard
Prevent passing Frames with the wrong dimensions and/or chroma sampling
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
.
I'd like to take this on, also because I'd like access to the configuration for the jsapi.