diff options
author | Alexander Strange <astrange@ithinksw.com> | 2011-02-07 21:15:44 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-11 02:53:58 +0100 |
commit | b38f008ea64cc5c0087fc9804569338ef005897c (patch) | |
tree | 010130d14be559e429b24181c83cd5bade94909c /ffplay.c | |
parent | 8a278ad30d6f9a428c71dfab5bd6fe68d4717094 (diff) | |
download | ffmpeg-b38f008ea64cc5c0087fc9804569338ef005897c.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
@@ -1691,6 +1691,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(); |