[longomatch] Fix current time updates seeking form the timescale



commit a38b7537c8c08f753f89aa41a10da709c9a6f9cd
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Apr 14 13:16:20 2015 +0200

    Fix current time updates seeking form the timescale

 LongoMatch.Services/PlayerController.cs |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/LongoMatch.Services/PlayerController.cs b/LongoMatch.Services/PlayerController.cs
index 0d7f0ff..c891163 100644
--- a/LongoMatch.Services/PlayerController.cs
+++ b/LongoMatch.Services/PlayerController.cs
@@ -909,10 +909,6 @@ namespace LongoMatch.Services
                /// </summary>
                bool Tick ()
                {
-                       if (IgnoreTicks) {
-                               return true;
-                       }
-
                        if (StillImageLoaded) {
                                EmitTimeChanged (imageLoadedTS, loadedPlaylistElement.Duration);
                                if (imageLoadedTS >= loadedPlaylistElement.Duration) {
@@ -1021,7 +1017,9 @@ namespace LongoMatch.Services
                void HandleTimeout (Object state)
                {
                        Config.GUIToolkit.Invoke (delegate {
-                               Tick ();
+                               if (!IgnoreTicks) {
+                                       Tick ();
+                               }
                        });
                }
 


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