示例#1
0
        private void GotoTime(PlayerScreen player, long commonTime)
        {
            long localTime = commonTimeline.GetLocalTime(player, commonTime);

            localTime = Math.Max(0, localTime);
            player.GotoTime(localTime, false);
        }
        private void GotoTime(PlayerScreen player, long commonTime, bool allowUIUpdate)
        {
            long localTime = commonTimeline.GetLocalTime(player, commonTime);

            localTime = Math.Max(0, localTime);

            if (player.LocalTime != localTime)
            {
                player.GotoTime(localTime, allowUIUpdate);
            }
        }