xbmc/xbmc — pull request #1263 by Montellese (2012-08-08 15:19:30+00:00)
Title: IPlayer: change GetTotalTime() to return milliseconds in an int64_t

This changes the definition (and usage) of IPlayer::GetTotalTime() from returning seconds in an int to returning milliseconds in an int64_t. Up until now there was no documentation and no rule for it and DVDPlayer returned seconds while the new PAPlayer implementation returns milliseconds (which is how I noticed it).

After a short discussion with @cptspiff I decided to adjust the definition of IPlayer::GetTotalTime() to be the same as IPlayer::GetTime() which returns milliseconds in an int64_t.

I hope I caught all the usages of the calls to GetTotalTime() of the different IPlayer implementations.