[rygel] renderer: Add missing , in protocol info



commit 72e529dcccc2f9bdc69d648523d6a7e60e6078ff
Author: Jens Georg <jensg openismus com>
Date:   Thu Sep 12 11:54:33 2013 +0200

    renderer: Add missing , in protocol info
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706978

 .../rygel-media-renderer-plugin.vala               |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-media-renderer-plugin.vala 
b/src/librygel-renderer/rygel-media-renderer-plugin.vala
index 416e5ab..ebb0ebe 100644
--- a/src/librygel-renderer/rygel-media-renderer-plugin.vala
+++ b/src/librygel-renderer/rygel-media-renderer-plugin.vala
@@ -158,7 +158,8 @@ public class Rygel.MediaRendererPlugin : Rygel.Plugin {
             var mime_types = player.get_mime_types ();
 
             foreach (var protocol in protocols) {
-                if (protocols[0] != protocol) {
+                if (protocols[0] != protocol ||
+                    this.sink_protocol_info != "") {
                     this.sink_protocol_info += ",";
                 }
 


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