Ticket #6605: mythtv_LiveTV_Forcing_JumpTo_1.diff
File mythtv_LiveTV_Forcing_JumpTo_1.diff, 1.8 KB (added by , 15 years ago) |
---|
-
mythtv/libs/libmythtv/NuppelVideoPlayer.cpp
void NuppelVideoPlayer::SwitchToProgram(void) 3252 3252 ClearSubtitles(); 3253 3253 } 3254 3254 3255 VERBOSE(VB_PLAYBACK, QString("SwitchToProgram(void) " 3256 "discont: %1 newtype: %2 newid: %3 eof: %4") 3257 .arg(discontinuity).arg(newtype).arg(newid).arg(eof)); 3258 3255 3259 if (discontinuity || newtype) 3256 3260 { 3257 3261 player_ctx->tvchain->SetProgram(*pginfo); … … void NuppelVideoPlayer::FileChangedCallback(void) 3310 3314 3311 3315 player_ctx->buffer->Unpause(); 3312 3316 3317 eof = false; 3318 3313 3319 player_ctx->SetNVPChangingBuffers(false); 3314 3320 3315 3321 player_ctx->LockPlayingInfo(__FILE__, __LINE__); … … void NuppelVideoPlayer::JumpToProgram(void) 3413 3419 GetDecoder()->setExactSeeks(seeks); 3414 3420 } 3415 3421 3422 player_ctx->SetNVPChangingBuffers(false); 3416 3423 eof = false; 3417 3424 } 3418 3425 … … bool NuppelVideoPlayer::StartPlaying(bool openfile) 3582 3589 SwitchToProgram(); 3583 3590 } 3584 3591 3585 if (player_ctx->tvchain && player_ctx->tvchain->NeedsToJump() && 3586 !GetDecoder()->GetWaitForChange()) 3592 if (player_ctx->tvchain && player_ctx->tvchain->NeedsToJump()) 3587 3593 { 3588 3594 JumpToProgram(); 3589 3595 } -
mythtv/libs/libmythtv/decoderbase.cpp
void DecoderBase::Reset(void) 75 75 framesPlayed = 0; 76 76 framesRead = 0; 77 77 78 waitingForChange = false; 78 79 ateof = false; 79 80 } 80 81