I need to set the affinity mask on the internal threads created by h264
decoder. We use avcodec_open2() and it does take pthread_attr_t when it calls
pthread_create(). See pthread_frame.c, line 752.
if (!pthread_create(&p->thread, NULL, frame_worker_thread, p))
p->thread_init = 1;
Please explain how to pass a thread attribute parameter to the decoder. Is it
possible to get access to FrameThreadContext at the user-level API?
Specifically, I am interested in this filed void *thread_ctx of AVCodecInternal
structure.
Thank you
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api