[vlc-devel] Hi, Clarification regarding "wait_mt" and "post_mt" in modules/codec/avcodec/video.c
dafna3 at gmail.com
Tue Aug 22 08:43:00 CEST 2017
I am not from the VLC team, just trying to add my own decoder module.
I want to understand the use of *wait_mt* and *post_mt* in
These calls lock an inner lock *p_sys->sem_mt* so I understand that these
calls are used to deal with multi-threading in the ffmpeg api, am I right ?
Can I assume that if *p_sys->p_context->thread_count* is 1 then those calls
are unneeded ?
Also , does it also relate to the use of the*
? maybe because it might be called asynchronously ?
If *p_sys->p_context->get_buffer2 * is set to NULL, are these calls still
I don't have background in video decoding or using the ffmpeg library. I
really appreciate your help.
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel