Skip to content

Commit

Permalink
Changed Unspecified to Bt.709
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Nov 2, 2024
1 parent 092879c commit daa5e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codecs/avif/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ fn get_matrix(
// and some applications prefer Bt.601 as default.
// For ex. `Chrome` always prefer Bt.709 even for SD content
// However, nowadays standard should be Bt.709 for HD+ size otherwise Bt.601
dav1d::pixel::MatrixCoefficients::Unspecified => Ok(YuvStandardMatrix::Bt601),
dav1d::pixel::MatrixCoefficients::Unspecified => Ok(YuvStandardMatrix::Bt709),
dav1d::pixel::MatrixCoefficients::Reserved => Err(ImageError::Unsupported(
UnsupportedError::from_format_and_kind(
ImageFormat::Avif.into(),
Expand Down

0 comments on commit daa5e88

Please sign in to comment.