Skip to content

fix(video): fix video stream freezing on capture re-init (e.g. pipewire display switch) - #5249

Merged
ReenigneArcher merged 3 commits into
LizardByte:masterfrom
Kishi85:workaround-video-stream-freeze-on-display-switch
Jun 26, 2026
Merged

fix(video): fix video stream freezing on capture re-init (e.g. pipewire display switch)#5249
ReenigneArcher merged 3 commits into
LizardByte:masterfrom
Kishi85:workaround-video-stream-freeze-on-display-switch

fix(video): add try_pop() to thread_safe.h and use it to free images …

1c97c44
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 26, 2026 in 0s

27.54% (-0.01%) compared to 1cde8fe

View this Pull Request on Codecov

27.54% (-0.01%) compared to 1cde8fe

Details

Codecov Report

❌ Patch coverage is 5.00000% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.54%. Comparing base (1cde8fe) to head (1c97c44).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/platform/linux/pipewire.cpp 0.00% 11 Missing ⚠️
src/thread_safe.h 12.50% 7 Missing ⚠️
src/video.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5249      +/-   ##
==========================================
- Coverage   27.55%   27.54%   -0.01%     
==========================================
  Files         113      113              
  Lines       25589    25596       +7     
  Branches    11238    11239       +1     
==========================================
+ Hits         7050     7051       +1     
+ Misses      16593    15284    -1309     
- Partials     1946     3261    +1315     
Files with missing lines Coverage Δ
src/video.cpp 52.73% <0.00%> (+0.02%) ⬆️
src/thread_safe.h 69.87% <12.50%> (-1.68%) ⬇️
src/platform/linux/pipewire.cpp 0.16% <0.00%> (-0.01%) ⬇️

... and 64 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1cde8fe...1c97c44. Read the comment docs.