Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use the livetv ringbuffer timeout when switching channel/program.
The default is only 2 seconds.
(cherry picked from commit 4e8d935)
  • Loading branch information
Mark Kendall committed Jan 29, 2011
1 parent bb5e107 commit 9250772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/mythplayer.cpp
Expand Up @@ -2187,7 +2187,7 @@ void MythPlayer::SwitchToProgram(void)
}

player_ctx->buffer->OpenFile(
pginfo->GetPlaybackURL(), RingBuffer::kDefaultOpenTimeout);
pginfo->GetPlaybackURL(), RingBuffer::kLiveTVOpenTimeout);

if (!player_ctx->buffer->IsOpen())
{
Expand Down Expand Up @@ -2317,7 +2317,7 @@ void MythPlayer::JumpToProgram(void)
SendMythSystemPlayEvent("PLAY_CHANGED", pginfo);

player_ctx->buffer->OpenFile(
pginfo->GetPlaybackURL(), RingBuffer::kDefaultOpenTimeout);
pginfo->GetPlaybackURL(), RingBuffer::kLiveTVOpenTimeout);

if (!player_ctx->buffer->IsOpen())
{
Expand Down

0 comments on commit 9250772

Please sign in to comment.