void *FFVideo::refresh() { VideoState* _vs = (VideoState*)_ctx; if (_vs && _vs->pscreen2) { double r = 1.0 / 30.0; if (!is_stream_pause((VideoState*)_ctx)) video_refresh(_vs, &r); if (_vs->pscreen){ if (_first){ pause(); _first = false; } return _vs->pscreen->pixels; } } return nullptr; }
void os_more_prompt (void) { c99_printf("[MORE]"); video_refresh(); getch(); }