[MPlayer-cvslog] CVS: main m_option.c,1.35,1.36
Nico Sabbi CVS
syncmail at mplayerhq.hu
Sat May 14 14:49:21 CEST 2005
- Previous message: [MPlayer-cvslog] CVS: main configure, 1.980, 1.981 mencoder.c, 1.280, 1.281 Makefile, 1.320, 1.321 cfg-mencoder.h, 1.95, 1.96
- Next message: [MPlayer-cvslog] CVS: main/libmpdemux stream_file.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv24359
Modified Files:
m_option.c
Log Message:
introduced -string- parameter to match everything after :// syntax
Index: m_option.c
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- m_option.c 27 Dec 2004 17:32:54 -0000 1.35
+++ m_option.c 14 May 2005 12:49:18 -0000 1.36
@@ -1743,6 +1743,12 @@
mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Option %s: URL doesn't have a valid protocol!\n",name);
return M_OPT_INVALID;
}
+ if(m_option_list_find(desc->fields,"string")) {
+ if(strlen(ptr1)>3) {
+ m_struct_set(desc,dst,"string",ptr1+3);
+ return 1;
+ }
+ }
pos1 = ptr1-url;
if(dst && m_option_list_find(desc->fields,"protocol")) {
ptr1[0] = '\0';
- Previous message: [MPlayer-cvslog] CVS: main configure, 1.980, 1.981 mencoder.c, 1.280, 1.281 Makefile, 1.320, 1.321 cfg-mencoder.h, 1.95, 1.96
- Next message: [MPlayer-cvslog] CVS: main/libmpdemux stream_file.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list