Author: rtogni Date: Mon Mar 12 22:45:51 2007 New Revision: 22536 Modified: trunk/playtreeparser.c Log: Support smil embedded into xml, fixes bugzilla #768 Patch by Pavel Fedin | sonic_amiga |a| rambler : ru | (on bugzilla) Modified: trunk/playtreeparser.c ============================================================================== --- trunk/playtreeparser.c (original) +++ trunk/playtreeparser.c Mon Mar 12 22:45:51 2007 @@ -447,6 +447,8 @@ parse_smil(play_tree_parser_t* p) { strstrip(line); if(line[0] == '\0') // Ignore empties continue; + if (strncasecmp(line,"<?xml",5)==0) // smil in xml + continue; if (strncasecmp(line,"<smil",5)==0 || strncasecmp(line,"<?wpl",5)==0 || strncasecmp(line,"(smil-document",14)==0) break; // smil header found
participants (1)
-
rtogni