servicemp3.cpp: temporary store ac3/pcm delay for gstreamer based playbacks (until...
[enigma2.git] / lib / service / servicemp3.cpp
index 93d2ec7..10a7416 100644 (file)
@@ -1602,6 +1602,7 @@ int eServiceMP3::getPCMDelay()
 
 void eServiceMP3::setAC3Delay(int delay)
 {
+       ac3_delay = delay;
        if (!m_gst_playbin || m_state != stRunning)
                return;
        else
@@ -1629,6 +1630,7 @@ void eServiceMP3::setAC3Delay(int delay)
 
 void eServiceMP3::setPCMDelay(int delay)
 {
+       pcm_delay = delay;
        if (!m_gst_playbin || m_state != stRunning)
                return;
        else