[PR #673] [MERGED] Fixed huge memory usage caused by OCR inits. #1513

Closed
opened 2026-01-29 17:16:51 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/673
Author: @alexbrt
Created: 1/28/2017
Status: Merged
Merged: 1/30/2017
Merged by: @cfsmp3

Base: masterHead: master


📝 Commits (2)

  • c5ea59a Fixed huge memory leak related to OCR init
  • 919d3ec Fixed timing error caused by last commit

📊 Changes

6 files changed (+174 additions, -162 deletions)

View changed files

📝 src/lib_ccx/ccx_demuxer.c (+7 -0)
📝 src/lib_ccx/ccx_demuxer.h (+1 -0)
📝 src/lib_ccx/dvb_subtitle_decoder.c (+97 -95)
📝 src/lib_ccx/dvb_subtitle_decoder.h (+63 -63)
📝 src/lib_ccx/ts_info.c (+1 -1)
📝 src/lib_ccx/ts_tables.c (+5 -3)

📄 Description

  • Fixed memory usage and slow speed caused by too many OCR initializations.
    (Now there's only one OCR init per program)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/673 **Author:** [@alexbrt](https://github.com/alexbrt) **Created:** 1/28/2017 **Status:** ✅ Merged **Merged:** 1/30/2017 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`c5ea59a`](https://github.com/CCExtractor/ccextractor/commit/c5ea59aeb16423664ae10be793c6e4b999f48064) Fixed huge memory leak related to OCR init - [`919d3ec`](https://github.com/CCExtractor/ccextractor/commit/919d3ec3b00b5500faf21cf8eccd6632e7b982e0) Fixed timing error caused by last commit ### 📊 Changes **6 files changed** (+174 additions, -162 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/ccx_demuxer.c` (+7 -0) 📝 `src/lib_ccx/ccx_demuxer.h` (+1 -0) 📝 `src/lib_ccx/dvb_subtitle_decoder.c` (+97 -95) 📝 `src/lib_ccx/dvb_subtitle_decoder.h` (+63 -63) 📝 `src/lib_ccx/ts_info.c` (+1 -1) 📝 `src/lib_ccx/ts_tables.c` (+5 -3) </details> ### 📄 Description - Fixed memory usage and slow speed caused by too many OCR initializations. (Now there's only one OCR init per program) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:16:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1513