Skip to content

Commit

Permalink
encoder: Removing untested functions
Browse files Browse the repository at this point in the history
Removed the untested code that attempted to reduce the load
on the processor when running audio encode. Will look at in
future revision

Signed-off-by Ben Benson <[email protected]>
  • Loading branch information
Ben Benson committed Jul 5, 2023
1 parent 1018544 commit e2939a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions encoder/libav_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,6 @@ void LibAvEncoder::audioThread()
av_frame_unref(in_frame);
av_packet_unref(in_pkt);

std::this_thread::yield(); // Added to try to reduce thread load on proccessor

// Not yet ready to generate encoded audio!
if (!output_ready_)
continue;
Expand Down

0 comments on commit e2939a5

Please sign in to comment.