[FFmpeg-devel] [PATCH] pthread: Fix ff_thread_get_formatissues when called outside frame decode.

Rainer Hochecker fernetmenta at online.de
Sun Mar 8 19:15:01 CET 2015

Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

I tried this patch with Kodi but did not get very far.

int ff_thread_can_start_frame(AVCodecContext *avctx)
    PerThreadContext *p = avctx->internal->thread_ctx;
    if (avctx->active_thread_type&FF_THREAD_FRAME)
        return 0;

It hit this assert and call stack showed avformat_find_stream_info

How can I help progressing this. I want to run hevc frame threaded but
without thread_safe_callback because of DXVA.

More information about the ffmpeg-devel mailing list