]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts-1.1.1-streaming-20030317.patch
This commit was manufactured by cvs2git to create branch 'TEST'.
[packages/arts.git] / arts-1.1.1-streaming-20030317.patch
diff --git a/arts-1.1.1-streaming-20030317.patch b/arts-1.1.1-streaming-20030317.patch
deleted file mode 100644 (file)
index c9d330b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
---- arts-1.1.1/soundserver/soundserverv2_impl.cc.orig  2003-03-17 09:24:17.000000000 +0100
-+++ arts-1.1.1/soundserver/soundserverv2_impl.cc       2003-03-17 09:19:54.000000000 +0100
-@@ -119,7 +119,36 @@
-       TraderQuery query;
-       query.supports("Interface","Arts::PlayObject");
--      query.supports("MimeType", mimetype);
-+
-+      /* Parse URL protocol */
-+      string protocol;
-+
-+      unsigned int urlProto = url.find( ":/" );
-+
-+      if (urlProto != std::string::npos)
-+      {
-+              /* Remove [user[:passwd]@] */
-+              unsigned int urlAt = url.find( '@' );
-+
-+              if (urlAt++ == std::string::npos || urlAt >= urlProto)
-+              {
-+                      urlAt = 0;
-+              }
-+
-+              /* Remove [:port] */
-+              urlProto = url.find( ':', urlAt );
-+
-+              protocol = std::string( url, urlAt, (urlProto - urlAt) );
-+      }
-+
-+      if (!protocol.empty() && protocol != "file")
-+      {
-+              query.supports("Protocol", protocol);
-+      }
-+      if (mimetype != "application/octet-stream")
-+      {
-+              query.supports("MimeType", mimetype);
-+      }
-       string objectType;
This page took 0.09935 seconds and 4 git commands to generate.