mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
dvbsubtitle: fix copy/pasta error and only show debug if there is something to clear
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0076127f8e
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2017-06-16 (Fri, 16 Jun 2017)
Origin message was:
------------------
- dvbsubtitle: fix copy/pasta error and only show debug if there is something to clear
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -243,14 +243,14 @@ void cDvbSubtitleConverter::Pause(bool pause)
|
|||||||
|
|
||||||
void cDvbSubtitleConverter::Clear(void)
|
void cDvbSubtitleConverter::Clear(void)
|
||||||
{
|
{
|
||||||
dbgconverter("cDvbSubtitleConverter::Clear: x=% d y= %d, w= %d, h= %d\n", min_x, min_y, max_x-min_x, max_y-min_y);
|
|
||||||
if(running && (max_x-min_x > 0) && (max_y-min_y > 0)) {
|
if(running && (max_x-min_x > 0) && (max_y-min_y > 0)) {
|
||||||
|
dbgconverter("cDvbSubtitleConverter::Clear: x=% d y= %d, w= %d, h= %d\n", min_x, min_y, max_x-min_x, max_y-min_y);
|
||||||
CFrameBuffer::getInstance()->paintBackgroundBoxRel (min_x, min_y, max_x-min_x, max_y-min_y);
|
CFrameBuffer::getInstance()->paintBackgroundBoxRel (min_x, min_y, max_x-min_x, max_y-min_y);
|
||||||
/* reset area to clear */
|
/* reset area to clear */
|
||||||
min_x = screen_w;
|
min_x = screen_w;
|
||||||
min_y = screen_h;
|
min_y = screen_h;
|
||||||
max_x = screen_x;
|
max_x = screen_x;
|
||||||
max_y = screen_h;
|
max_y = screen_y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user