Most of the time the quantisation matrices are the same, it only matters with the proxy profile.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -1018,7 +1018,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 1017 unmodified lines | |||
| 1018 | bytestream_put_byte(&buf, ctx->quant_mat[i]); | 1018 | bytestream_put_byte(&buf, ctx->quant_mat[i]); |
| 1019 | // chroma quantisation matrix | 1019 | // chroma quantisation matrix |
| 1020 | for (i = 0; i < 64; i++) | 1020 | for (i = 0; i < 64; i++) |
| 1021 | bytestream_put_byte(&buf, ctx->quant_mat[i]); | 1021 | bytestream_put_byte(&buf, ctx->quant_chroma_mat[i]); |
| 1022 | } else { | 1022 | } else { |
| 1023 | bytestream_put_byte (&buf, 0x00); // matrix flags - default matrices are used | 1023 | bytestream_put_byte (&buf, 0x00); // matrix flags - default matrices are used |
| 1024 | } | 1024 | } |