decoder.cpp: fix audio pause
authorghost <andreas.monzner@multimedia-labs.de>
Sat, 30 May 2009 08:29:17 +0000 (10:29 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Sat, 30 May 2009 08:29:17 +0000 (10:29 +0200)
lib/dvb/decoder.cpp

index 6845602d6f77573ca4998ec1983147b28e9359c8..374d31068969e8dab15cf33b3a72dcb2e13a8894 100644 (file)
@@ -863,7 +863,7 @@ int eTSMPEGDecoder::setState()
        const char *decoder_states[] = {"stop", "pause", "play", "decoderfastforward", "trickmode", "slowmotion"};
        eDebug("decoder state: %s, vpid=%d, apid=%d", decoder_states[m_state], m_vpid, m_apid);
 
-       bool changed = m_changed;
+       int changed = m_changed;
 #if HAVE_DVB_API_VERSION < 3
        bool checkAVSync = m_changed & (changeAudio|changeVideo|changePCR);
        if (m_changed & changeAudio && m_audio)