core: Initialize fields before preparing gst pipeline
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 1 Apr 2011 13:54:03 +0000 (16:54 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 1 Apr 2011 13:54:03 +0000 (16:54 +0300)
src/rygel/rygel-http-gst-response.vala

index d8a55dc..0fa810c 100644 (file)
@@ -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);