Skip to content

Commit

Permalink
remove spammy log
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Nov 21, 2023
1 parent 98dd78d commit d1bba54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/videostreaming/avcodec/texturerenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ int TextureRenderer::queue_new_frame_for_display(AVFrame *src_frame)
//std::cout<<"DRMPrimeOut::drmprime_out_display "<<src_frame->width<<"x"<<src_frame->height<<"\n";
if ((src_frame->flags & AV_FRAME_FLAG_CORRUPT) != 0) {
//fprintf(stderr, "Discard corrupt frame: fmt=%d, ts=%" PRId64 "\n", src_frame->format, src_frame->pts);
qDebug()<<"Frame corrupt, but forwarding anyways";
// log removed, can also appear on non corrupted frames
//qDebug()<<"Frame corrupt, but forwarding anyways";
//return 0;
}
latest_frame_mutex.lock();
Expand Down

0 comments on commit d1bba54

Please sign in to comment.