summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-25 19:24:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-25 19:25:10 +0100
commit41e7e46cac507e993af6d656c8d3672ba3f9e304 (patch)
tree896287ec9cec98a63cddeda702e4bea8c1649b83 /ffmpeg.c
parent10e931d51477d10cb3507cc5a67fe356bb6c892c (diff)
parentaa499568afc01d59215eef7e5b14b949a9671afc (diff)
Merge commit 'aa499568afc01d59215eef7e5b14b949a9671afc'
* commit 'aa499568afc01d59215eef7e5b14b949a9671afc': avconv: More descriptive message about framedrop Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index a5c102647f..25001f57db 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -895,7 +895,9 @@ static void do_video_out(AVFormatContext *s,
nb_frames = FFMIN(nb_frames, ost->max_frames - ost->frame_number);
if (nb_frames == 0) {
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;
} else if (nb_frames > 1) {
if (nb_frames > dts_error_threshold * 30) {