changeset 10800:17982901382e

Do not automatically select a subtitle stream for display.
author mosu
date Tue, 02 Sep 2003 16:35:39 +0000
parents cdb732f3a60b
children 6c56b4aff706
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Tue Sep 02 16:35:29 2003 +0000
+++ b/libmpdemux/demux_ogg.c	Tue Sep 02 16:35:39 2003 +0000
@@ -779,7 +779,6 @@
 	/// Check for text (subtitles) header
       } else if (strncmp(st->streamtype, "text", 4) == 0) {
           mp_msg(MSGT_DEMUX, MSGL_V, "OGG stream %d is text\n", ogg_d->num_sub);
-          if(demuxer->sub->id==-1) demuxer->sub->id = ogg_d->num_sub;
 	  ogg_d->subs[ogg_d->num_sub].samplerate= get_uint64(&st->time_unit)/10;
           n_text++;
           demux_ogg_init_sub();