aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2011-02-07 21:15:44 -0500
committerMichael Niedermayer <michaelni@gmx.at>2011-02-11 02:53:58 +0100
commitb38f008ea64cc5c0087fc9804569338ef005897c (patch)
tree010130d14be559e429b24181c83cd5bade94909c /ffplay.c
parent8a278ad30d6f9a428c71dfab5bd6fe68d4717094 (diff)
downloadffmpeg-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 2e50920b9f..1595cd6452 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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();