summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-01-27 04:13:16 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-01-29 03:24:51 (GMT)
commit92507725409a00d98b07d6623baa032834f728d3 (patch)
treeea0cde8f7634478c12bed8b43a19944e3aafdbc1
parentbb5e10714603ea5e599e38d1ec109046105ed2b1 (diff)
Use the livetv ringbuffer timeout when switching channel/program.
The default is only 2 seconds. (cherry picked from commit 4e8d93579a4879e8329ca41cb24ec707e9fae4b2)
-rw-r--r--mythtv/libs/libmythtv/mythplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mythtv/libs/libmythtv/mythplayer.cpp b/mythtv/libs/libmythtv/mythplayer.cpp
index 44cc5e7..1c1b6f7 100644
--- a/mythtv/libs/libmythtv/mythplayer.cpp
+++ b/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())
{