diff options
author | phintuka <phintuka> | 2013-08-20 09:12:21 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2013-08-20 09:12:21 +0000 |
commit | c9214bb84509a7cab9b9d109c133eb41b5264c52 (patch) | |
tree | 9e6cf10e4442572e77eed84e127ebb2e16de550b | |
parent | 528bb2c9bc179d29696a902a0319bb106e0c757e (diff) | |
download | xineliboutput-c9214bb84509a7cab9b9d109c133eb41b5264c52.tar.gz xineliboutput-c9214bb84509a7cab9b9d109c133eb41b5264c52.tar.bz2 |
Always synchronize data and control streams when trick speed mode changes
-rw-r--r-- | device.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); } } |