rygel r684 - trunk/src/rygel



Author: zeeshanak
Date: Sun Mar 15 19:03:18 2009
New Revision: 684
URL: http://svn.gnome.org/viewvc/rygel?rev=684&view=rev

Log:
Rename create_http_uri_for_item to create_uri_for_item.

Modified:
   trunk/src/rygel/rygel-http-server.vala

Modified: trunk/src/rygel/rygel-http-server.vala
==============================================================================
--- trunk/src/rygel/rygel-http-server.vala	(original)
+++ trunk/src/rygel/rygel-http-server.vala	Sun Mar 15 19:03:18 2009
@@ -63,7 +63,7 @@
     public void add_resources (ArrayList<DIDLLiteResource?> resources,
                                MediaItem                    item) throws Error {
         // Create the HTTP proxy URI
-        var uri = this.create_http_uri_for_item (item, null);
+        var uri = this.create_uri_for_item (item, null);
         DIDLLiteResource res = item.create_res (uri);
         res.protocol = "http-get";
 
@@ -77,7 +77,7 @@
         } else {
             // Modify the res for transcoding resources
             res.mime_type = "video/mpeg";
-            res.uri = this.create_http_uri_for_item (item, res.mime_type);
+            res.uri = this.create_uri_for_item (item, res.mime_type);
             res.dlna_conversion = DLNAConversion.TRANSCODED;
             res.dlna_flags = DLNAFlags.STREAMING_TRANSFER_MODE;
             res.dlna_operation = DLNAOperation.NONE;
@@ -117,8 +117,8 @@
                                           path);
     }
 
-    private string create_http_uri_for_item (MediaItem item,
-                                             string?   transcode_target) {
+    private string create_uri_for_item (MediaItem item,
+                                        string?   transcode_target) {
         string escaped = Uri.escape_string (item.id, "", true);
         string query = "?itemid=" + escaped;
         if (transcode_target != null) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]