diff options
author | Chris Robinson <[email protected]> | 2019-07-19 22:55:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-19 22:55:20 -0700 |
commit | 9959d661a02b8d140dfc43b2aa1c6bfa40a5af18 (patch) | |
tree | ffdb43da4c024bd9c1df895cf278137b79f58a5f /common/win_main_utf8.h | |
parent | 29cf87f34d67cf73307d0ec5d61c14b520fcdc1c (diff) |
Restructure codec send/receive calls
In particular, after an initial fill of the codec's internal buffer, each
receive_frame call is followed by one or more send_packet calls. For
asynchronous codecs, this has the effect of letting the codec work while the
handler thread is waiting for an AVFrame structure to become available or
waiting for more decoded data to be needed. For synchronous codecs, this
makes the send_packet calls use up time that would be spent waiting.
Diffstat (limited to 'common/win_main_utf8.h')
0 files changed, 0 insertions, 0 deletions