mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- movieplayer/record: stop playback of timeshift when zap to another channel
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1253,6 +1253,16 @@ void CMoviePlayerGui::stopPlayBack(void)
|
||||
printf("%s: stopped\n", __func__);
|
||||
}
|
||||
|
||||
void CMoviePlayerGui::stopTimeshift(void)
|
||||
{
|
||||
if (timeshift && playback)
|
||||
{
|
||||
printf("%s: stopping timeshift...\n", __func__);
|
||||
playback->RequestAbort();
|
||||
timeshift = TSHIFT_MODE_OFF;
|
||||
}
|
||||
}
|
||||
|
||||
void CMoviePlayerGui::Pause(bool b)
|
||||
{
|
||||
if (b && (playstate == CMoviePlayerGui::PAUSE))
|
||||
|
Reference in New Issue
Block a user