rygel r732 - trunk/src/rygel



Author: zeeshanak
Date: Sat Mar 21 13:57:55 2009
New Revision: 732
URL: http://svn.gnome.org/viewvc/rygel?rev=732&view=rev

Log:
Rename add_resource to add_resources.

Modified:
   trunk/src/rygel/rygel-l16-transcoder.vala
   trunk/src/rygel/rygel-mp2ts-transcoder.vala
   trunk/src/rygel/rygel-mp3-transcoder.vala
   trunk/src/rygel/rygel-transcode-manager.vala

Modified: trunk/src/rygel/rygel-l16-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-l16-transcoder.vala	(original)
+++ trunk/src/rygel/rygel-l16-transcoder.vala	Sat Mar 21 13:57:55 2009
@@ -61,10 +61,10 @@
         decodebin.pad_added += this.decodebin_pad_added;
     }
 
-    public static void add_resource (ArrayList<DIDLLiteResource?> resources,
-                                     MediaItem                    item,
-                                     TranscodeManager             manager)
-                                     throws Error {
+    public static void add_resources (ArrayList<DIDLLiteResource?> resources,
+                                      MediaItem                    item,
+                                      TranscodeManager             manager)
+                                      throws Error {
         if (Transcoder.mime_type_is_a (item.mime_type,
                                        L16Transcoder.mime_type)) {
             return;

Modified: trunk/src/rygel/rygel-mp2ts-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-mp2ts-transcoder.vala	(original)
+++ trunk/src/rygel/rygel-mp2ts-transcoder.vala	Sat Mar 21 13:57:55 2009
@@ -65,10 +65,10 @@
         decodebin.pad_added += this.decodebin_pad_added;
     }
 
-    public static void add_resource (ArrayList<DIDLLiteResource?> resources,
-                                     MediaItem                    item,
-                                     TranscodeManager             manager)
-                                     throws Error {
+    public static void add_resources (ArrayList<DIDLLiteResource?> resources,
+                                      MediaItem                    item,
+                                      TranscodeManager             manager)
+                                      throws Error {
         if (Transcoder.mime_type_is_a (item.mime_type,
                                        MP2TSTranscoder.mime_type)) {
             return;

Modified: trunk/src/rygel/rygel-mp3-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-mp3-transcoder.vala	(original)
+++ trunk/src/rygel/rygel-mp3-transcoder.vala	Sat Mar 21 13:57:55 2009
@@ -65,10 +65,10 @@
         decodebin.pad_added += this.decodebin_pad_added;
     }
 
-    public static void add_resource (ArrayList<DIDLLiteResource?> resources,
-                                     MediaItem                    item,
-                                     TranscodeManager             manager)
-                                     throws Error {
+    public static void add_resources (ArrayList<DIDLLiteResource?> resources,
+                                      MediaItem                    item,
+                                      TranscodeManager             manager)
+                                      throws Error {
         if (Transcoder.mime_type_is_a (item.mime_type,
                                        MP3Transcoder.mime_type)) {
             return;

Modified: trunk/src/rygel/rygel-transcode-manager.vala
==============================================================================
--- trunk/src/rygel/rygel-transcode-manager.vala	(original)
+++ trunk/src/rygel/rygel-transcode-manager.vala	Sat Mar 21 13:57:55 2009
@@ -39,10 +39,10 @@
             // No  transcoding for images yet :(
             return;
         } else if (item.upnp_class.has_prefix (MediaItem.MUSIC_CLASS)) {
-            L16Transcoder.add_resource (resources, item, this);
-            MP3Transcoder.add_resource (resources, item, this);
+            L16Transcoder.add_resources (resources, item, this);
+            MP3Transcoder.add_resources (resources, item, this);
         } else {
-            MP2TSTranscoder.add_resource (resources, item, this);
+            MP2TSTranscoder.add_resources (resources, item, this);
         }
     }
 



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