Print skip_frames variable.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Mar 2010 15:12:05 +0000 (15:12 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Mar 2010 15:12:05 +0000 (15:12 +0000)
Originally committed as revision 22482 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 0194db6..f5c9b13 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1282,8 +1282,8 @@ retry:
             av_diff = 0;
             if (is->audio_st && is->video_st)
                 av_diff = get_audio_clock(is) - get_video_clock(is);
             av_diff = 0;
             if (is->audio_st && is->video_st)
                 av_diff = get_audio_clock(is) - get_video_clock(is);
-            printf("%7.2f A-V:%7.3f aq=%5dKB vq=%5dKB sq=%5dB f=%"PRId64"/%"PRId64"   \r",
-                   get_master_clock(is), av_diff, aqsize / 1024, vqsize / 1024, sqsize, is->faulty_dts, is->faulty_pts);
+            printf("%7.2f A-V:%7.3f s:%3.1f aq=%5dKB vq=%5dKB sq=%5dB f=%"PRId64"/%"PRId64"   \r",
+                   get_master_clock(is), av_diff, FFMAX(is->skip_frames-1, 0), aqsize / 1024, vqsize / 1024, sqsize, is->faulty_dts, is->faulty_pts);
             fflush(stdout);
             last_time = cur_time;
         }
             fflush(stdout);
             last_time = cur_time;
         }