git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f53862
)
decoder.cpp: call setState also in statePlay when pids have changed.. this fixes...
author
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 9 Apr 2009 19:22:51 +0000
(21:22 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 9 Apr 2009 19:22:51 +0000
(21:22 +0200)
lib/dvb/decoder.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/decoder.cpp
b/lib/dvb/decoder.cpp
index ebe3ce24fe90d75f89c42eb60a5458b59e232a31..eb5258d34825191c593d4e23116738362baca955 100644
(file)
--- 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();
}