[Mplayer-cvslog] CVS: main mp-opt-reg.c,NONE,1.1 mplayer.c,1.391,1.392 Makefile,1.153,1.154

Alban Bedel CVS albeu at mplayer.dev.hu
Mon Feb 11 12:46:30 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv15318

Modified Files:
	mplayer.c Makefile 
Added Files:
	mp-opt-reg.c 
Log Message:
Place holder for registering modules options


--- NEW FILE ---

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include "cfgparser.h"

#ifdef HAVE_NEW_INPUT
extern void mp_input_register_options(m_config_t* cfg);
#endif

void
mp_register_options(m_config_t* cfg) {
  
#ifdef HAVE_NEW_INPUT
  mp_input_register_options(cfg);
#endif

}

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.391
retrieving revision 1.392
diff -u -r1.391 -r1.392
--- mplayer.c	11 Feb 2002 07:30:05 -0000	1.391
+++ mplayer.c	11 Feb 2002 11:46:27 -0000	1.392
@@ -391,6 +391,8 @@
 
 //extern void write_avi_header_1(FILE *f,int fcc,float fps,int width,int height);
 
+extern void mp_register_options(m_config_t* cfg);
+
 #include "mixer.h"
 #include "cfg-mplayer.h"
 
@@ -525,6 +527,7 @@
     mconfig = m_config_new(playtree);
     m_config_register_options(mconfig,mplayer_opts);
     // TODO : add something to let modules register their options
+    mp_register_options(mconfig);
     parse_cfgfiles(mconfig);
 
 

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- Makefile	11 Feb 2002 09:15:30 -0000	1.153
+++ Makefile	11 Feb 2002 11:46:27 -0000	1.154
@@ -29,7 +29,7 @@
 
 SRCS_COMMON = cyuv.c adpcm.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c cinepak.c fli.c qtrle.c codec-cfg.c cfgparser.c my_profile.c RTjpegN.c minilzo.c nuppelvideo.c spudec.c playtree.c playtreeparser.c asxparser.c qtsmc.c ducktm1.c roqav.c qtrpza.c
 SRCS_MENCODER = mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/img_format.c libvo/osd.c
-SRCS_MPLAYER = mplayer.c $(SRCS_COMMON) find_sub.c subreader.c lirc_mp.c mixer.c vobsub.c
+SRCS_MPLAYER = mplayer.c $(SRCS_COMMON) find_sub.c subreader.c lirc_mp.c mixer.c vobsub.c mp-opt-reg.c
 
 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)




More information about the MPlayer-cvslog mailing list