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

qml_video example did not stop after the window closed #411

Closed
on-chip-man opened this issue Oct 28, 2023 · 4 comments
Closed

qml_video example did not stop after the window closed #411

on-chip-man opened this issue Oct 28, 2023 · 4 comments

Comments

@on-chip-man
Copy link

when I close the aml_vedio example ,the application does not stop, it seems that the QMutexLocker is locked and waiting forever

@valbok
Copy link
Owner

valbok commented Oct 28, 2023

Hi, thanks for contributing. Could you please share is it Android or Windows? What Qt version is used? Thanks

@on-chip-man
Copy link
Author

thanks! Qt 5.15.2, Windows 10, msvc64

@on-chip-man
Copy link
Author

I have figured out that in QAVDemuxer::unload(), we need unlock before avformat_close_input(&d->ctx);, otherwise it will lock forever in decode_interrupt_cb

@valbok
Copy link
Owner

valbok commented Oct 29, 2023

#412

@valbok valbok closed this as completed Oct 29, 2023
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

No branches or pull requests

2 participants