Mercurial > mplayer.hg
changeset 12430:d82d84b94125
Be more verbose and tell the user which subtitle stream has been selected (if any).
author | mosu |
---|---|
date | Wed, 05 May 2004 21:05:36 +0000 |
parents | 98d67f488df2 |
children | 663fdd72e594 |
files | libmpdemux/demux_ogg.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c Wed May 05 19:11:16 2004 +0000 +++ b/libmpdemux/demux_ogg.c Wed May 05 21:05:36 2004 +0000 @@ -440,7 +440,7 @@ if (os->text && d->sub->id == -1 && demux_ogg_check_lang(val, dvdsub_lang)) { d->sub->id = id; - mp_msg(MSGT_DEMUX, MSGL_V, "Stream language matched -slang: %s\n", val); + mp_msg(MSGT_DEMUX, MSGL_V, "OGG demuxer: Displaying the subtitle stream with the id %d which matched -slang %s\n", id, val); } else hdr = "Language"; @@ -966,8 +966,10 @@ packet is encountered and the user used -slang instead of -sid. */ if(!n_text) demuxer->sub->id = -2; - else if (text_id >= 0) + else if (text_id >= 0) { demuxer->sub->id = text_id; + mp_msg(MSGT_DEMUX, MSGL_V, "OGG demuxer: Displaying the subtitle stream with the id %d\n", text_id); + } ogg_d->final_granulepos=0; if(!s->end_pos)