libeplayer3: add callback to abort avformat_open_input

This commit is contained in:
martii
2013-03-10 15:44:30 +01:00
parent a865a4779a
commit d02696233c
5 changed files with 22 additions and 0 deletions

View File

@@ -655,6 +655,11 @@ void cPlayback::SuspendSubtitle(bool b)
else
player->playback->Command(player, PLAYBACK_FRAMEBUFFER_UNLOCK, 0);
}
void cPlayback::RequestAbort() {
if (player->playback)
player->playback->abortRequested = 1;
}
#endif
#if 0
bool cPlayback::IsPlaying(void) const