summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2013-08-20 09:12:21 +0000
committerphintuka <phintuka>2013-08-20 09:12:21 +0000
commitc9214bb84509a7cab9b9d109c133eb41b5264c52 (patch)
tree9e6cf10e4442572e77eed84e127ebb2e16de550b
parent528bb2c9bc179d29696a902a0319bb106e0c757e (diff)
downloadxineliboutput-c9214bb84509a7cab9b9d109c133eb41b5264c52.tar.gz
xineliboutput-c9214bb84509a7cab9b9d109c133eb41b5264c52.tar.bz2
Always synchronize data and control streams when trick speed mode changes
-rw-r--r--device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/device.c b/device.c
index 9f0a5cb0..b5e2b224 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c,v 1.122 2012-12-09 21:37:53 rofafor Exp $
+ * $Id: device.c,v 1.123 2013-08-20 09:12:21 phintuka Exp $
*
*/
@@ -781,7 +781,6 @@ void cXinelibDevice::TrickSpeed(int Speed)
m_TrickSpeedMode |= trs_I_frames | trs_Backward | trs_NoAudio;
ForEach(m_clients, &cXinelibThread::TrickSpeed, -RealSpeed, true);
- ForEach(m_clients, &cXinelibThread::Sync);
} else {
@@ -824,6 +823,8 @@ void cXinelibDevice::TrickSpeed(int Speed)
ForEach(m_clients, &cXinelibThread::TrickSpeed, -1);
}
+
+ ForEach(m_clients, &cXinelibThread::Sync);
}
}