[rygel] core: No need for HTTPSeek.format anymore
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: No need for HTTPSeek.format anymore
- Date: Thu, 10 Dec 2009 18:08:17 +0000 (UTC)
commit 20bc453f434d310e273b1459b6ffc907c4dc3254
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Dec 9 16:33:26 2009 +0200
core: No need for HTTPSeek.format anymore
Now that we have separate classes for both formats, this field is not
needed anymore.
src/rygel/rygel-http-byte-seek.vala | 3 ---
src/rygel/rygel-http-seek.vala | 5 -----
src/rygel/rygel-http-time-seek.vala | 1 -
3 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/rygel/rygel-http-byte-seek.vala b/src/rygel/rygel-http-byte-seek.vala
index 48e2ed2..77b66ed 100644
--- a/src/rygel/rygel-http-byte-seek.vala
+++ b/src/rygel/rygel-http-byte-seek.vala
@@ -21,8 +21,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-using Gst;
-
internal class Rygel.HTTPByteSeek : Rygel.HTTPSeek {
public HTTPByteSeek (HTTPRequest request) throws HTTPSeekError {
string range, pos;
@@ -74,7 +72,6 @@ internal class Rygel.HTTPByteSeek : Rygel.HTTPSeek {
}
base (request.msg,
- Format.BYTES,
start,
stop,
total_length);
diff --git a/src/rygel/rygel-http-seek.vala b/src/rygel/rygel-http-seek.vala
index 29fb9c2..6ed64c6 100644
--- a/src/rygel/rygel-http-seek.vala
+++ b/src/rygel/rygel-http-seek.vala
@@ -21,8 +21,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-using Gst;
-
internal errordomain Rygel.HTTPSeekError {
INVALID_RANGE = Soup.KnownStatusCode.BAD_REQUEST,
OUT_OF_RANGE = Soup.KnownStatusCode.REQUESTED_RANGE_NOT_SATISFIABLE,
@@ -30,7 +28,6 @@ internal errordomain Rygel.HTTPSeekError {
internal abstract class Rygel.HTTPSeek : GLib.Object {
public Soup.Message msg { get; private set; }
- public Format format { get; private set; }
// These are either number of bytes or microseconds
public int64 start { get; private set; }
@@ -38,12 +35,10 @@ internal abstract class Rygel.HTTPSeek : GLib.Object {
public int64 length { get; private set; }
public HTTPSeek (Soup.Message msg,
- Format format,
int64 start,
int64 stop,
int64 length) {
this.msg = msg;
- this.format = format;
this.start = start;
this.stop = stop;
this.length = length;
diff --git a/src/rygel/rygel-http-time-seek.vala b/src/rygel/rygel-http-time-seek.vala
index 0c1ecbf..0daa4ec 100644
--- a/src/rygel/rygel-http-time-seek.vala
+++ b/src/rygel/rygel-http-time-seek.vala
@@ -71,7 +71,6 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
}
base (request.msg,
- Format.TIME,
start,
stop,
request.item.duration);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]