aboutsummaryrefslogtreecommitdiff
path: root/src/recorder.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-10-03 16:26:24 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-10-03 16:26:24 +0200
commitbb65f0fc2176b2ebf0f1be682008609e8bd2cb0a (patch)
treed0070ad2ef70b1a7c2ed77cec098d03402d0871f /src/recorder.cpp
parent920067622e7ba72dd6947eb8e7875719315872b9 (diff)
downloadosc-graphics-bb65f0fc2176b2ebf0f1be682008609e8bd2cb0a.tar.gz
simplified mutex locking idiom by introducing Mutex class (wrapper around SDL_mutex)
* can be instantiated * can derive from class Mutex to inherit the lock()/unlock() methods also fixed LayerList destructor
Diffstat (limited to 'src/recorder.cpp')
-rw-r--r--src/recorder.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/recorder.cpp b/src/recorder.cpp
index 6859f1b..0bd7b23 100644
--- a/src/recorder.cpp
+++ b/src/recorder.cpp
@@ -126,5 +126,4 @@ Recorder::~Recorder()
osc_server.del_method("", "/recorder/stop");
SDL_FFMPEGFREE_SAFE(file);
- SDL_DestroyMutex(mutex);
}