diff options
author | ghost <andreas.monzner@multimedia-labs.de> | 2009-04-09 19:22:51 (GMT) |
---|---|---|
committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-04-09 19:22:51 (GMT) |
commit | c6e1fdf7f7bc087255be21fe91cc8dea6c19b421 (patch) | |
tree | 22fb553f5b09509abadfd5fad0eeddc506de35d4 /lib/dvb/decoder.cpp | |
parent | 3f5386297aa76b565aa1c7d927ce475e4c009ef1 (diff) |
decoder.cpp: call setState also in statePlay when pids have changed.. this fixes no more working pid changes on PMT update
Diffstat (limited to 'lib/dvb/decoder.cpp')
-rw-r--r-- | lib/dvb/decoder.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index ebe3ce2..eb5258d 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -1170,9 +1170,15 @@ RESULT eTSMPEGDecoder::set() RESULT eTSMPEGDecoder::play() { if (m_state == statePlay) - return 0; - m_state = statePlay; - m_changed |= changeState; + { + if (!m_changed) + return 0; + } + else + { + m_state = statePlay; + m_changed |= changeState; + } return setState(); } |