mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #771] [MERGED] Cleaning up the codebase and additional changes in Python SRT generator. #1585
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/771
Author: @Diptanshu8
Created: 8/23/2017
Status: ✅ Merged
Merged: 8/25/2017
Merged by: @cfsmp3
Base:
master← Head:refactoring📝 Commits (10+)
4ab7599Removed all extractors except the grid extractor.2da0badRemoved unnecessary array appening statements in python_grid_extractor.bd3b882Added switch in g608 grid extractor.8734603Deleted comments from wrappers.f89ba0dRefactored code in ccextractor.c and .h files.9e1123bRemoved calls to extractor from all the encoders.6688897Removed a comment from wrapper.c.cea9982Added calls to free the char* which is malloced by asprintf ind5e25faSample testing correctly for italics tag.e58d132Added support for handling font and italics in Python SRT generator.📊 Changes
24 files changed (+382 additions, -1470 deletions)
View changed files
📝
api/api_support.py(+19 -30)📝
api/api_testing.py(+2 -39)📝
api/ccextractor.py(+4 -84)📝
api/ccextractor_wrap.c(+84 -942)📝
api/extractors/extractor.c(+61 -133)📝
api/extractors/extractor.h(+2 -5)📝
api/python_srt_generator.py(+113 -39)➕
api/recursive_tester.py(+25 -0)📝
api/wrappers/wrapper.c(+0 -10)📝
api/wrappers/wrapper.h(+0 -1)📝
linux/Makefile.am(+6 -1)📝
linux/build(+1 -3)📝
src/ccextractor.c(+45 -110)📝
src/ccextractor.h(+3 -25)📝
src/lib_ccx/ccx_encoders_common.c(+3 -2)📝
src/lib_ccx/ccx_encoders_g608.c(+7 -23)📝
src/lib_ccx/ccx_encoders_python.c(+5 -5)📝
src/lib_ccx/ccx_encoders_sami.c(+0 -2)📝
src/lib_ccx/ccx_encoders_smptett.c(+0 -3)📝
src/lib_ccx/ccx_encoders_srt.c(+0 -1)...and 4 more files
📄 Description
Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This is majorly a Cleanup PR for cleaning up the codebase.
A feature to compare the font<->text grids and color<->text grids in Python for generating the output srt file has been added.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.