stop message flooding

This commit is contained in:
TangoCash
2015-03-31 22:51:46 +02:00
parent daa6561b62
commit 8b534137c9
2 changed files with 2 additions and 2 deletions

View File

@@ -544,7 +544,7 @@ void GLFramebuffer::bltDisplayBuffer()
cVideo::SWFramebuffer *buf = videoDecoder->getDecBuf(); cVideo::SWFramebuffer *buf = videoDecoder->getDecBuf();
if (!buf) { if (!buf) {
if (warn) if (warn)
lt_info("GLFB::%s did not get a buffer...\n", __func__); lt_debug("GLFB::%s did not get a buffer...\n", __func__);
warn = false; warn = false;
return; return;
} }

View File

@@ -295,7 +295,7 @@ void cVideo::ShowPicture(const char *fname, const char *)
buf_in %= VDEC_MAXBUFS; buf_in %= VDEC_MAXBUFS;
buf_num++; buf_num++;
if (buf_num > (VDEC_MAXBUFS - 1)) { if (buf_num > (VDEC_MAXBUFS - 1)) {
lt_info("%s: buf_num overflow\n", __func__); lt_debug("%s: buf_num overflow\n", __func__);
buf_out++; buf_out++;
buf_out %= VDEC_MAXBUFS; buf_out %= VDEC_MAXBUFS;
buf_num--; buf_num--;