[rygel] core: Initialize fields before preparing gst pipeline



commit 223cecf1a9bb334941fe4bb5f18eaafd57fbb92d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Apr 1 16:54:03 2011 +0300

    core: Initialize fields before preparing gst pipeline

 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 d8a55dc..0fa810c 100644
--- a/src/rygel/rygel-http-gst-response.vala
+++ b/src/rygel/rygel-http-gst-response.vala
@@ -43,8 +43,8 @@ internal class Rygel.HTTPGstResponse : Rygel.HTTPResponse {
             }
         }
 
-        this.prepare_pipeline ("RygelHTTPGstResponse", src);
         this.seek = request.seek;
+        this.prepare_pipeline ("RygelHTTPGstResponse", src);
 
         if (this.seek != null && this.seek is HTTPByteSeek) {
             this.msg.response_headers.set_encoding (Encoding.CONTENT_LENGTH);



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