Skip to content
Browse files

Use the livetv ringbuffer timeout when switching channel/program.

The default is only 2 seconds.
(cherry picked from commit 4e8d935)
  • Loading branch information...
1 parent bb5e107 commit 92507725409a00d98b07d6623baa032834f728d3 Mark Kendall committed Jan 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/mythplayer.cpp
View
4 mythtv/libs/libmythtv/mythplayer.cpp
@@ -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())
{
@@ -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())
{

0 comments on commit 9250772

Please sign in to comment.
Something went wrong with that request. Please try again.