#define EVENT_NEW_FRAME SDL_USEREVENT #define EVENT_STREAM_STOPPED (SDL_USEREVENT + 1)