diff options
author | Felix Domke <tmbinc@elitedvb.net> | 2009-02-13 13:45:41 (GMT) |
---|---|---|
committer | Felix Domke <tmbinc@elitedvb.net> | 2009-02-13 13:45:41 (GMT) |
commit | c178c52d01ede2b9c474fd4a3677acdecf18f0c6 (patch) | |
tree | afc83f215ef3424e9684a39c0dd50e5237f1ce99 /lib/dvb/decoder.cpp | |
parent | d043db1c05a2d5c66b6faddd6f18d18a5a832515 (diff) |
show decoder state
Diffstat (limited to 'lib/dvb/decoder.cpp')
-rw-r--r-- | lib/dvb/decoder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index a4cffb7..edefd76 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -855,6 +855,9 @@ int eTSMPEGDecoder::setState() if ((nott && m_text) || (!m_text && !nott)) m_changed |= changeText | changeState; + 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; #if HAVE_DVB_API_VERSION < 3 bool checkAVSync = m_changed & (changeAudio|changeVideo|changePCR); |