mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 23:07:02 +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) {
|
while((line = play_tree_parser_get_line(p)) != NULL) {
|
||||||
strstrip(line);
|
strstrip(line);
|
||||||
if(line[0] == '\0')
|
if(line[0] == '\0' || line[0] == '#' || (line[0] == '/' && line[1] == '/'))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
//Special check for embedded smil or ram reference in file
|
//Special check for embedded smil or ram reference in file
|
||||||
|
Loading…
Reference in New Issue
Block a user