diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-02-09 02:02:11 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-02-09 02:02:11 +0100 |
commit | b9a32e5f188843ff47c9628728415affb7920a30 (patch) | |
tree | 14b8ce109216a6bc487a290a7e4801b22c6914e1 | |
parent | d0a6121eac659279ab2041f640743a546621d620 (diff) | |
download | vdr-plugin-markad-b9a32e5f188843ff47c9628728415affb7920a30.tar.gz vdr-plugin-markad-b9a32e5f188843ff47c9628728415affb7920a30.tar.bz2 |
Added more debug output to status.cpp, updated HISTORY
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | plugin/menu.cpp | 2 | ||||
-rw-r--r-- | plugin/status.cpp | 10 |
3 files changed, 12 insertions, 6 deletions
@@ -1,6 +1,6 @@ VDR Plugin 'markad' Revision History ---------------------------------- -2010-04-03: Version 0.1.2 +2011-04-03: Version 0.1.2 - Fixed another bug in handling ts files ("demux error") - Limited logo extraction to 1000 frames @@ -26,7 +26,7 @@ VDR Plugin 'markad' Revision History 2011-02-13: Version 0.0.9 - Removed "scan AC3 always" option, added "correct info file" -- New default options: repair index=off, corect info file=off +- New default options: repair index=off, correct info file=off - markad now rely to the F framerate parameter (no internal correction) - Improved overlap handling - Added some logos @@ -54,7 +54,7 @@ VDR Plugin 'markad' Revision History 2009-09-17: Version 0.0.3 -- Changed name from noad to markad +- Changed name to markad - Added H264 SPS processor from femon - Ignore duplicate TS-packets - Added standalone version (still not working) diff --git a/plugin/menu.cpp b/plugin/menu.cpp index 08987c9..1ad8d84 100644 --- a/plugin/menu.cpp +++ b/plugin/menu.cpp @@ -116,7 +116,7 @@ bool cMenuMarkAd::write() if (!header) { Add(new cOsdItem(tr("no running markad found"),osUnknown,false),true); - lastpos=NULL; + lastpos=0; } Display(); return header; diff --git a/plugin/status.cpp b/plugin/status.cpp index 9b49294..84801f1 100644 --- a/plugin/status.cpp +++ b/plugin/status.cpp @@ -141,7 +141,10 @@ bool cStatusMarkAd::LogoExists(const char *Name) break; } } - if (!timer) return false; + if (!timer) { + esyslog("markad: cannot find internal recording structure for %s",Name); + return false; + } const cChannel *chan=timer->Channel(); if (!chan) return false; @@ -193,7 +196,10 @@ void cStatusMarkAd::Recording(const cDevice *UNUSED(Device), const char *Name, if (On) { - if (setup->LogoOnly && !LogoExists(Name)) return; + if (setup->LogoOnly && !LogoExists(Name)) { + dsyslog("markad: no logo found for %s",Name); + return; + } // Start markad with recording if (!Start(FileName,Name,false)) { esyslog("markad: failed starting on %s",FileName); |