comparison Gui/interface.c @ 10696:73702d2f93ab

1000l. The vcd api changed and nobody updated the gui..
author alex
date Mon, 25 Aug 2003 21:33:39 +0000
parents a17ebe817e33
children ec3dac7d17a0
comparison
equal deleted inserted replaced
10695:879ce4016b34 10696:73702d2f93ab
578 #endif 578 #endif
579 #ifdef HAVE_VCD 579 #ifdef HAVE_VCD
580 case STREAMTYPE_VCD: 580 case STREAMTYPE_VCD:
581 { 581 {
582 int i; 582 int i;
583
584 if (!stream->priv)
585 {
586 guiIntfStruct.VCDTracks=0;
587 break;
588 }
583 for ( i=1;i < 100;i++ ) 589 for ( i=1;i < 100;i++ )
584 if ( vcd_seek_to_track( stream->fd,i ) < 0 ) break; 590 if ( vcd_seek_to_track( stream->priv,i ) < 0 ) break;
585 vcd_seek_to_track( stream->fd,vcd_track ); 591 vcd_seek_to_track( stream->priv,vcd_track );
586 guiIntfStruct.VCDTracks=--i; 592 guiIntfStruct.VCDTracks=--i;
587 break; 593 break;
588 } 594 }
589 #endif 595 #endif
590 default: break; 596 default: break;