Mercurial > mplayer.hg
diff vobsub.c @ 8027:b9da278e4c92
verbose can be negative
author | arpi |
---|---|
date | Fri, 01 Nov 2002 17:46:45 +0000 |
parents | 3d6904cee13e |
children | 3af4919d9c5f |
line wrap: on
line diff
--- a/vobsub.c Fri Nov 01 16:40:15 2002 +0000 +++ b/vobsub.c Fri Nov 01 17:46:45 2002 +0000 @@ -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 @@ 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 @@ //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)