From d5dcc19a006f898f21a5b081180a132c9dc6e638 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 3 Oct 2012 17:57:51 +0200 Subject: 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 --- src/recorder.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/recorder.h') 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) {} -- cgit v1.2.3