From: Claudio C. <kl...@us...> - 2006-12-24 14:37:08
|
Update of /cvsroot/xine/xine-plugin/src In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv3274 Modified Files: plugin.c Log Message: Added application/smil to the list of supported mimetypes. Index: plugin.c =================================================================== RCS file: /cvsroot/xine/xine-plugin/src/plugin.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- plugin.c 24 Dec 2006 11:35:57 -0000 1.50 +++ plugin.c 24 Dec 2006 14:37:05 -0000 1.51 @@ -123,7 +123,7 @@ t *= 60; t += atoi (p); p = strchr (p, ':'); - if (!p || !*p) + if (!p) break; p++; } @@ -747,7 +747,9 @@ buf[sizeof(buf)-1] = '\0'; len = strlen (buf); - snprintf (buf+len, sizeof(buf)-len, "audio/x-scpls: pls: Winamp Playlist"); + snprintf (buf+len, sizeof(buf)-len, + "audio/x-scpls: pls: Winamp playlist;" + "application/smil: smi, smil: SMIL playlist" ); xine_exit (xine); |