diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-01-02 10:54:57 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-01-02 10:54:57 +0100 |
| commit | 54e5f0d7d4e983b448b9cf387ed62291595cc5a5 (patch) | |
| tree | 5cff3d299ca8fdcdb8f7f6e6d12768a25b23edb7 /lib/service/servicedvb.cpp | |
| parent | 45aefe230c922417067e3409039e4372340e894f (diff) | |
| parent | d8480166af2ce1378b7272d3342ce47227ccceff (diff) | |
| download | enigma2-54e5f0d7d4e983b448b9cf387ed62291595cc5a5.tar.gz enigma2-54e5f0d7d4e983b448b9cf387ed62291595cc5a5.zip | |
Merge branch 'bug_274_disable_fast_winding_for_non_ts'
Diffstat (limited to 'lib/service/servicedvb.cpp')
| -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 b5e2651f..69329ce0 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -1387,7 +1387,14 @@ RESULT eDVBServicePlay::setTrickmode(int trick) RESULT eDVBServicePlay::isCurrentlySeekable() { - return m_is_pvr || m_timeshift_active; + 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) |
