comparison playtreeparser.c @ 22518:29a3bb75db47

Support smil embedded into xml, fixes bugzilla #768 Patch by Pavel Fedin | sonic_amiga |a| rambler : ru | (on bugzilla)
author rtogni
date Mon, 12 Mar 2007 21:45:51 +0000
parents e305132d083b
children e227eb76450d
comparison
equal deleted inserted replaced
22517:3d3b328fcfb3 22518:29a3bb75db47
444 444
445 // Check if smil 445 // Check if smil
446 while((line = play_tree_parser_get_line(p)) != NULL) { 446 while((line = play_tree_parser_get_line(p)) != NULL) {
447 strstrip(line); 447 strstrip(line);
448 if(line[0] == '\0') // Ignore empties 448 if(line[0] == '\0') // Ignore empties
449 continue;
450 if (strncasecmp(line,"<?xml",5)==0) // smil in xml
449 continue; 451 continue;
450 if (strncasecmp(line,"<smil",5)==0 || strncasecmp(line,"<?wpl",5)==0 || 452 if (strncasecmp(line,"<smil",5)==0 || strncasecmp(line,"<?wpl",5)==0 ||
451 strncasecmp(line,"(smil-document",14)==0) 453 strncasecmp(line,"(smil-document",14)==0)
452 break; // smil header found 454 break; // smil header found
453 else 455 else