Closed elxy closed 1 month ago
This reverts the fix to https://github.com/PyAV-Org/PyAV/issues/1378 Why don't we change the documentation instead?
This reverts the fix to #1378 Why don't we change the documentation instead?
Thanks for the reminder. The description of parameters has been updated to match the implementation.
The behavior of the VideoReformatter.format() is inconsistent with the documentation. According to the documentation, when color_range is None, it should use the color_range of the frame. However, in the function implementation, the default is set to 0.