[rygel] core: Don't stream if request is for subtitles
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Don't stream if request is for subtitles
- Date: Tue, 11 May 2010 12:41:28 +0000 (UTC)
commit ca19a960924a76646fccd50e32f170713ed65a54
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon May 10 19:31:19 2010 +0300
core: Don't stream if request is for subtitles
src/rygel/rygel-http-time-seek.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-http-time-seek.vala b/src/rygel/rygel-http-time-seek.vala
index 4f395db..4710357 100644
--- a/src/rygel/rygel-http-time-seek.vala
+++ b/src/rygel/rygel-http-time-seek.vala
@@ -85,6 +85,7 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
return request.item.duration > 0 &&
(request.handler is HTTPTranscodeHandler ||
(request.thumbnail == null &&
+ request.subtitle == null &&
request.item.should_stream ()));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]