[Mplayer-cvslog] CVS: main/Gui interface.c,1.88,1.89
Alex Beregszaszi
alex at mplayerhq.hu
Mon Aug 25 23:34:21 CEST 2003
Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv31840
Modified Files:
interface.c
Log Message:
1000l. The vcd api changed and nobody updated the gui..
Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- interface.c 14 Aug 2003 01:54:27 -0000 1.88
+++ interface.c 25 Aug 2003 21:33:39 -0000 1.89
@@ -580,9 +580,15 @@
case STREAMTYPE_VCD:
{
int i;
+
+ if (!stream->priv)
+ {
+ guiIntfStruct.VCDTracks=0;
+ break;
+ }
for ( i=1;i < 100;i++ )
- if ( vcd_seek_to_track( stream->fd,i ) < 0 ) break;
- vcd_seek_to_track( stream->fd,vcd_track );
+ if ( vcd_seek_to_track( stream->priv,i ) < 0 ) break;
+ vcd_seek_to_track( stream->priv,vcd_track );
guiIntfStruct.VCDTracks=--i;
break;
}
More information about the MPlayer-cvslog
mailing list