[rygel] player: Fix transport actions
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] player: Fix transport actions
- Date: Fri, 13 Sep 2013 08:36:57 +0000 (UTC)
commit 1d300175f97c52beeca86b466915e4b0cba5e57d
Author: Milan Plzik <milan plzik streamunlimited com>
Date: Thu Sep 12 12:07:20 2013 +0200
player: Fix transport actions
Report correct transport actions for STOPPED and PAUSED state
Signed-off-by: Milan Plzik <milan plzik streamunlimited com>
https://bugzilla.gnome.org/show_bug.cgi?id=707962
src/librygel-renderer/rygel-player-controller.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-player-controller.vala
b/src/librygel-renderer/rygel-player-controller.vala
index 9aec132..a101e92 100644
--- a/src/librygel-renderer/rygel-player-controller.vala
+++ b/src/librygel-renderer/rygel-player-controller.vala
@@ -84,8 +84,10 @@ internal class Rygel.PlayerController : Object {
actions = "Stop,Seek,Pause";
break;
case "STOPPED":
+ actions = "Play";
+ break;
case "PAUSED_PLAYBACK":
- actions = "Play,Seek";
+ actions = "Stop,Play,Seek";
break;
default:
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]