diff 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
line wrap: on
line diff
--- a/playtreeparser.c	Mon Mar 12 18:35:52 2007 +0000
+++ b/playtreeparser.c	Mon Mar 12 21:45:51 2007 +0000
@@ -447,6 +447,8 @@
     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