]> git.videolan.org Git - x264.git/commit
Make x264_encoder_reconfig more threadsafe
authorAnton Mitrofanov <BugMaster@narod.ru>
Sun, 27 Oct 2013 11:22:51 +0000 (15:22 +0400)
committerJason Garrett-Glaser <jason@x264.com>
Wed, 30 Oct 2013 20:02:27 +0000 (13:02 -0700)
commitaf66a8b36d13ee359cb5386a2813c73fcba496fd
tree06a3aaf80e443da3a02bca543d44bbefaa42d260
parentc5d8f090e5f12863c6ef2937f259633be52bda7f
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