Skip to content

Commit

Permalink
Remove assertion that prevents resuming if all chunks are finished
Browse files Browse the repository at this point in the history
  • Loading branch information
shssoichiro committed Oct 3, 2024
1 parent 46cd62c commit 96ee8b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions av1an-core/src/broker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ impl Display for EncoderCrash {
impl<'a> Broker<'a> {
/// Main encoding loop. set_thread_affinity may be ignored if the value is invalid.
pub fn encoding_loop(self, tx: Sender<()>, set_thread_affinity: Option<usize>) {
assert!(!self.chunk_queue.is_empty());

if !self.chunk_queue.is_empty() {
let (sender, receiver) = crossbeam_channel::bounded(self.chunk_queue.len());

Expand Down

0 comments on commit 96ee8b8

Please sign in to comment.