mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 16:43:28 +00:00
add "<!DOCTYPE smil" to smil playlist
patch by Gavin McCullagh gmccullagh!gmail!com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28349 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
39b7c1576d
commit
79d4434b88
@ -453,6 +453,8 @@ parse_smil(play_tree_parser_t* p) {
|
|||||||
continue;
|
continue;
|
||||||
if (strncasecmp(line,"<?xml",5)==0) // smil in xml
|
if (strncasecmp(line,"<?xml",5)==0) // smil in xml
|
||||||
continue;
|
continue;
|
||||||
|
if (strncasecmp(line,"<!DOCTYPE smil",13)==0) // smil in xml
|
||||||
|
continue;
|
||||||
if (strncasecmp(line,"<smil",5)==0 || strncasecmp(line,"<?wpl",5)==0 ||
|
if (strncasecmp(line,"<smil",5)==0 || strncasecmp(line,"<?wpl",5)==0 ||
|
||||||
strncasecmp(line,"(smil-document",14)==0)
|
strncasecmp(line,"(smil-document",14)==0)
|
||||||
break; // smil header found
|
break; // smil header found
|
||||||
|
Loading…
Reference in New Issue
Block a user