if (full) // We have to exit early.
break; // out of while loop
}
- Log::getInstance()->log(
- "Demuxer", Log::DEBUG, "Put %d; took %d", ret + len, ret);
+// Log::getInstance()->log("Demuxer", Log::DEBUG, "Put %d; took %d", ret + len, ret);
return ret;
}
shutdown(1);
}
- success = viewman->init();
+ success = vdr->init(3024);
if (success)
{
- logger->log("Core", Log::INFO, "ViewMan module initialised");
+ logger->log("Core", Log::INFO, "VDR module initialised");
}
else
{
- logger->log("Core", Log::EMERG, "ViewMan module failed to initialise");
+ logger->log("Core", Log::EMERG, "VDR module failed to initialise");
shutdown(1);
}
- success = vdr->init(3024);
+ success = viewman->init();
if (success)
{
- logger->log("Core", Log::INFO, "VDR module initialised");
+ logger->log("Core", Log::INFO, "ViewMan module initialised");
}
else
{
- logger->log("Core", Log::EMERG, "VDR module failed to initialise");
+ logger->log("Core", Log::EMERG, "ViewMan module failed to initialise");
shutdown(1);
}
logger->log("Core", Log::NOTICE, "Command module shut down");
}
- if (vdr)
- {
- vdr->shutdown();
- delete vdr;
- logger->log("Core", Log::NOTICE, "VDR module shut down");
- }
-
if (viewman)
{
+ printf("here st 3\n");
+
viewman->shutdown();
delete viewman;
logger->log("Core", Log::NOTICE, "ViewMan module shut down");
}
+ if (vdr)
+ {
+ vdr->shutdown();
+ delete vdr;
+ logger->log("Core", Log::NOTICE, "VDR module shut down");
+ }
+
if (osd)
{
osd->shutdown();