projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93a94d
)
live-response: fix first seek always failing
author
René Stadler
<mail@renestadler.de>
Thu, 24 Sep 2009 20:30:22 +0000
(23:30 +0300)
committer
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Fri, 25 Sep 2009 11:05:35 +0000
(14:05 +0300)
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
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-live-response.vala
b/src/rygel/rygel-live-response.vala
index
3d17554
..
b673f2f
100644
(file)
--- 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;