allow build mvcp client without mlt framework
[melted] / src / mvcp / mvcp.h
index 568c4d7..12fcee7 100644 (file)
 #include <limits.h>
 
 /* MLT Header files. */
+#ifndef MVCP_EMBEDDED
 #include <framework/mlt.h>
+#else
+#define mlt_service void *
+#endif
 
 /* Application header files */
 #include "mvcp_parser.h"
@@ -180,7 +184,7 @@ typedef struct
        int32_t out;
        int32_t max;
        int32_t size;
-       int32_t fps;
+       float fps;
 }
 *mvcp_list_entry, mvcp_list_entry_t;