From a0200d8f49799783d7b3be89da094fe3edd51eec Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Sun, 15 Mar 2009 19:01:37 +0000 Subject: [PATCH] Correct logic to decide wether to handle as interactive. svn path=/trunk/; revision=665 --- src/rygel/rygel-http-request.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rygel/rygel-http-request.vala b/src/rygel/rygel-http-request.vala index 4f3aa0e..fa4ffbb 100644 --- a/src/rygel/rygel-http-request.vala +++ b/src/rygel/rygel-http-request.vala @@ -140,7 +140,7 @@ internal class Rygel.HTTPRequest : GLib.Object, Rygel.StateMachine { uri = this.item.uris.get (0); } - if (this.item.size > 0 || this.transcode_target == null) { + if (this.item.size > 0 && this.transcode_target == null) { this.handle_interactive_item (uri); } else { this.handle_streaming_item (uri); -- 2.7.4