Skip to content

Commit

Permalink
Cherry pick ->
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleyel committed Oct 4, 2024
1 parent bffcd33 commit 2469ffe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/service/servicedvb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,8 @@ RESULT eDVBServicePlay::pause(ePtr<iPauseableService> &ptr)
/* note: we check for time shift to be enabled,
not neccessary active. if you pause when timeshift
is not active, you should activate it when unpausing */
if ((!m_is_pvr) && (!m_timeshift_enabled))

if (!m_is_pvr && !m_timeshift_enabled && (m_reference.path.empty() || !m_reference.alternativeurl.empty()))
{
ptr = nullptr;
return -1;
Expand Down Expand Up @@ -1631,7 +1632,8 @@ RESULT eDVBServicePlay::setFastForward_internal(int ratio, bool final_seek)

RESULT eDVBServicePlay::seek(ePtr<iSeekableService> &ptr)
{
if (m_is_pvr || m_timeshift_enabled)

if (m_is_pvr || m_timeshift_enabled || (!m_reference.path.empty() && m_reference.alternativeurl.empty()))
{
ptr = this;
return 0;
Expand Down

0 comments on commit 2469ffe

Please sign in to comment.