summaryrefslogtreecommitdiff
path: root/test/ffmpeg_decoder_seek_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/ffmpeg_decoder_seek_test.cc')
-rw-r--r--test/ffmpeg_decoder_seek_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ffmpeg_decoder_seek_test.cc b/test/ffmpeg_decoder_seek_test.cc
index 796db043f..40bb55e8a 100644
--- a/test/ffmpeg_decoder_seek_test.cc
+++ b/test/ffmpeg_decoder_seek_test.cc
@@ -83,7 +83,7 @@ test (boost::filesystem::path file, vector<ContentTime> times)
auto content = make_shared<FFmpegContent>(path);
auto film = new_test_film("ffmpeg_decoder_seek_test_" + file.string(), { content });
auto decoder = make_shared<FFmpegDecoder>(film, content, false);
- decoder->video->Data.connect (bind (&store, _1));
+ decoder->video->Data.connect_same_thread(bind(&store, _1));
for (auto i: times) {
check (decoder, i);