diff options
author | Alexander Strange <astrange@ithinksw.com> | 2011-02-07 21:15:44 -0500 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-09 09:17:28 -0500 |
commit | 37b00b47cbeecd66bb34c5c7c534d016d6e8da24 (patch) | |
tree | dce47f2343f8a0f0f73e09a787aa92f255f9aa0f /ffplay.c | |
parent | c2bd7578af069206831a9c25fa68c9bbd5004619 (diff) | |
download | ffmpeg-37b00b47cbeecd66bb34c5c7c534d016d6e8da24.tar.gz |
Frame-based multithreading framework using pthreads
See doc/multithreading.txt for details on use in codecs.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1694,6 +1694,7 @@ static int input_init(AVFilterContext *ctx, const char *args, void *opaque) codec->get_buffer = input_get_buffer; codec->release_buffer = input_release_buffer; codec->reget_buffer = input_reget_buffer; + codec->thread_safe_callbacks = 1; } priv->frame = avcodec_alloc_frame(); |