added tr to color map combo items/when no filter selected doesn't apply filter

This commit is contained in:
lostjared
2018-03-17 18:06:55 -07:00
parent c2a893c0a7
commit 419208bdf4
2 changed files with 14 additions and 15 deletions

View File

@@ -159,7 +159,7 @@ void Playback::run() {
} else if(cur[i].first == 2) {
draw_plugin(frame, cur[i].second);
}
ac::ApplyColorMap(frame);
if(ac::set_color_map > 0) ac::ApplyColorMap(frame);
if(bright_ > 0) {
ac::setBrightness(frame, 1.0, bright_);
}
@@ -172,7 +172,6 @@ void Playback::run() {
}
}
} else {
if(ac::set_color_map > 0) ac::ApplyColorMap(frame);
msleep(duration);
}
mutex.lock();