[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.32,1.33

Moritz Bunkus CVS mosu at mplayerhq.hu
Tue Sep 2 18:35:58 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv29722

Modified Files:
	demux_ogg.c 
Log Message:
Do not automatically select a subtitle stream for display.

Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- demux_ogg.c	28 Aug 2003 17:32:28 -0000	1.32
+++ demux_ogg.c	2 Sep 2003 16:35:39 -0000	1.33
@@ -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();



More information about the MPlayer-cvslog mailing list