Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1910 from Memphiz/paplayerfix

[paplayer] - when player is paused - don't process streams but just yield...
  • Loading branch information...
commit 45fad547f44b98fccdbe452b4b2f5dee82ffb880 2 parents 7037a5d + 470cb07
davilla davilla authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 xbmc/cores/paplayer/PAPlayer.cpp
7 xbmc/cores/paplayer/PAPlayer.cpp
View
@@ -463,6 +463,13 @@ void PAPlayer::Process()
double delay = 100.0;
double buffer = 100.0;
+
+ if (IsPaused())
+ {
+ CThread::Sleep(10);
+ continue;
+ }
+
ProcessStreams(delay, buffer);
double watermark = buffer * 0.5;
Please sign in to comment.
Something went wrong with that request. Please try again.