]> git.sesse.net Git - nageru/commit
Encode audio as soon as we get it, instead of manually interleaving.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 3 May 2016 23:51:25 +0000 (01:51 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 3 May 2016 23:51:25 +0000 (01:51 +0200)
commitb9f3c6c40a3ebecb48929c64b54f51f0073927a1
treea80e372e5a0213e58f9774fa8aabda4741bcb213
parent53aa0a5f3088f2cefae8e75f6986be3b8700c9d5
Encode audio as soon as we get it, instead of manually interleaving.

I honestly can't remember why this design was chosen back in the day,
but it doesn't appear to make much sense as long as the mux can interleave
for us. It (hopefully) fixes a deadlock I've seen a few times, where the
mixer hangs on begin_frame() because there are no free surfaces,
but saved_codeddata() (which is freeing them, after save) is stuck
waiting for more audio from the mixer.
quicksync_encoder.cpp
quicksync_encoder.h
video_encoder.cpp