aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pthread_frame.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-03-06 18:37:42 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-05-11 14:59:07 +0200
commitdd2d3b766b20196d0b65a82e3d897ccecbf7adb8 (patch)
tree11260988722d5782c3797be3f0c5880a091a4830 /libavcodec/pthread_frame.c
parentebc29519d1634bfeb386c20a5d8a52837aae2436 (diff)
downloadffmpeg-dd2d3b766b20196d0b65a82e3d897ccecbf7adb8.tar.gz
lavc: Add hwaccel private data and init/uninit callbacks
Diffstat (limited to 'libavcodec/pthread_frame.c')
-rw-r--r--libavcodec/pthread_frame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index ca36be2958..34ca9a6fb7 100644
--- a/libavcodec/pthread_frame.c
+++ b/libavcodec/pthread_frame.c
@@ -206,6 +206,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
dst->hwaccel = src->hwaccel;
dst->hwaccel_context = src->hwaccel_context;
+ dst->internal->hwaccel_priv_data = src->internal->hwaccel_priv_data;
}
if (for_user) {