Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix corrupt initial frames https://github.com/wang-bin/QtAV/issues/70 #100

Merged
merged 1 commit into from
Oct 26, 2013

Conversation

edufelipe
Copy link

There is a race condition where AVDemuxThread starts queueing packets
before AVThread::resetState is called from VideoThread.
When AVThread::resetState gets called, all collected frames get dropped.

This patch waits on a conditional variable for AVThreads to start properly.

There is a race condition where AVDemuxThread starts queueing packets
before AVThread::resetState is called from VideoThread. When AVThread::
resetState gets called, all collected frames get dropped. This patch
waits on a conditional variable for AVThreads to start properly.
wang-bin added a commit that referenced this pull request Oct 26, 2013
Fix corrupt initial frames #70
@wang-bin wang-bin merged commit a3727e9 into wang-bin:master Oct 26, 2013
@wang-bin
Copy link
Owner

You are right! Thanks!

@32ns 32ns mentioned this pull request Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants