[vlc-devel] [PATCH 4/4] mediacodec: add missing vctx hold from pic_ctx_copy

Steve Lhomme robux4 at ycbcr.xyz
Thu Jan 9 10:04:54 CET 2020


It seems this patch doesn't belong in this patchset.

On 2020-01-08 16:52, Thomas Guillem wrote:
> ---
>   modules/codec/omxil/mediacodec.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
> index c55fd23e6f2..f0cf159cc48 100644
> --- a/modules/codec/omxil/mediacodec.c
> +++ b/modules/codec/omxil/mediacodec.c
> @@ -556,6 +556,7 @@ static struct picture_context_t *PictureContextCopy(struct picture_context_t *ct
>           container_of(ctx, struct android_picture_ctx, s);
>   
>       atomic_fetch_add_explicit(&apctx->refs, 1, memory_order_relaxed);
> +    vlc_video_context_Hold(ctx->vctx);
>       return ctx;
>   }
>   
> -- 
> 2.20.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list