Skip to content

Commit

Permalink
clear queue if reset
Browse files Browse the repository at this point in the history
TODO: how to make sure cleared
  • Loading branch information
wang-bin committed Dec 23, 2012
1 parent 1112cd9 commit 53ab38a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AVThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ void AVThread::resetState()
d.stop = false;
d.demux_end = false;
d.packets.setBlocking(true);
d.packets.clear();
d.mutex.unlock();
}

Expand Down

0 comments on commit 53ab38a

Please sign in to comment.