1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00

1000l. The vcd api changed and nobody updated the gui..

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10697 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-08-25 21:33:39 +00:00
parent aea4ad40a8
commit 0fc1e3cd3f

View File

@ -580,9 +580,15 @@ int guiGetEvent( int type,char * arg )
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;
}