mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libspark/playback: SuspendSubtitle: check for player being valid
Origin commit data
------------------
Branch: master
Commit: 7c4100b856
Author: martii <m4rtii@gmx.de>
Date: 2013-11-03 (Sun, 03 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -703,10 +703,12 @@ cPlayback::~cPlayback()
|
||||
|
||||
void cPlayback::SuspendSubtitle(bool b)
|
||||
{
|
||||
if (b)
|
||||
player->playback->Command(player, PLAYBACK_FRAMEBUFFER_LOCK, 0);
|
||||
else
|
||||
player->playback->Command(player, PLAYBACK_FRAMEBUFFER_UNLOCK, 0);
|
||||
if (player && player->playback) {
|
||||
if (b)
|
||||
player->playback->Command(player, PLAYBACK_FRAMEBUFFER_LOCK, 0);
|
||||
else
|
||||
player->playback->Command(player, PLAYBACK_FRAMEBUFFER_UNLOCK, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void cPlayback::RequestAbort() {
|
||||
|
Reference in New Issue
Block a user