diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
index 58d5314..c74d9b8 100644
a
|
b
|
bool AvFormatDecoder::GetFrame(DecodeType decodetype) |
4549 | 4549 | |
4550 | 4550 | while (!allowedquit) |
4551 | 4551 | { |
| 4552 | if (m_parent->SeekRequested()) |
| 4553 | { |
| 4554 | LOG(VB_PLAYBACK, LOG_DEBUG, |
| 4555 | LOC + "Terminating frame decoding due to a pending seek"); |
| 4556 | allowedquit = true; |
| 4557 | continue; |
| 4558 | } |
| 4559 | |
4552 | 4560 | if (decodetype & kDecodeAudio) |
4553 | 4561 | { |
4554 | 4562 | if (((currentTrack[kTrackTypeAudio] < 0) || |
diff --git a/mythtv/libs/libmythtv/mythplayer.h b/mythtv/libs/libmythtv/mythplayer.h
index 4037c71..373bd42 100644
a
|
b
|
class MTV_PUBLIC MythPlayer |
214 | 214 | bool CanSupportDoubleRate(void); |
215 | 215 | bool GetScreenShot(int width = 0, int height = 0, QString filename = ""); |
216 | 216 | bool IsWatchingInprogress(void) const; |
| 217 | bool SeekRequested(void) const { return decoderSeek >= 0; } |
217 | 218 | |
218 | 219 | // Non-const gets |
219 | 220 | virtual char *GetScreenGrabAtFrame(uint64_t frameNum, bool absolute, |