#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>
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);