Mercurial > mplayer.hg
changeset 3597:fe1283137353
init title change basz.
author | pontscho |
---|---|
date | Tue, 18 Dec 2001 23:19:53 +0000 |
parents | df69220a8d49 |
children | 870ac71744dc |
files | Gui/mplayer/gtk/mb.c Gui/mplayer/mw.h Gui/mplayer/play.h mplayer.c |
diffstat | 4 files changed, 22 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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:
--- 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;
--- 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