summaryrefslogtreecommitdiffstats
path: root/mplayer.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 /mplayer.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 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index e7f5fc7d55..3a171ef221 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -760,6 +760,11 @@ void add_subtitles(char *filename, float fps, int silent)
mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_CantLoadSub, filename);
if (subd == NULL || set_of_sub_size >= MAX_SUBTITLE_FILES) return;
set_of_subtitles[set_of_sub_size] = subd;
+ if (identify)
+ {
+ mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_FILE_SUB_ID=%d\n", set_of_sub_size);
+ mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_FILE_SUB_FILENAME=%s\n", filename);
+ }
++set_of_sub_size;
mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_AddedSubtitleFile, set_of_sub_size, filename);
}