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:
2f084d0
)
core: Set correct stop-type for byte-seek as well
author
Jens Georg
<mail@jensge.org>
Thu, 20 Oct 2011 16:28:30 +0000
(18:28 +0200)
committer
Jens Georg
<mail@jensge.org>
Thu, 20 Oct 2011 16:45:22 +0000
(18:45 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=662125
src/rygel/rygel-http-response.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-http-response.vala
b/src/rygel/rygel-http-response.vala
index
61df33b
..
bbecb61
100644
(file)
--- a/
src/rygel/rygel-http-response.vala
+++ b/
src/rygel/rygel-http-response.vala
@@
-278,13
+278,14
@@
internal class Rygel.HTTPResponse : GLib.Object, Rygel.StateMachine {
if (this.seek is HTTPTimeSeek) {
format = Format.TIME;
- if (this.seek.stop > 0) {
- stop_type = Gst.SeekType.SET;
- }
} else {
format = Format.BYTES;
}
+ if (this.seek.stop > 0) {
+ stop_type = Gst.SeekType.SET;
+ }
+
if (!this.pipeline.seek (1.0,
format,
SeekFlags.FLUSH | SeekFlags.ACCURATE,