allow build mvcp client without mlt framework
[melted] / src / mvcp / mvcp.h
index 47c042b..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"
@@ -123,7 +127,7 @@ extern mvcp_error_code mvcp_unit_clear_in( mvcp, int );
 extern mvcp_error_code mvcp_unit_clear_out( mvcp, int );
 extern mvcp_error_code mvcp_unit_clear_in_out( mvcp, int );
 extern mvcp_error_code mvcp_unit_set( mvcp, int, const char *, const char * );
-extern mvcp_error_code mvcp_unit_get( mvcp, int, char * );
+extern mvcp_error_code mvcp_unit_get( mvcp, int, char *, char *, int );
 extern mvcp_error_code mvcp_unit_status( mvcp, int, mvcp_status );
 extern mvcp_error_code mvcp_unit_transfer( mvcp, int, int );
 
@@ -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;