Adjust debug level
parent
69fdeb6515
commit
5a9dc8a197
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue