]> git.vomp.tv Git - vompclient-marten.git/commitdiff
Playback logic fixes
authorChris Tallon <chris@vomp.tv>
Sun, 26 Mar 2006 22:07:42 +0000 (22:07 +0000)
committerChris Tallon <chris@vomp.tv>
Sun, 26 Mar 2006 22:07:42 +0000 (22:07 +0000)
afeed.cc
player.cc

index 0d1ec3cf002c7d33ebd536f773e12d1f2174e378..a61f2868cc5b8567aeaeeb40c7b7ecefd7cf4311 100644 (file)
--- a/afeed.cc
+++ b/afeed.cc
@@ -50,6 +50,7 @@ void AFeed::enable()
 
 int AFeed::start()
 {
+  audioEnabled = 1;
   return threadStart();
 }
 
index faf14362c692701d6cf8bb4975f975acb0dc59e7..3dc1876e665dc9aa3f75ae362c6d1567ae2846c1 100644 (file)
--- a/player.cc
+++ b/player.cc
@@ -290,6 +290,11 @@ void Player::skipForward(int seconds)
   video->play();
   video->sync();
   audio->sync();
+  audio->systemMuteOff();
+  audio->doMuting();
+  ffwd = false;
+  fbwd = false;
+  paused = false;
 
   resyncVideo();
 }
@@ -328,6 +333,11 @@ void Player::skipBackward(int seconds)
   video->play();
   video->sync();
   audio->sync();
+  audio->systemMuteOff();
+  audio->doMuting();
+  ffwd = false;
+  fbwd = false;
+  paused = false;
 
   resyncVideo();
 }