rygel r419 - trunk/src/rygel



Author: zeeshanak
Date: Tue Jan 13 14:32:17 2009
New Revision: 419
URL: http://svn.gnome.org/viewvc/rygel?rev=419&view=rev

Log:
Range requests are valid when size > 0.

Modified:
   trunk/src/rygel/rygel-media-item.vala

Modified: trunk/src/rygel/rygel-media-item.vala
==============================================================================
--- trunk/src/rygel/rygel-media-item.vala	(original)
+++ trunk/src/rygel/rygel-media-item.vala	Tue Jan 13 14:32:17 2009
@@ -136,7 +136,7 @@
             this.res.dlna_flags |= GUPnP.DLNAFlags.STREAMING_TRANSFER_MODE;
         }
 
-        if (this.res.size < 1) {
+        if (this.res.size > 0) {
             this.res.dlna_operation = GUPnP.DLNAOperation.RANGE;
         }
 



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