[rygel] live-response: fix first seek always failing
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] live-response: fix first seek always failing
- Date: Fri, 25 Sep 2009 11:17:01 +0000 (UTC)
commit b3b186065c697fb17a6293cec55d056eecd166b0
Author: René Stadler <mail renestadler de>
Date: Thu Sep 24 23:30:22 2009 +0300
live-response: fix first seek always failing
State change messages are signalled also for all child elements. If they are
not filtered out, the initial seek is issued way too early.
src/rygel/rygel-live-response.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-live-response.vala b/src/rygel/rygel-live-response.vala
index 3d17554..b673f2f 100644
--- a/src/rygel/rygel-live-response.vala
+++ b/src/rygel/rygel-live-response.vala
@@ -235,6 +235,10 @@ internal class Rygel.LiveResponse : Rygel.HTTPResponse {
if (message.type == MessageType.EOS) {
ret = false;
} else if (message.type == MessageType.STATE_CHANGED) {
+ if (message.src != this.pipeline) {
+ return true;
+ }
+
if (this.time_range != null && this.time_range.start > 0) {
State old_state;
State new_state;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]