cc_frm_header: minor format changes

Origin commit data
------------------
Branch: ni/coolstream
Commit: 06fd5d270e
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2020-01-05 22:22:22 +01:00
committed by vanhofen
parent 2d5616341d
commit 1dc04ee3ac

View File

@@ -515,11 +515,15 @@ void CComponentsHeader::enableClock(bool enable, const char* format, const char*
{
cch_cl_enable = enable;
cch_cl_format = format;
if (cch_cl_obj && cch_cl_enable)
cch_cl_obj->clear();
if (sec_format_str)
cch_cl_sec_format = sec_format_str;
cch_cl_enable_run = run;
if (!cch_cl_enable){
if (cch_cl_obj){
cch_cl_enable_run = false;
@@ -527,6 +531,7 @@ void CComponentsHeader::enableClock(bool enable, const char* format, const char*
cch_cl_obj = NULL;
}
}
initCCItems();
}