aboutsummaryrefslogtreecommitdiff
path: root/src/recorder.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-10-03 17:57:51 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-10-03 17:57:51 +0200
commitd5dcc19a006f898f21a5b081180a132c9dc6e638 (patch)
treef0e155c31bf098133e7ceafa2fa6272608589304 /src/recorder.h
parentbb65f0fc2176b2ebf0f1be682008609e8bd2cb0a (diff)
downloadosc-graphics-d5dcc19a006f898f21a5b081180a132c9dc6e638.tar.gz
use ffmpeg API to set a recorded frames presentation timestamp
* fixes asynchronity of displayed and recorded graphics * also use the configured framerate instead of a hardcoded one
Diffstat (limited to 'src/recorder.h')
-rw-r--r--src/recorder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/recorder.h b/src/recorder.h
index 591312e..62458ad 100644
--- a/src/recorder.h
+++ b/src/recorder.h
@@ -8,6 +8,7 @@
class Recorder : Mutex {
SDL_ffmpegFile *file;
+ Uint32 start_time;
public:
Recorder() : Mutex(), file(NULL) {}