Mercurial > mplayer.hg
comparison mplayer.c @ 14046:4802041ab8e3
Output more information about vids, aids, sids, alangs and slangs with -identify. Patch by kiriuja <mplayer-patches@en-directo.net>
author | mosu |
---|---|
date | Thu, 25 Nov 2004 22:24:00 +0000 |
parents | 28a6f0847c58 |
children | 9f89feb07542 |
comparison
equal
deleted
inserted
replaced
14045:7a129428a408 | 14046:4802041ab8e3 |
---|---|
758 subd = sub_read_file(filename, fps); | 758 subd = sub_read_file(filename, fps); |
759 if(!subd && !silent) | 759 if(!subd && !silent) |
760 mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_CantLoadSub, filename); | 760 mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_CantLoadSub, filename); |
761 if (subd == NULL || set_of_sub_size >= MAX_SUBTITLE_FILES) return; | 761 if (subd == NULL || set_of_sub_size >= MAX_SUBTITLE_FILES) return; |
762 set_of_subtitles[set_of_sub_size] = subd; | 762 set_of_subtitles[set_of_sub_size] = subd; |
763 if (identify) | |
764 { | |
765 mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_FILE_SUB_ID=%d\n", set_of_sub_size); | |
766 mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_FILE_SUB_FILENAME=%s\n", filename); | |
767 } | |
763 ++set_of_sub_size; | 768 ++set_of_sub_size; |
764 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_AddedSubtitleFile, set_of_sub_size, filename); | 769 mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_AddedSubtitleFile, set_of_sub_size, filename); |
765 } | 770 } |
766 | 771 |
767 // FIXME: if/when the GUI calls this, global sub numbering gets (potentially) broken. | 772 // FIXME: if/when the GUI calls this, global sub numbering gets (potentially) broken. |