Skip to content

Commit daa5e88

Browse files
committed
Changed Unspecified to Bt.709
1 parent 092879c commit daa5e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codecs/avif/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ fn get_matrix(
240240
// and some applications prefer Bt.601 as default.
241241
// For ex. `Chrome` always prefer Bt.709 even for SD content
242242
// However, nowadays standard should be Bt.709 for HD+ size otherwise Bt.601
243-
dav1d::pixel::MatrixCoefficients::Unspecified => Ok(YuvStandardMatrix::Bt601),
243+
dav1d::pixel::MatrixCoefficients::Unspecified => Ok(YuvStandardMatrix::Bt709),
244244
dav1d::pixel::MatrixCoefficients::Reserved => Err(ImageError::Unsupported(
245245
UnsupportedError::from_format_and_kind(
246246
ImageFormat::Avif.into(),

0 commit comments

Comments
 (0)