lavc: Add hwaccel private data and init/uninit callbacks
[ffmpeg.git] / libavcodec / pthread_frame.c
index ca36be2..34ca9a6 100644 (file)
@@ -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) {