[rygel] core: Live response is always sender-paced



commit c2a5133d7ac1d10dbb66b886e7223eacb9323bcf
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Jan 12 16:16:54 2010 +0200

    core: Live response is always sender-paced

 src/rygel/rygel-media-item.vala |    2 ++
 src/rygel/rygel-transcoder.vala |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-item.vala b/src/rygel/rygel-media-item.vala
index 77284eb..24177a2 100644
--- a/src/rygel/rygel-media-item.vala
+++ b/src/rygel/rygel-media-item.vala
@@ -200,6 +200,8 @@ public class Rygel.MediaItem : MediaObject {
             protocol_info.dlna_operation = DLNAOperation.RANGE;
             protocol_info.dlna_flags |= DLNAFlags.BACKGROUND_TRANSFER_MODE |
                                         DLNAFlags.CONNECTION_STALL;
+        } else {
+            protocol_info.dlna_flags |= DLNAFlags.SENDER_PACED;
         }
 
         return protocol_info;
diff --git a/src/rygel/rygel-transcoder.vala b/src/rygel/rygel-transcoder.vala
index d16d4ca..5033d79 100644
--- a/src/rygel/rygel-transcoder.vala
+++ b/src/rygel/rygel-transcoder.vala
@@ -76,7 +76,8 @@ internal abstract class Rygel.Transcoder : GLib.Object {
         protocol_info.mime_type = this.mime_type;
         protocol_info.dlna_profile = this.dlna_profile;
         protocol_info.dlna_conversion = DLNAConversion.TRANSCODED;
-        protocol_info.dlna_flags = DLNAFlags.STREAMING_TRANSFER_MODE;
+        protocol_info.dlna_flags = DLNAFlags.STREAMING_TRANSFER_MODE |
+                                   DLNAFlags.SENDER_PACED;
         protocol_info.dlna_operation = DLNAOperation.TIMESEEK;
 
         return res;



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