Adjust debug level

speed_ai
Isaac Connor 2025-02-22 23:19:05 +05:30
parent 69fdeb6515
commit 5a9dc8a197
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ std::list<const CodecData*> get_encoder_data(int wanted_codec, const std::string
}
}
if (wanted_codec and (enc_codecs[i].codec_id != wanted_codec)) {
Debug(1, "Not the right codec id %d %s != %d %s for %s",
Debug(4, "Not the right codec id %d %s != %d %s for %s",
chosen_codec_data->codec_id,
avcodec_get_name(chosen_codec_data->codec_id),
wanted_codec,

View File

@ -5677,9 +5677,9 @@ AVPixelFormat Image::AVPixFormat(AVPixelFormat new_pixelformat) {
default:
Error("Unknown pixelformat %d %s", new_pixelformat, av_get_pix_fmt_name(new_pixelformat));
}
Debug(1, "Old size: %d, old pixelformat %d", size, imagePixFormat);
Debug(4, "Old size: %d, old pixelformat %d", size, imagePixFormat);
size = av_image_get_buffer_size(new_pixelformat, width, height, 32);
Debug(1, "New size: %d new pixelformat %d", size, new_pixelformat);
Debug(4, "New size: %d new pixelformat %d", size, new_pixelformat);
linesize = FFALIGN(av_image_get_linesize(new_pixelformat, width, 0), 32);
return imagePixFormat = new_pixelformat;
}