1 | Index: libs/libmythtv/NuppelVideoPlayer.cpp |
---|
2 | =================================================================== |
---|
3 | --- libs/libmythtv/NuppelVideoPlayer.cpp (revision 20854) |
---|
4 | +++ libs/libmythtv/NuppelVideoPlayer.cpp (working copy) |
---|
5 | @@ -3285,6 +3285,11 @@ |
---|
6 | else |
---|
7 | { |
---|
8 | player_ctx->SetNVPChangingBuffers(true); |
---|
9 | + VERBOSE(VB_GENERAL, LOC_ERR + "LiveTV is unresponsive!"); |
---|
10 | + // if IsNVPChangingBuffers and nvpUnsafe remain set to true, |
---|
11 | + // then the LiveTV seesion will be unresponsive except for |
---|
12 | + // the escape, play and pause keys. See below for setting |
---|
13 | + // IsNVPChangingBuffers and nvpUnsafe back to false. |
---|
14 | GetDecoder()->SetReadAdjust(player_ctx->buffer->SetAdjustFilesize()); |
---|
15 | GetDecoder()->SetWaitForChange(); |
---|
16 | } |
---|
17 | @@ -3310,6 +3315,12 @@ |
---|
18 | } |
---|
19 | |
---|
20 | eof = false; |
---|
21 | + |
---|
22 | + // without the following command, LiveTV would remain unresponsive |
---|
23 | + // except for the escape, play and pause keys after a program switch |
---|
24 | + // at the top or bottom of the hour. |
---|
25 | + player_ctx->SetNVPChangingBuffers(false); |
---|
26 | + VERBOSE(VB_GENERAL, LOC_ERR + "LiveTV should be responsive again!"); |
---|
27 | } |
---|
28 | |
---|
29 | void NuppelVideoPlayer::FileChangedCallback(void) |
---|