summaryrefslogtreecommitdiffstats
path: root/vobsub.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-01 17:46:45 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-01 17:46:45 +0000
commit39fe4d0cd39059a6b020bf82a055bf51bac3c58b (patch)
tree89ce3b5e666c35fee409f680e4365c024f12f4ad /vobsub.c
parent94b6f5babac8c35c6ffcd238985980fc44aa3eeb (diff)
downloadmpv-39fe4d0cd39059a6b020bf82a055bf51bac3c58b.tar.bz2
mpv-39fe4d0cd39059a6b020bf82a055bf51bac3c58b.tar.xz
verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vobsub.c')
-rw-r--r--vobsub.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/vobsub.c b/vobsub.c
index e396499fc7..1a63ed9c2d 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -30,8 +30,6 @@
extern int vobsub_id;
-extern int verbose;
-
/**********************************************************************
* RAR stream handling
* The RAR file must have the same basename as the file to open
@@ -625,8 +623,7 @@ vobsub_add_id(vobsub_t *vob, const char *id, size_t idlen, const unsigned int in
memcpy(vob->spu_streams[index].id, id, idlen);
}
vob->spu_streams_current = index;
- if (verbose)
- mp_msg(MSGT_VOBSUB,MSGL_V,"[vobsub] subtitle (vobsubid): %d language %s\n",
+ mp_msg(MSGT_VOBSUB,MSGL_V,"[vobsub] subtitle (vobsubid): %d language %s\n",
index, vob->spu_streams[index].id);
return 0;
}
@@ -919,8 +916,7 @@ vobsub_parse_one_line(vobsub_t *vob, rar_stream_t *fd)
//custom colors: ON/OFF, tridx: XXXX, colors: XXXXXX, XXXXXX, XXXXXX,XXXXXX
res = vobsub_parse_cuspal(vob, line) + vobsub_parse_tridx(line) + vobsub_parse_custom(vob, line);
else {
- if (verbose)
- mp_msg(MSGT_VOBSUB,MSGL_V, "vobsub: ignoring %s", line);
+ mp_msg(MSGT_VOBSUB,MSGL_V, "vobsub: ignoring %s", line);
continue;
}
if (res < 0)