[rygel] core: Slightly correct previous commit 487816
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Slightly correct previous commit 487816
- Date: Fri, 6 May 2011 16:21:10 +0000 (UTC)
commit bbb2eedff3a43159f5d73f5dd388fc4ca4b152e5
Author: Jens Georg <mail jensge org>
Date: Fri May 6 18:16:05 2011 +0200
core: Slightly correct previous commit 487816
- ImageItem implies !streamable
- MusicItem / VideoItem imply streamable
Didn't see that during review.
src/rygel/rygel-http-get.vala | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel/rygel-http-get.vala b/src/rygel/rygel-http-get.vala
index 9b26c1b..89feb75 100644
--- a/src/rygel/rygel-http-get.vala
+++ b/src/rygel/rygel-http-get.vala
@@ -156,8 +156,7 @@ internal class Rygel.HTTPGet : HTTPRequest {
correct = this.handler is HTTPTranscodeHandler ||
(this.item.streamable () &&
this.subtitle == null &&
- this.thumbnail == null &&
- !(this.item is ImageItem));
+ this.thumbnail == null);
break;
case "Interactive":
@@ -165,8 +164,7 @@ internal class Rygel.HTTPGet : HTTPRequest {
(!this.item.is_live_stream () ||
this.subtitle != null ||
this.thumbnail != null) &&
- (!(this.item is MusicItem) &&
- !(this.item is VideoItem));
+ !this.item.streamable ();
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]