]> git.sesse.net Git - x264/commit
Make x264_encoder_reconfig more threadsafe
authorAnton Mitrofanov <BugMaster@narod.ru>
Sun, 27 Oct 2013 11:22:51 +0000 (15:22 +0400)
committerFiona Glaser <fiona@x264.com>
Wed, 30 Oct 2013 20:02:27 +0000 (13:02 -0700)
commit350b214c5abe7e82618ac46a14f23b7ab543045e
tree8891caf887871bdac4f37047ae2b4810c2a39a57
parent77cc44feea75106fae6d3113f6babbbe8cffba87
Make x264_encoder_reconfig more threadsafe

Do the reconfig when the next frame's encode begins.
Fixes some rare crashes with frame-threading and encoder_reconfig.
common/common.h
encoder/encoder.c
encoder/ratecontrol.c
encoder/ratecontrol.h
x264.c