mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
cc_frm_header: minor format changes
This commit is contained in:
@@ -515,11 +515,15 @@ void CComponentsHeader::enableClock(bool enable, const char* format, const char*
|
|||||||
{
|
{
|
||||||
cch_cl_enable = enable;
|
cch_cl_enable = enable;
|
||||||
cch_cl_format = format;
|
cch_cl_format = format;
|
||||||
|
|
||||||
if (cch_cl_obj && cch_cl_enable)
|
if (cch_cl_obj && cch_cl_enable)
|
||||||
cch_cl_obj->clear();
|
cch_cl_obj->clear();
|
||||||
|
|
||||||
if (sec_format_str)
|
if (sec_format_str)
|
||||||
cch_cl_sec_format = sec_format_str;
|
cch_cl_sec_format = sec_format_str;
|
||||||
|
|
||||||
cch_cl_enable_run = run;
|
cch_cl_enable_run = run;
|
||||||
|
|
||||||
if (!cch_cl_enable){
|
if (!cch_cl_enable){
|
||||||
if (cch_cl_obj){
|
if (cch_cl_obj){
|
||||||
cch_cl_enable_run = false;
|
cch_cl_enable_run = false;
|
||||||
@@ -527,6 +531,7 @@ void CComponentsHeader::enableClock(bool enable, const char* format, const char*
|
|||||||
cch_cl_obj = NULL;
|
cch_cl_obj = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
initCCItems();
|
initCCItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user