Skip to content

libavc: fix hanging issue for recon and deblocking thread - #144

Merged
harishdm merged 1 commit into
ittiam-systems:mainfrom
harishdm:sync
Sep 10, 2026
Merged

harishdm merged 1 commit into
ittiam-systems:mainfrom
harishdm:sync

Conversation

@harishdm

Copy link
Copy Markdown
Member

The worker threads could hang waiting for macroblock maps if an error was encountered and worker thread exits early.

Added check for the error and thread break flags in the wait loops, allowing the worker threads to abort cleanly.

Bug: 472596363
Test: atest MctsMediaV2TestCases
atest MctsMediaDecoderTestCases
atest MctsMediaCodecTestCases
atest VtsHalMediaC2V1_0TargetVideoDecTest

Change-Id: I9265e17ae7501164501a3fd66c30b6b67b68104b
(cherry picked from commit 70e21545b3bb5cfdc83ec1d7d60d30549b216011)

The worker  threads could hang waiting for macroblock maps if
an error was encountered and worker thread exits early.

Added check for the error and thread break flags in the wait loops,
allowing the worker threads to abort cleanly.

Bug: 472596363
Test: atest MctsMediaV2TestCases
      atest MctsMediaDecoderTestCases
      atest MctsMediaCodecTestCases
      atest VtsHalMediaC2V1_0TargetVideoDecTest

Change-Id: I9265e17ae7501164501a3fd66c30b6b67b68104b
(cherry picked from commit 70e21545b3bb5cfdc83ec1d7d60d30549b216011)
@harishdm
harishdm merged commit 4825123 into ittiam-systems:main Sep 10, 2026
8 of 10 checks passed
@harishdm
harishdm deleted the sync branch September 10, 2026 17:47
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.

1 participant