[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.7,1.8
Arpi of Ize
arpi at mplayerhq.hu
Mon May 20 01:25:44 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv30559
Modified Files:
demux_ogg.c
Log Message:
a/v stream selection - patch by alexander.werth at gmx.de
Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- demux_ogg.c 24 Apr 2002 17:28:23 -0000 1.7
+++ demux_ogg.c 19 May 2002 23:25:40 -0000 1.8
@@ -531,23 +531,23 @@
// If the audio stream is not defined we took the first one
if(demuxer->audio->id == -1) {
demuxer->audio->id = ogg_d->num_sub;
- demuxer->audio->sh = sh_a;
- sh_a->ds = demuxer->audio;
// if(sh_a->wf) print_wave_header(sh_a->wf);
}
/// Is it the stream we want
if(demuxer->audio->id == ogg_d->num_sub)
+ demuxer->audio->sh = sh_a;
+ sh_a->ds = demuxer->audio;
ds = demuxer->audio;
}
if(sh_v) {
/// Also for video
if(demuxer->video->id == -1) {
demuxer->video->id = ogg_d->num_sub;
- demuxer->video->sh = sh_v;
- sh_v->ds = demuxer->video;
// if(sh_v->bih) print_video_header(sh_v->bih);
}
if(demuxer->video->id == ogg_d->num_sub)
+ demuxer->video->sh = sh_v;
+ sh_v->ds = demuxer->video;
ds = demuxer->video;
}
/// Add the header packets if the stream isn't seekable
More information about the MPlayer-cvslog
mailing list