[pinpoint] Skip play/pause logic without a speaker screen



commit ba1e395fb1f95e82b8a45374390cf42403064497
Author: Antonio Terceiro <terceiro softwarelivre org>
Date:   Sat Mar 17 16:39:41 2012 -0300

    Skip play/pause logic without a speaker screen

 pp-clutter.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pp-clutter.c b/pp-clutter.c
index 2789bb1..4d1f22f 100644
--- a/pp-clutter.c
+++ b/pp-clutter.c
@@ -512,6 +512,9 @@ play_pause (ClutterActor *actor,
             gpointer      data)
 {
   ClutterRenderer *renderer = CLUTTER_RENDERER (data);
+  if (!renderer->speaker_screen) {
+    return TRUE;
+  }
   if (renderer->timer_paused)
     {
       g_timer_continue (renderer->timer);



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