mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 13:01:48 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
3386c05e91 | ||
|
a1eaf7a865 | ||
|
41eb32389d | ||
|
f4369c0772 |
6
HISTORY
6
HISTORY
@@ -210,3 +210,9 @@ Version 1.2.10
|
||||
- Simplify cRecMenuSearchTimerEdit::GetSearchTimer
|
||||
- Fixed cRecMenuItemSelectDirectory::DrawValue
|
||||
- Some rework
|
||||
|
||||
Version 1.2.11
|
||||
|
||||
- Fixed a segfault with graphicsmagick > 1.3.31
|
||||
- Fixed a possible deadlock in detailview
|
||||
- Optical changes in cMenuSetupImageCache
|
||||
|
@@ -1,12 +1,12 @@
|
||||
#include "detailview.h"
|
||||
|
||||
cDetailView::cDetailView(const cEvent *event, cFooter *footer) {
|
||||
cDetailView::cDetailView(const cEvent *event, cFooter *footer) : cThread("DetailView") {
|
||||
this->event = event;
|
||||
this->footer = footer;
|
||||
}
|
||||
|
||||
cDetailView::~cDetailView(void){
|
||||
Cancel(-1);
|
||||
Cancel(3);
|
||||
while (Active())
|
||||
cCondWait::SleepMs(10);
|
||||
#if VDRVERSNUM >= 20301
|
||||
|
@@ -11,7 +11,6 @@
|
||||
using namespace Magick;
|
||||
|
||||
cImageLoader::cImageLoader() {
|
||||
InitializeMagick(NULL);
|
||||
}
|
||||
|
||||
cImageLoader::~cImageLoader() {
|
||||
|
@@ -5,7 +5,6 @@
|
||||
#include "imagescaler.h"
|
||||
|
||||
cImageMagickWrapper::cImageMagickWrapper() {
|
||||
InitializeMagick(NULL);
|
||||
}
|
||||
|
||||
cImageMagickWrapper::~cImageMagickWrapper() {
|
||||
|
10
setup.c
10
setup.c
@@ -508,11 +508,11 @@ void cMenuSetupImageCache::Set(void) {
|
||||
Add(new cMenuEditIntItem(tr("Number of logos to cache at start"), &tmpConfig->numLogosInitial, 0, 9999));
|
||||
|
||||
Add(InfoItem(tr("Cache Sizes"), ""));
|
||||
Add(InfoItem(tr("OSD Element Cache"), (imgCache.GetCacheSize(ctOsdElement)).c_str()));
|
||||
Add(InfoItem(tr("Logo cache"), (imgCache.GetCacheSize(ctLogo)).c_str()));
|
||||
Add(InfoItem(tr("EPG Grid Cache"), (imgCache.GetCacheSize(ctGrid)).c_str()));
|
||||
Add(InfoItem(tr("Channel Groups Cache"), (imgCache.GetCacheSize(ctChannelGroup)).c_str()));
|
||||
Add(InfoItem(tr("Recording Menus Icon Cache"), (imgCache.GetCacheSize(ctIcon)).c_str()));
|
||||
Add(InfoItem(tr("OSD Element Cache"), cString::sprintf("\t%s", (imgCache.GetCacheSize(ctOsdElement)).c_str())));
|
||||
Add(InfoItem(tr("Logo cache"), cString::sprintf("\t%s", (imgCache.GetCacheSize(ctLogo)).c_str())));
|
||||
Add(InfoItem(tr("EPG Grid Cache"), cString::sprintf("\t%s", (imgCache.GetCacheSize(ctGrid)).c_str())));
|
||||
Add(InfoItem(tr("Channel Groups Cache"), cString::sprintf("\t%s", (imgCache.GetCacheSize(ctChannelGroup)).c_str())));
|
||||
Add(InfoItem(tr("Recording Menus Icon Cache"), cString::sprintf("\t%s", (imgCache.GetCacheSize(ctIcon)).c_str())));
|
||||
|
||||
SetCurrent(Get(currentItem));
|
||||
Display();
|
||||
|
@@ -12,6 +12,7 @@
|
||||
#include <vdr/plugin.h>
|
||||
#include <vdr/device.h>
|
||||
#include <vdr/menu.h>
|
||||
#include <Magick++.h>
|
||||
|
||||
#define DEFINE_CONFIG 1
|
||||
#include "geometrymanager.h"
|
||||
@@ -26,7 +27,7 @@
|
||||
#error "VDR-2.0.0 API version or greater is required!"
|
||||
#endif
|
||||
|
||||
static const char *VERSION = "1.2.10";
|
||||
static const char *VERSION = "1.2.11";
|
||||
static const char *DESCRIPTION = tr("A fancy 2d EPG Viewer");
|
||||
static const char *MAINMENUENTRY = "Tvguide";
|
||||
|
||||
@@ -93,6 +94,10 @@ bool cPluginTvguide::ProcessArgs(int argc, char *argv[]) {
|
||||
return true;
|
||||
}
|
||||
|
||||
__attribute__((constructor)) static void init(void) {
|
||||
Magick::InitializeMagick(NULL);
|
||||
}
|
||||
|
||||
bool cPluginTvguide::Initialize(void) {
|
||||
config.SetDefaultPathes();
|
||||
config.LoadTheme();
|
||||
|
6
view.c
6
view.c
@@ -5,7 +5,7 @@
|
||||
* cView
|
||||
********************************************************************************************/
|
||||
|
||||
cView::cView(void) {
|
||||
cView::cView(void) : cThread("View") {
|
||||
activeView = 0;
|
||||
scrollable = false;
|
||||
tabbed = false;
|
||||
@@ -641,7 +641,7 @@ cSeriesView::cSeriesView(int seriesId, int episodeId) : cView() {
|
||||
}
|
||||
|
||||
cSeriesView::~cSeriesView(void) {
|
||||
Cancel(-1);
|
||||
Cancel(3);
|
||||
while (Active())
|
||||
cCondWait::SleepMs(10);
|
||||
}
|
||||
@@ -863,7 +863,7 @@ cMovieView::cMovieView(int movieId) : cView() {
|
||||
}
|
||||
|
||||
cMovieView::~cMovieView(void) {
|
||||
Cancel(-1);
|
||||
Cancel(3);
|
||||
while (Active())
|
||||
cCondWait::SleepMs(10);
|
||||
}
|
||||
|
Reference in New Issue
Block a user