Skip to content

V.5.4.0#598

Merged
rosenbjerg merged 46 commits intoreleasefrom
main
Oct 27, 2025
Merged

V.5.4.0#598
rosenbjerg merged 46 commits intoreleasefrom
main

Conversation

@rosenbjerg
Copy link
Owner

@rosenbjerg rosenbjerg commented Oct 27, 2025

  • Fixed exception thrown on cancelling ffprobe analysis - by snechaev
  • Support for cancellationtoken in SnapsnotAsync methods - by snechaev
  • Added FFMetadataBuilder - by rosenbjerg
  • Fix JoinImageSequence by passing framerate argument to input as well as output - by rosenbjerg
  • Change fps input from int to double - by rosenbjerg
  • Fix GetCreationTime method on ITagsContainer - by rosenbjerg

rosenbjerg and others added 30 commits October 17, 2025 21:48
…iontoken-is-used

Ensure TestContext.CancellationToken is used
Improve test for percentage progress events
…e-sequence

Fix fps handling in JoinImageSequence
…f an asynchronous operation after the FFmpeg process had already exited. Fixes #348.

Related: #592
rosenbjerg and others added 14 commits October 25, 2025 11:28
Throw OperationCancelledException in this case to provide more uniform and expected behavior.

Fixes #594
…tion when FFProbe exits with non-zero code and no cancellation was requested.

Ref.: #594
…andling cancellation.

This preserves the original semantics and contract (throw only if the ffprobe exits with a non-zero code).
… call it separately in all the async code paths.
…eption_On_Cancellation

Do not throw unexpected FFMpegException on FFProbe cancallation. Fixes  #594
…lation-token

Improve tests usage of cancellation token
@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2025

Codecov Report

❌ Patch coverage is 71.00000% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.55%. Comparing base (fc5e8a6) to head (3b1a143).
⚠️ Report is 7 commits behind head on release.

Files with missing lines Patch % Lines
FFMpegCore/FFMpeg/FFMpegArgumentProcessor.cs 74.19% 6 Missing and 2 partials ⚠️
FFMpegCore/FFMpeg/FFMpeg.cs 46.15% 7 Missing ⚠️
FFMpegCore.Extensions.SkiaSharp/FFMpegImage.cs 0.00% 4 Missing ⚠️
...re.Extensions.System.Drawing.Common/FFMpegImage.cs 0.00% 4 Missing ⚠️
FFMpegCore/FFMetadataInputArgument.cs 89.74% 4 Missing ⚠️
FFMpegCore/FFProbe/FFProbe.cs 66.66% 1 Missing ⚠️
FFMpegCore/FFProbe/FFProbeAnalysis.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           release     #598      +/-   ##
===========================================
+ Coverage    68.67%   69.55%   +0.87%     
===========================================
  Files          122      123       +1     
  Lines         3467     3544      +77     
  Branches       305      311       +6     
===========================================
+ Hits          2381     2465      +84     
+ Misses         972      964       -8     
- Partials       114      115       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…pport

Add cancellation token support for the [Gif]SnapshotAsync
@rosenbjerg rosenbjerg merged commit ed8f899 into release Oct 27, 2025
3 checks 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.

3 participants