Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28820/Source
Modified Files:
plugin-list.cpp
Log Message:
Fix problem with .pls playlist files where they start with [playlist]
Index: plugin-list.cpp
===================================================================
RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-list.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** plugin-list.cpp 17 Aug 2006 18:48:36 -0000 1.62
--- plugin-list.cpp 7 Sep 2006 15:55:38 -0000 1.63
***************
*** 698,701 ****
--- 698,709 ----
found = 1;
}
+
+ // we have an SCP Playlist file
+ if (memmem(buffer_lower, size, "[playlist]", 10) != NULL) {
+ parent->mmsstream = 1;
+ parent->cancelled = 1;
+ found = 1;
+ }
+
// simple playlist usually realmedia file
if (strncasecmp(buffer, "rtsp", 4) == 0 && found == 0) {
|