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

Break early when exit_main_loop is set in encoder thread #223

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

nowrep
Copy link
Contributor

@nowrep nowrep commented Aug 9, 2023

Fixes error on ending recording.

Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 58995 >= 56744

Copy link
Owner

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this is definitely a bug, thanks!

@ammen99
Copy link
Owner

ammen99 commented Aug 23, 2023

Needs a rebase though ...

Prevent sending old buffer to encoder.
This is actually the correct fix for the issue described
in previous (reverted) commit.
@ammen99 ammen99 merged commit 7a0411c into ammen99:master Aug 23, 2023
1 check passed
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.

2 participants