[Mplayer-cvslog] CVS: main playtreeparser.c,1.28,1.29
Alex Beregszaszi
syncmail at mplayerhq.hu
Sat Jun 26 15:07:07 CEST 2004
CVS change done by Alex Beregszaszi
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv27819
Modified Files:
playtreeparser.c
Log Message:
Support for comments in plaintext playlist by adland
Index: playtreeparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/playtreeparser.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- playtreeparser.c 6 Jun 2004 19:06:39 -0000 1.28
+++ playtreeparser.c 26 Jun 2004 13:07:04 -0000 1.29
@@ -555,7 +555,7 @@
while((line = play_tree_parser_get_line(p)) != NULL) {
strstrip(line);
- if(line[0] == '\0')
+ if(line[0] == '\0' || line[0] == '#' || (line[0] == '/' && line[1] == '/'))
continue;
//Special check for embedded smil or ram reference in file
More information about the MPlayer-cvslog
mailing list