lavc: Add hwaccel private data and init/uninit callbacks

This commit is contained in:
Anton Khirnov 2014-03-06 18:37:42 +01:00 committed by Luca Barbato
parent ebc29519d1
commit dd2d3b766b
4 changed files with 59 additions and 4 deletions

View 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) {