]> git.sesse.net Git - nageru/blobdiff - main.cpp
Write some drop counters to stderr.
[nageru] / main.cpp
index ad42075363054145fc23d80777b43b1c90f3ca8b..d916f44819841b105a80dfba6e3b5b2bf7d2d6e6 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -76,8 +76,8 @@ int record_thread_func()
                if (av_read_frame(format_ctx.get(), &pkt) != 0) {
                        break;
                }
-               fprintf(stderr, "Got a frame from camera %d, pts = %ld, size = %d\n",
-                       pkt.stream_index, pkt.pts, pkt.size);
+               //fprintf(stderr, "Got a frame from camera %d, pts = %ld, size = %d\n",
+               //      pkt.stream_index, pkt.pts, pkt.size);
                string filename = filename_for_frame(pkt.stream_index, pkt.pts);
                FILE *fp = fopen(filename.c_str(), "wb");
                if (fp == nullptr) {