core: Error on 'background' request for streams
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 19 Aug 2010 15:24:40 +0000 (18:24 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 19 Aug 2010 15:24:40 +0000 (18:24 +0300)
Throw an error on 'background' download request for streaming content.
This satisfies DLNA requirement 7.4.49.4.

src/rygel/rygel-http-get.vala

index 5f16859..8a02a25 100644 (file)
@@ -136,6 +136,7 @@ internal class Rygel.HTTPGet : HTTPRequest {
 
             break;
         case "Interactive":
+        case "Background":
             incorrect =  this.handler is HTTPTranscodeHandler ||
                          (this.item.should_stream () &&
                           this.subtitle == null &&