diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-12-26 12:35:13 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-12-26 12:35:13 +0100 |
| commit | 3769dd67c3385fada6ab53b21ded2b9b5f79426a (patch) | |
| tree | 33366abd07d84cb7114103314fdb7a01af2ecab2 | |
| parent | 1c954ba161bc3cd4b838b3c5a423d41847f0382a (diff) | |
| download | enigma2-3769dd67c3385fada6ab53b21ded2b9b5f79426a.tar.gz enigma2-3769dd67c3385fada6ab53b21ded2b9b5f79426a.zip | |
servicedvb.cpp: also disable fast winding for only audio ts files
| -rw-r--r-- | lib/service/servicedvb.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index ddc675e6..e34e0b9a 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -1370,7 +1370,14 @@ RESULT eDVBServicePlay::setTrickmode(int trick) RESULT eDVBServicePlay::isCurrentlySeekable() { - return m_is_pvr || m_timeshift_active ? 3 : 0; // fast forward/backward possible and seeking possible + int ret = 0; + if (m_decoder) + { + ret = (m_is_pvr || m_timeshift_active) ? 3 : 0; // fast forward/backward possible and seeking possible + if (m_decoder->getVideoWidth() == -1) + ret &= ~2; + } + return ret; } RESULT eDVBServicePlay::frontendInfo(ePtr<iFrontendInformation> &ptr) |
