#include <stdint.h>
#include <stdio.h>
#include <string.h>
+#if defined (__linux__)
#include <endian.h>
#include <byteswap.h>
+#endif
+#if defined (__FreeBSD__)
+#include <sys/endian.h>
+#endif
#include <iconv.h>
#include <sys/stat.h>
#include <fontconfig/fontconfig.h>
#else
#define DEFAULT_ENCODING "ISO8859-1"
#endif
-#define DEFAULT_TIMECODEFORMAT TIME_HMS
+#define DEFAULT_TIMECODEFORMAT TIME_HMSF
static inline int kw_strcmp(const char *ap, const char *bp) {
return !strcmp(ap, bp) ? 0 : strcmp(ap,_(bp));
strcpy(font, "fixed");
strcpy(encoding, DEFAULT_ENCODING);
style = FONT_ALIAS;
- size = 24;
- color = BLACK;
+ size = 48;
+ color = WHITE;
alpha = 0xff;
outline_size = 0.;
- outline_color = WHITE;
+ outline_color = RED;
outline_alpha = 0xff;
color_stroke = 0xff0000;
stroke_width = 0.0;
next_keyframe_position = 0;
prev_keyframe_position = 0;
timecode = 0;
- dropshadow = 2;
+ dropshadow = 0;
background = 0;
strcpy(background_path, "");
timecode_format = DEFAULT_TIMECODEFORMAT;
nested_edl->create_objects();
nested_edl->set_path(filename);
nested_edl->load_xml(&xml_file, LOAD_ALL);
- TransportCommand command;
+ TransportCommand command(server->preferences);
//command.command = audio_tracks ? NORMAL_FWD : CURRENT_FRAME;
command.command = CURRENT_FRAME;
command.get_edl()->copy_all(nested_edl);