summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-25 21:33:39 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-25 21:33:39 +0000
commit0fc1e3cd3f67700bb4f3f684908c9a59749d7dba (patch)
tree35a352649882c234b23e4f9e035e12c13cf51d06 /Gui
parentaea4ad40a8af00311c1f47e14a596591dfd293db (diff)
downloadmpv-0fc1e3cd3f67700bb4f3f684908c9a59749d7dba.tar.bz2
mpv-0fc1e3cd3f67700bb4f3f684908c9a59749d7dba.tar.xz
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
Diffstat (limited to 'Gui')
-rw-r--r--Gui/interface.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/Gui/interface.c b/Gui/interface.c
index 2ef5945fc6..8f4348c3a8 100644
--- a/Gui/interface.c
+++ b/Gui/interface.c
@@ -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;
}