Skip to content

Commit

Permalink
fix: set yuv full range flag to 1 for VP9 with sRGB
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmin committed May 9, 2024
1 parent 52647b9 commit 5e71a84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packager/media/codecs/vp9_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ bool ReadBitDepthAndColorSpace(BitReader* reader,
}
} else {
// Assume 4:4:4 for colorspace SRGB.
yuv_full_range = 1;
chroma_subsampling = VPCodecConfigurationRecord::CHROMA_444;
if (codec_config->profile() & 1) {
bool reserved;
Expand Down

0 comments on commit 5e71a84

Please sign in to comment.