@@ -362,13 +362,13 @@ int Image::PopulateFrame(AVFrame *frame) const {
362362 Error (" Problem setting up data pointers into image %s" , av_make_error_string (rc_size).c_str ());
363363 return rc_size;
364364 } else {
365- Debug (1 , " Image.Populate frame rc/size %d" , rc_size);
365+ // Debug(1, "Image.Populate frame rc/size %d", rc_size);
366366 }
367367
368368 frame->width = width;
369369 frame->height = height;
370370 frame->format = imagePixFormat;
371- zm_dump_video_frame (frame, " Image.Populate(frame)" );
371+ // zm_dump_video_frame(frame, "Image.Populate(frame)");
372372 return 1 ;
373373} // int Image::PopulateFrame(AVFrame *frame)
374374
@@ -436,7 +436,6 @@ Image::Image(const Image &p_image) :
436436 colours = p_image.colours ;
437437 subpixelorder = p_image.subpixelorder ;
438438 size = p_image.size ; // allocation is set in AllocImgBuffer
439- Debug (1 , " Copying image, size is %d" , size);
440439 buffer = nullptr ;
441440 u_buffer = nullptr ;
442441 v_buffer = nullptr ;
@@ -916,7 +915,7 @@ void Image::Assign(const Image &image) {
916915 unsigned int new_size = av_image_get_buffer_size (image.AVPixFormat (), image.Width (), image.Height (), 32 ); // hardcoded hack
917916 // av_image_get_buffer_size(image.AVPixFormat(), image.Width(), image.Height(), 8); // hardcoded hack
918917 // Debug(1, "Assign %dx%dx%d %s=%u", image.Width(), image.Height(), image.AVPixFormat(), av_get_pix_fmt_name(image.AVPixFormat()), new_size);
919- Debug (1 , " Assign %dx%d %d %s=%u old size %u" , image.Width (), image.Height (), image.AVPixFormat (),
918+ Debug (4 , " Assign %dx%d %d %s=%u old size %u" , image.Width (), image.Height (), image.AVPixFormat (),
920919 av_get_pix_fmt_name (image.AVPixFormat ()), new_size, size);
921920 // unsigned int new_size = image.height * image.linesize;
922921
0 commit comments