[longomatch] Add milliseconds info in the player



commit 4e871ad13d6a1411ddaea50175ab786213d69567
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Apr 16 21:38:24 2013 +0200

    Add milliseconds info in the player

 LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
index 3068e8e..75feb03 100644
--- a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
@@ -489,16 +489,16 @@ namespace LongoMatch.Gui
                        //Console.WriteLine ("Current Time:{0}\n Length:{1}\n",currentTime, streamLength);
                        if(length != streamLength) {
                                length = streamLength;
-                               slength = TimeString.MSecondsToSecondsString(length);
+                               slength = TimeString.SecondsToMSecondsString(length);
                        }
 
                        if(InSegment()) {
                                currentTime -= segmentStartTime;
                                currentposition = 
(float)currentTime/(float)(segmentStopTime-segmentStartTime);
-                               slength = 
TimeString.MSecondsToSecondsString(segmentStopTime-segmentStartTime);
+                               slength = 
TimeString.MSecondsToMSecondsString(segmentStopTime-segmentStartTime);
                        }
 
-                       timelabel.Text = TimeString.MSecondsToSecondsString(currentTime) + "/" + slength;
+                       timelabel.Text = TimeString.MSecondsToMSecondsString(currentTime) + "/" + slength;
                        timescale.Value = currentposition;
                        if(Tick != null)
                                Tick(o, args.CurrentTime, args.StreamLength, args.CurrentPosition, 
args.Seekable);


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