diff --git a/linux/build b/linux/build
index 9628415f..aa8f2fc8 100755
--- a/linux/build
+++ b/linux/build
@@ -1,2 +1,2 @@
#!/bin/bash
-gcc -std=gnu99 -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -I../src/gpacmp4/ -I../src/libpng/ -I../src/zlib/ -o ccextractor $(find ../src/ -name '*.cpp') $(find ../src/ -name '*.c') -lm -zmuldefs
+gcc -std=gnu99 -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -I../src/lib_ccx/ -I../src/gpacmp4/ -I../src/libpng/ -I../src/zlib/ -o ccextractor $(find ../src/ -name '*.cpp') $(find ../src/ -name '*.c') -lm -zmuldefs
diff --git a/src/ccfont2.xbm b/src/lib_ccx/ccfont2.xbm
similarity index 100%
rename from src/ccfont2.xbm
rename to src/lib_ccx/ccfont2.xbm
diff --git a/src/lib_ccx/ccx_encoders_common.c b/src/lib_ccx/ccx_encoders_common.c
index c806fd49..d638def5 100644
--- a/src/lib_ccx/ccx_encoders_common.c
+++ b/src/lib_ccx/ccx_encoders_common.c
@@ -161,8 +161,8 @@ void write_cc_line_as_transcript2(struct eia608_screen *data, struct encoder_ctx
}
else {
mstotime(get_fts() + context->subs_delay, &h2, &m2, &s2, &ms2);
- time_t end_time_int = end_time / 1000;
- int end_time_dec = end_time % 1000;
+ time_t end_time_int = (end_time + context->subs_delay) / 1000;
+ int end_time_dec = (end_time + context->subs_delay) % 1000;
struct tm *end_time_struct = gmtime(&end_time_int);
strftime(buf2, sizeof(buf2), "%Y%m%d%H%M%S", end_time_struct);
fdprintf(context->out->fh, "%s%c%03d|", buf2,ccx_options.millis_separator,end_time_dec);
diff --git a/src/lib_ccx/params.c b/src/lib_ccx/params.c
index e26fdfb5..72d18f73 100644
--- a/src/lib_ccx/params.c
+++ b/src/lib_ccx/params.c
@@ -235,9 +235,6 @@ void set_output_format (const char *format)
ccx_options.transcript_settings.showEndTime = 1;
ccx_options.transcript_settings.showCC = 0;
ccx_options.transcript_settings.showMode = 1;
- } else {
- // Throw exception
- fatal(EXIT_INCOMPATIBLE_PARAMETERS, "timedtranscript cannot be set after -UCLA is used!");
}
}
else if (strcmp (format,"report")==0)
diff --git a/windows/ccextractor.vcxproj b/windows/ccextractor.vcxproj
index 7c557c72..7959f9dd 100644
--- a/windows/ccextractor.vcxproj
+++ b/windows/ccextractor.vcxproj
@@ -11,7 +11,6 @@
-
@@ -59,6 +58,7 @@
+
diff --git a/windows/ccextractor.vcxproj.filters b/windows/ccextractor.vcxproj.filters
index 376b10a3..aa06d3c8 100644
--- a/windows/ccextractor.vcxproj.filters
+++ b/windows/ccextractor.vcxproj.filters
@@ -51,9 +51,6 @@
-
- Header Files
-
Header Files\gpacmp4
@@ -240,6 +237,9 @@
Header Files\ccx_encoders
+
+ Header Files
+
diff --git a/windows/ccextractor.vcxproj.user b/windows/ccextractor.vcxproj.user
index ff5921cf..3f583f64 100644
--- a/windows/ccextractor.vcxproj.user
+++ b/windows/ccextractor.vcxproj.user
@@ -1,8 +1,7 @@
-
-
+ -in=bin -pn 1 -UCLA -12 -noru -out=ttxt -utf8 -unixts 0 -delay 1412456401000 "E:\Downloads\2014-10-04_2100_US_CNN_Newsroom.ccx.bin"
WindowsLocalDebugger
\ No newline at end of file