mirror of https://github.com/mpv-player/mpv
10l, fix inverted check for "<media" in smil playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21928 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a6cc078d26
commit
714d24670c
|
@ -459,7 +459,7 @@ parse_smil(play_tree_parser_t* p) {
|
|||
if (line[0]=='\0')
|
||||
continue;
|
||||
if (!entrymode) { // all entries filled so far
|
||||
if (strncasecmp(line,"<video",6)==0 || strncasecmp(line,"<audio",6)==0 || strncasecmp(line,"<media",6)) {
|
||||
if (strncasecmp(line,"<video",6)==0 || strncasecmp(line,"<audio",6)==0 || strncasecmp(line,"<media",6)==0) {
|
||||
pos=strstr(line,"src="); // Is source present on this line
|
||||
if (pos !=NULL) {
|
||||
s_start=pos+5;
|
||||
|
|
Loading…
Reference in New Issue