avconv: More descriptive message about framedrop
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 25 Mar 2014 11:26:24 +0000 (12:26 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 25 Mar 2014 11:26:24 +0000 (12:26 +0100)
avconv.c

index 5d4daba..866b90c 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -515,7 +515,9 @@ static void do_video_out(AVFormatContext *s,
         in_picture->pts != AV_NOPTS_VALUE &&
         in_picture->pts < ost->sync_opts) {
         nb_frames_drop++;
-        av_log(NULL, AV_LOG_VERBOSE, "*** drop!\n");
+        av_log(NULL, AV_LOG_WARNING,
+               "*** dropping frame %d from stream %d at ts %"PRId64"\n",
+               ost->frame_number, ost->st->index, in_picture->pts);
         return;
     }