[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
- Previous message: [Mplayer-cvslog] CVS: main/libvo x11_common.c,1.47,1.48 vo_gl.c,1.22,1.23 vo_gl2.c,1.15,1.16 vo_xv.c,1.54,1.55 vo_x11.c,1.62,1.63
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.73,1.74
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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)
- Previous message: [Mplayer-cvslog] CVS: main/libvo x11_common.c,1.47,1.48 vo_gl.c,1.22,1.23 vo_gl2.c,1.15,1.16 vo_xv.c,1.54,1.55 vo_x11.c,1.62,1.63
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.73,1.74
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list