summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-12 20:44:20 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-12 20:44:20 +0000
commita19db0165d357bfbfba259924407f4bb6138767f (patch)
treec0ec993722c2c26d0e7d90709992369a6220b211 /subreader.c
parenta5eaafc1798c32361c72e1e672c905376e6bf7db (diff)
downloadmpv-a19db0165d357bfbfba259924407f4bb6138767f.tar.bz2
mpv-a19db0165d357bfbfba259924407f4bb6138767f.tar.xz
Reduce subtitle parsing verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29172 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.c')
-rw-r--r--subreader.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/subreader.c b/subreader.c
index 72e050380f..4e15c1ce1e 100644
--- a/subreader.c
+++ b/subreader.c
@@ -1261,7 +1261,7 @@ static void adjust_subs_time(subtitle* sub, float subtime, float fps, int block,
sub = nextsub;
m = 0;
}
- if (n) mp_msg(MSGT_SUBREADER,MSGL_INFO,"SUB: Adjusted %d subtitle(s).\n", n);
+ if (n) mp_msg(MSGT_SUBREADER,MSGL_V,"SUB: Adjusted %d subtitle(s).\n", n);
}
struct subreader {
@@ -1364,7 +1364,7 @@ sub_data* sub_read_file (char *filename, float fps) {
mpsub_multiplier = (uses_time ? 100.0 : 1.0);
if (sub_format==SUB_INVALID) {mp_msg(MSGT_SUBREADER,MSGL_WARN,"SUB: Could not determine file format\n");return NULL;}
srp=sr+sub_format;
- mp_msg(MSGT_SUBREADER,MSGL_INFO,"SUB: Detected subtitle file format: %s\n", srp->name);
+ mp_msg(MSGT_SUBREADER, MSGL_V, "SUB: Detected subtitle file format: %s\n", srp->name);
stream_reset(fd);
stream_seek(fd,0);
@@ -1479,9 +1479,8 @@ sub_data* sub_read_file (char *filename, float fps) {
#endif
// printf ("SUB: Subtitle format %s time.\n", uses_time?"uses":"doesn't use");
- mp_msg(MSGT_SUBREADER,MSGL_INFO,"SUB: Read %i subtitles", sub_num);
- if (sub_errs) mp_msg(MSGT_SUBREADER,MSGL_INFO,", %i bad line(s).\n", sub_errs);
- else mp_msg(MSGT_SUBREADER,MSGL_INFO,".\n");
+ mp_msg(MSGT_SUBREADER, MSGL_V,"SUB: Read %i subtitles, %i bad line(s).\n",
+ sub_num, sub_errs);
if(sub_num<=0){
free(first);