diff options
author | Nicolas George <george@nsup.org> | 2015-02-25 11:50:44 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-02-26 19:19:56 +0100 |
commit | 508d6a23b4530d0f3d31451731e5fd1fce32525f (patch) | |
tree | 1f0e2bba943e0b3b7f0cacc394834495a22404dd /ffmpeg.c | |
parent | a92193f247816a45c16c37a2f7db723a0359c24c (diff) | |
download | ffmpeg-508d6a23b4530d0f3d31451731e5fd1fce32525f.tar.gz |
ffmpeg: allow to set the thread message queue size.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3420,7 +3420,7 @@ static int init_input_threads(void) strcmp(f->ctx->iformat->name, "lavfi")) f->non_blocking = 1; ret = av_thread_message_queue_alloc(&f->in_thread_queue, - 8, sizeof(AVPacket)); + f->thread_queue_size, sizeof(AVPacket)); if (ret < 0) return ret; |