diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-17 17:25:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-17 17:25:18 +0100 |
| commit | 1c22ef308a1d62b4c6935ede8233b1fea082b0ca (patch) | |
| tree | c3d8e8321e4b1aa09cce056d5a35da908a0ae3d9 /asdcplib/src/KM_util.cpp | |
| parent | 0e7591e3bf95d4abe08d854850b6fc4e411586b0 (diff) | |
Various test hackery.
Diffstat (limited to 'asdcplib/src/KM_util.cpp')
| -rwxr-xr-x | asdcplib/src/KM_util.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/asdcplib/src/KM_util.cpp b/asdcplib/src/KM_util.cpp index 325bd2da..23e8a1a6 100755 --- a/asdcplib/src/KM_util.cpp +++ b/asdcplib/src/KM_util.cpp @@ -40,6 +40,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <map> #include <string> +bool Kumu::libdcp_test = false; + const char* Kumu::Version() { @@ -688,7 +690,14 @@ Kumu::write_BER(byte_t* buf, ui64_t val, ui32_t ber_len) // Kumu::Timestamp::Timestamp() : m_TZOffsetMinutes(0) { - m_Timestamp.now(); + if (libdcp_test) + { + m_Timestamp.x = 42; + } + else + { + m_Timestamp.now(); + } } Kumu::Timestamp::Timestamp(const Timestamp& rhs) { |
