mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 22:06:59 +00:00
Support for comments in plaintext playlist by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12690 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f238f58d93
commit
1c3d4dc5cd
@ -555,7 +555,7 @@ parse_textplain(play_tree_parser_t* p) {
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user