summaryrefslogtreecommitdiffstats
path: root/vobsub.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-24 07:20:34 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-24 07:20:34 +0000
commit3a406e94d77b06d75e670cf1ed8ae9c52e207e0a (patch)
tree35cee7d854c288fa5856a9c05700b992eab01fbd /vobsub.c
parent558f53de4bb36589d5da9897eab83d529e0e13f2 (diff)
downloadmpv-3a406e94d77b06d75e670cf1ed8ae9c52e207e0a.tar.bz2
mpv-3a406e94d77b06d75e670cf1ed8ae9c52e207e0a.tar.xz
Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vobsub.c')
-rw-r--r--vobsub.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/vobsub.c b/vobsub.c
index 245f431dde..8e1492428d 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -656,12 +656,9 @@ 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 (identify)
- {
- mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_VOBSUB_ID=%d\n", index);
- if (id && idlen)
- mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_VSID_%d_LANG=%s\n", index, vob->spu_streams[index].id);
- }
+ mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_VOBSUB_ID=%d\n", index);
+ if (id && idlen)
+ mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_VSID_%d_LANG=%s\n", index, vob->spu_streams[index].id);
mp_msg(MSGT_VOBSUB,MSGL_V,"[vobsub] subtitle (vobsubid): %d language %s\n",
index, vob->spu_streams[index].id);
return 0;