summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-09-24 15:39:10 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-09-24 15:39:10 +0000
commit6b6bca64430e5d0bdbbfecf15503420dbf031867 (patch)
tree477aae2b1baced4da3f38f05e90a75f020870726 /ffplay.c
parent1c1c80f0a3157278bf66da98e194729cdeea6631 (diff)
Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.
Originally committed as revision 25175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 0272c3b149..03017abfb3 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1344,6 +1344,7 @@ static void do_exit(void)
if (show_status)
printf("\n");
SDL_Quit();
+ av_log(NULL, AV_LOG_QUIET, "");
exit(0);
}
@@ -3152,6 +3153,8 @@ int main(int argc, char **argv)
{
int flags, i;
+ av_log_set_flags(AV_LOG_SKIP_REPEATED);
+
/* register all codecs, demux and protocols */
avcodec_register_all();
#if CONFIG_AVDEVICE