# HG changeset patch # User pontscho # Date 1008717593 0 # Node ID fe1283137353f9835d5c9c1ecbe94e438dbe0640 # Parent df69220a8d492aefab9a1e59b6837082b145bfdd init title change basz. diff -r df69220a8d49 -r fe1283137353 Gui/mplayer/gtk/mb.c --- a/Gui/mplayer/gtk/mb.c Tue Dec 18 23:14:29 2001 +0000 +++ b/Gui/mplayer/gtk/mb.c Tue Dec 18 23:19:53 2001 +0000 @@ -40,7 +40,6 @@ GtkWidget * frame4; GtkWidget * vbox1; GtkWidget * hbox1; - GtkWidget * pixmap1; GtkWidget * hseparator1; GtkWidget * hbuttonbox1; GtkWidget * Ok; diff -r df69220a8d49 -r fe1283137353 Gui/mplayer/mw.h --- a/Gui/mplayer/mw.h Tue Dec 18 23:14:29 2001 +0000 +++ b/Gui/mplayer/mw.h Tue Dec 18 23:19:53 2001 +0000 @@ -240,6 +240,26 @@ } mplPlay(); break; + case evSetDVDSubtitle: + break; + case evSetDVDAudio: + break; + case evSetDVDChapter: + mplStop(); + dvd_title=mplShMem->DVD.current_title - 1; + dvd_angle=mplShMem->DVD.current_angle - 1; + dvd_chapter=(int)param; + strcpy( mplShMem->Filename,"/dev/dvd" ); + mplPlay(); + break; + case evSetDVDTitle: + mplStop(); + dvd_title=(int)param; + dvd_chapter=1; + dvd_angle=1; + strcpy( mplShMem->Filename,"/dev/dvd" ); + mplPlay(); + break; case evPause: case evPauseSwitchToPlay: diff -r df69220a8d49 -r fe1283137353 Gui/mplayer/play.h --- a/Gui/mplayer/play.h Tue Dec 18 23:14:29 2001 +0000 +++ b/Gui/mplayer/play.h Tue Dec 18 23:19:53 2001 +0000 @@ -42,6 +42,7 @@ int angles; int current_chapter; int current_title; + int current_angle; int nr_of_audio_channels; audio_stream_t audio_streams[8]; int nr_of_subtitles; diff -r df69220a8d49 -r fe1283137353 mplayer.c --- a/mplayer.c Tue Dec 18 23:14:29 2001 +0000 +++ b/mplayer.c Tue Dec 18 23:19:53 2001 +0000 @@ -920,6 +920,7 @@ memcpy( mplShMem->DVD.subtitles,dvdp->subtitles,sizeof( dvdp->subtitles ) ); mplShMem->DVD.current_title=dvd_title + 1; mplShMem->DVD.current_chapter=dvd_chapter + 1; + mplShMem->DVD.current_angle=dvd_angle + 1; mplShMem->Track=dvd_title + 1; } #endif