[MPlayer-dev-eng] [PATCH 4/11] MPlayer <-> GeeXboX patches port : VCD-DVD-CDDA slave playback

Benjamin Zores ben at geexbox.org
Sat Feb 25 12:07:35 CET 2006


On Fri, 24 Feb 2006 12:03:44 -0500
Rich Felker <dalias at aerifal.cx> wrote:

> On Fri, Feb 24, 2006 at 04:13:33PM +0100, Benjamin Zores wrote:
> > 
> > This patch adds new MPlayer internal commands to allow playback of VCD/DVD/CDDA.
> > It then can be called through slave mode.
> > 
> > Ben
> > 
> > -- 
> > "My life, and by extension everyone else's is meaningless."
> > Bender, Futurama
> 
> > Index: MPlayer-20051213/input/input.c
> > ===================================================================
> > --- MPlayer-20051213.orig/input/input.c	2006-02-23 10:50:42.000000000 +0100
> > +++ MPlayer-20051213/input/input.c	2006-02-23 10:51:07.000000000 +0100
> > @@ -104,6 +104,15 @@
> >  #ifdef HAS_DVBIN_SUPPORT
> >    { MP_CMD_DVB_SET_CHANNEL, "dvb_set_channel", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}},
> >  #endif
> > +#ifdef HAVE_VCD
> > +  { MP_CMD_VCD_PLAY, "play_vcd", 0, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
> > +#endif
> > +#ifdef USE_DVDREAD
> > +  { MP_CMD_DVD_PLAY, "play_dvd", 0, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
> > +#endif
> > +#ifdef HAVE_CDDA
> > +  { MP_CMD_CDDA_PLAY, "play_cdda", 0, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
> > +#endif
> 
> Is there a reason "loadfile dvd://" fails?
> If not, this patch is rejected.

The patch also adds the complete list of tracks (CDDA) and chapters (VCD/DVD) to playtree
so that user can go to the one of its choice through libmenu after the disc has been opened.

Ben


-- 
"My life, and by extension everyone else's is meaningless."
Bender, Futurama




More information about the MPlayer-dev-eng mailing list