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-27 04:13:16 (GMT)
commit4e8d93579a4879e8329ca41cb24ec707e9fae4b2 (patch)
tree5e87b174573ab764ceba718c3eba084a21fd85d5
parent529e7184278fe48d24ab07eea9623618c4f94ef3 (diff)
Use the livetv ringbuffer timeout when switching channel/program.
The default is only 2 seconds.
-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 4997bed..7073e2e 100644
--- a/mythtv/libs/libmythtv/mythplayer.cpp
+++ b/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())
{