-
Notifications
You must be signed in to change notification settings - Fork 516
[FIX] Prevent creation of empty per-stream subtitle files #1832
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
[FIX] Prevent creation of empty per-stream subtitle files #1832
Conversation
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit b728dda...:
Your PR breaks these cases:
NOTE: The following tests have been failing on the master branch as well as the PR:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results, when compared to test for commit b728dda...:
Your PR breaks these cases:
NOTE: The following tests have been failing on the master branch as well as the PR:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
|
Thank you for working on this issue. Unfortunately, the Sample Platform CI shows 47 test failures across multiple categories (Broken, CEA-708, General, Hardsubx, Hauppauge, Options, WTV, XDS), indicating that this approach causes significant regressions. The We have an alternative approach in PR #1877 that handles this more simply by deleting empty files after the encoding process completes, rather than trying to track writes during encoding. This avoids the complexity and regressions. I'm closing this PR in favor of #1877. Thank you for your contribution - the effort is appreciated! |
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
[FIX] Prevent creation of empty per-stream subtitle files (Fixes #1282)
This pull request implements deferred output file creation to avoid producing zero-byte
.srtfiles for caption streams that contain no actual data.