#include #include #include "video_pipeline.h" int main(void) { video_pipeline_config_t config; video_pipeline_stats_t stats; video_pipeline_config_init(&config); video_pipeline_config_load_env(&config); if (getenv("OMNI_VIDEO_DEBUG_TIMING") == NULL) { config.enable_timing_logs = 1; } if (video_pipeline_stats_init(&stats) != 0) { perror("video_pipeline_stats_init"); return 1; } if (video_pipeline_run(&config, &stats, NULL) != 0) { perror("video_pipeline_run"); video_pipeline_stats_destroy(&stats); return 1; } video_pipeline_stats_destroy(&stats); return 0; }