[rygel] server: Use passed framerate in PS response
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Use passed framerate in PS response
- Date: Mon, 16 Mar 2015 21:41:55 +0000 (UTC)
commit 51ad7ddadb73c0e8a4824c73352bcd646eb28c74
Author: Jens Georg <mail jensge org>
Date: Mon Mar 16 08:50:21 2015 +0100
server: Use passed framerate in PS response
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-server/rygel-playspeed-response.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-server/rygel-playspeed-response.vala
b/src/librygel-server/rygel-playspeed-response.vala
index 82057ce..d2f92f9 100644
--- a/src/librygel-server/rygel-playspeed-response.vala
+++ b/src/librygel-server/rygel-playspeed-response.vala
@@ -44,7 +44,7 @@ public class Rygel.PlaySpeedResponse : Rygel.HTTPResponseElement {
public PlaySpeedResponse (int numerator, uint denominator, int framerate) {
base ();
this.speed = new PlaySpeed (numerator, denominator);
- this.framerate = NO_FRAMERATE;
+ this.framerate = framerate;
}
public PlaySpeedResponse.from_speed (PlaySpeed speed, int framerate)
@@ -58,7 +58,7 @@ public class Rygel.PlaySpeedResponse : Rygel.HTTPResponseElement {
throws PlaySpeedError {
base ();
this.speed = new PlaySpeed.from_string (speed);
- this.framerate = NO_FRAMERATE;
+ this.framerate = framerate;
}
public bool equals (PlaySpeedRequest that) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]