Permalink
Browse files

Use the livetv ringbuffer timeout when switching channel/program.

The default is only 2 seconds.
  • Loading branch information...
Mark Kendall
Mark Kendall committed Jan 27, 2011
1 parent 529e718 commit 4e8d93579a4879e8329ca41cb24ec707e9fae4b2
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/mythplayer.cpp
@@ -2284,7 +2284,7 @@ void MythPlayer::SwitchToProgram(void)
}
player_ctx->buffer->OpenFile(
- pginfo->GetPlaybackURL(), RingBuffer::kDefaultOpenTimeout);
+ pginfo->GetPlaybackURL(), RingBuffer::kLiveTVOpenTimeout);
if (!player_ctx->buffer->IsOpen())
{
@@ -2414,7 +2414,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 4e8d935

Please sign in to comment.