mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
frame_thread_encoder: pass private options
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
028b6d2b5c
commit
097a909ea1
3 changed files with 9 additions and 5 deletions
|
|
@ -874,7 +874,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
|
|||
av_log(avctx, AV_LOG_WARNING, "Warning: not compiled with thread support, using thread emulation\n");
|
||||
|
||||
entangled_thread_counter--; //we will instanciate a few encoders thus kick the counter to prevent false detection of a problem
|
||||
ret = ff_frame_thread_encoder_init(avctx);
|
||||
ret = ff_frame_thread_encoder_init(avctx, options ? *options : NULL);
|
||||
entangled_thread_counter++;
|
||||
if (ret < 0)
|
||||
goto free_and_end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue