Exemplo n.º 1
0
void fs_ml_video_init()
{
    FS_ML_INIT_ONCE;

    g_video_thread_id = fs_thread_id();
    g_video_cond = fs_condition_create();
    g_video_mutex = fs_mutex_create();
    g_video_event_queue = g_queue_new();
    g_video_event_mutex = fs_mutex_create();

    fs_ml_render_init();
}
Exemplo n.º 2
0
void fs_ml_video_init() {
    fs_log("creating condition\n");
    g_video_cond = g_cond_new();
    fs_log("creating mutex\n");
    g_video_mutex = g_mutex_new();

    g_video_event_queue = g_queue_new();
    g_video_event_mutex = g_mutex_new();

    g_debug_keys = getenv("FS_DEBUG_INPUT") && \
            getenv("FS_DEBUG_INPUT")[0] == '1';

    fs_ml_render_init();
}
Exemplo n.º 3
0
void fs_ml_video_init() {
    FS_ML_INIT_ONCE;

    fs_log("creating condition\n");
    g_video_cond = fs_condition_create();
    fs_log("creating mutex\n");
    g_video_mutex = fs_mutex_create();

    g_video_event_queue = g_queue_new();
    g_video_event_mutex = fs_mutex_create();

    g_debug_input = getenv("FS_DEBUG_INPUT") && \
            getenv("FS_DEBUG_INPUT")[0] == '1';

    fs_ml_render_init();
}