MainConcept / mc-ffmpeg-omx

Modified FFmpeg to support OMX plugins
7 stars 4 forks source link

OMX plugin: initialize and destroy pthread objects #1

Closed dbartsevich closed 1 year ago

dbartsevich commented 3 years ago

The suggested modification adds pthreads object initialization/destroying in the OMX plugins support code. Zero-initialized descriptors don't work for pthreads4w library, because in that implementation they are pointers to dynamically allocated objects, and must be initialized using appropriate pthread_*_init() calls.

MainConcept-Development commented 3 years ago

Thank you for your submission, which we will evaluate along with this possibly related change: https://github.com/FFmpeg/FFmpeg/commit/5c0e2f839af1654c65170d336640d260bfffdefa#diff-ea4591a92701e02e00e79d089705a086fb638d498a852369a1db7ba142dfbc79. If you have an urgent issue, please contact our customer care team.

MainConcept-Development commented 1 year ago

Mutex init/destroy has been improved in omx_4.4_public_2.3.