#include <vsync.h>
Public Member Functions | |
| DummyVideoSync (VideoOutput *vo, int fr, int ri, bool intl) | |
| ~DummyVideoSync () | |
| QString | getName (void) const |
| Returns name of instanciated VSync method. | |
| bool | TryInit (void) |
| Tries to initialize VSync method. | |
| int | WaitForFrame (int sync_delay) |
| Waits for next a frame or field. | |
Definition at line 214 of file vsync.h.
| DummyVideoSync::DummyVideoSync | ( | VideoOutput * | vo, | |
| int | fr, | |||
| int | ri, | |||
| bool | intl | |||
| ) | [inline] |
| QString DummyVideoSync::getName | ( | void | ) | const [inline, virtual] |
| bool DummyVideoSync::TryInit | ( | void | ) | [inline, virtual] |
| int DummyVideoSync::WaitForFrame | ( | int | sync_delay | ) | [inline, virtual] |
Waits for next a frame or field.
Returns delay to real frame timing in usec
Start(void), WaitForFrame(void), and Stop(void) should always be called from same thread, to prevent bad interactions with threads.
| sync_delay | time until the desired frame or field |
Implements VideoSync.
1.6.3