diff options
| author | 2019-07-22 17:30:14 +0200 | |
|---|---|---|
| committer | 2019-07-22 17:30:14 +0200 | |
| commit | 2483439a18d545efc01b43199f056551df022429 (patch) | |
| tree | a87a6c2f3b1b3431c87511bbf4b4999a7f44ef6a /src/osd/windows/window.cpp | |
| parent | 51895cdb3260c9a89131c1b99e3be2519e4d7161 (diff) | |
More work towards generic AVI playback, nwhlsl_aviplay
Diffstat (limited to 'src/osd/windows/window.cpp')
| -rw-r--r-- | src/osd/windows/window.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index 3066be3d6ec..4e8ec3593ee 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -630,6 +630,24 @@ void winwindow_take_video(void) //============================================================ +// winwindow_play_video +// (main thread) +//============================================================ + +void winwindow_play_video(void) +{ + assert(GetCurrentThreadId() == main_threadid); + + // iterate over windows and request a snap + for (auto window : osd_common_t::s_window_list) + { + window->renderer().play(); + } +} + + + +//============================================================ // winwindow_toggle_full_screen // (main thread) //============================================================ |
