summaryrefslogtreecommitdiff
path: root/lib/dvb/decoder.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-11-07 16:32:47 (GMT)
committerFelix Domke <tmbinc@elitedvb.net>2008-11-07 16:32:47 (GMT)
commitb7d638fdf094551e7ffbb88f4d8c262518e16b20 (patch)
tree4c4ef5f42af63f53ac746141d0f92622b90eb77d /lib/dvb/decoder.cpp
parentf8d344bcac5f2a6dd17032e6ca3d3fa9b96291b3 (diff)
When a new audio pid is started, it starts in freezed mode, to allow for a preroll. We need to unfreeze them so the internal state is right.
closes #17
Diffstat (limited to 'lib/dvb/decoder.cpp')
-rw-r--r--lib/dvb/decoder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp
index 0ce59d0..fb79f4a 100644
--- a/lib/dvb/decoder.cpp
+++ b/lib/dvb/decoder.cpp
@@ -1069,6 +1069,7 @@ RESULT eTSMPEGDecoder::setFastForward(int frames_to_skip)
m_is_ff = frames_to_skip != 0;
setState();
+ unfreeze(); // audio might be restarted and still in preroll (freezed) state.
if (m_video)
return m_video->setFastForward(frames_to_skip);