From 6f3d70b5e24cebbd6fd8c3a665a801628ef912ff Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 27 Jan 2013 17:20:50 +0100 Subject: DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond --- src/input/FileInputPlugin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/FileInputPlugin.cxx') diff --git a/src/input/FileInputPlugin.cxx b/src/input/FileInputPlugin.cxx index 2d0bfcbbb..7681ee0c9 100644 --- a/src/input/FileInputPlugin.cxx +++ b/src/input/FileInputPlugin.cxx @@ -41,7 +41,7 @@ struct FileInputStream { int fd; FileInputStream(const char *path, int _fd, off_t size, - GMutex *mutex, GCond *cond) + Mutex &mutex, Cond &cond) :fd(_fd) { input_stream_init(&base, &input_plugin_file, path, mutex, cond); @@ -59,7 +59,7 @@ struct FileInputStream { static struct input_stream * input_file_open(const char *filename, - GMutex *mutex, GCond *cond, + Mutex &mutex, Cond &cond, GError **error_r) { int fd, ret; -- cgit v1.2.3