diff options
author | Max Kellermann <max@duempel.org> | 2013-01-27 17:20:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-27 18:39:32 +0100 |
commit | 6f3d70b5e24cebbd6fd8c3a665a801628ef912ff (patch) | |
tree | 88ab67b76bac4b88422c3debe7c46d6168a71934 /src/input/FileInputPlugin.cxx | |
parent | 257a0dee758049586efbf0dc3f0339b0cef03456 (diff) | |
download | mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.tar.gz mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.tar.xz mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.zip |
DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond
Diffstat (limited to 'src/input/FileInputPlugin.cxx')
-rw-r--r-- | src/input/FileInputPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |