summaryrefslogtreecommitdiffstats
path: root/vobsub.c
diff options
context:
space:
mode:
authormosu <mosu@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-25 22:24:00 +0000
committermosu <mosu@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-25 22:24:00 +0000
commit50a86fcc343f1026ee8cab0d9788c6bee35e720b (patch)
tree3b5ab5a6d0a0669a30633c41be8a8311dac3ef42 /vobsub.c
parent0e4cb07c81decd033025375cdc40f7376a583203 (diff)
downloadmpv-50a86fcc343f1026ee8cab0d9788c6bee35e720b.tar.bz2
mpv-50a86fcc343f1026ee8cab0d9788c6bee35e720b.tar.xz
Output more information about vids, aids, sids, alangs and slangs with -identify. Patch by kiriuja <mplayer-patches@en-directo.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vobsub.c')
-rw-r--r--vobsub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vobsub.c b/vobsub.c
index 3135952265..9dfe49e41d 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -656,6 +656,12 @@ 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_VOBSUB,MSGL_V,"[vobsub] subtitle (vobsubid): %d language %s\n",
index, vob->spu_streams[index].id);
return 0;