[rygel] core: Tell GStreamer we want accurate seek



commit 9f40be16948d57cd3431c195472fb61f6ce3166e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Apr 9 00:51:14 2011 +0300

    core: Tell GStreamer we want accurate seek

 src/rygel/rygel-http-gst-response.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-http-gst-response.vala b/src/rygel/rygel-http-gst-response.vala
index 5ef6539..a6efffc 100644
--- a/src/rygel/rygel-http-gst-response.vala
+++ b/src/rygel/rygel-http-gst-response.vala
@@ -214,7 +214,7 @@ internal class Rygel.HTTPGstResponse : Rygel.HTTPResponse {
 
         if (!this.pipeline.seek (1.0,
                                  format,
-                                 SeekFlags.FLUSH,
+                                 SeekFlags.FLUSH | SeekFlags.ACCURATE,
                                  Gst.SeekType.SET,
                                  this.seek.start,
                                  stop_type,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]