[mythtv-commits] mythtv commit: r26533 by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Sep 26 16:36:58 UTC 2010


      Author: mdean
        Date: 2010-09-26 16:36:58 +0000 (Sun, 26 Sep 2010)
New Revision: 26533
   Changeset: http://svn.mythtv.org/trac/changeset/26533

Log:

Remove the audio.IsPaused() check from MythPlayer::Pause().

Sometimes audio playback takes time (up to about 25ms) to finish pausing, so on some systems, IsPaused() would return false when we were in the process of pausing, making the return value of MythPlayer::Pause() incorrect.  This resulted in the player getting into a weird paused-but-playing state, for example, after editing a recording if the player was paused before entering edit mode.  Thanks to Mark Kendall for the suggested fix.


Modified:

   trunk/mythtv/libs/libmythtv/mythplayer.cpp




More information about the mythtv-commits mailing list