[PR #1328] [MERGED] [IMPROVEMENT] Update GPAC to version 1.0.1 #2100

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

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1328
Author: @pranavrajpal
Created: 4/27/2021
Status: Merged
Merged: 4/30/2021
Merged by: @cfsmp3

Base: masterHead: update-gpac


📝 Commits (10+)

  • 7954ade Add update_gpac.py
  • 150e8e0 Update GPAC to version 1.0.1
  • 40f0493 Add necessary GPAC header files
  • 9164c08 Define GF_CONFIG_H to fix Linux build failing
  • 50070ca Add some more necessary GPAC header files
  • e0b8c86 Fix renamed and removed media types
  • 5c0c9cf Remove Remotery from updated GPAC
  • a03f0f3 Remove unused box definitions
  • 0cea6a6 Replace alloc function declarations with defines
  • 4a3f0ee Remove WebVTT handling code in gf_isom_dump_srt_track

📊 Changes

110 files changed (+58431 additions, -19684 deletions)

View changed files

📝 docs/CHANGES.TXT (+1 -0)
📝 linux/Makefile.am (+7 -2)
📝 linux/build (+2 -2)
📝 mac/Makefile.am (+7 -2)
📝 mac/build.command (+2 -2)
📝 src/CMakeLists.txt (+2 -2)
📝 src/lib_ccx/BUILD (+2 -1)
📝 src/lib_ccx/mp4.c (+6 -4)
📝 src/thirdparty/gpacmp4/BUILD (+3 -2)
📝 src/thirdparty/gpacmp4/av_parsers.c (+5003 -1739)
📝 src/thirdparty/gpacmp4/avc_ext.c (+1143 -396)
📝 src/thirdparty/gpacmp4/avilib.c (+89 -60)
📝 src/thirdparty/gpacmp4/base_encoding.c (+168 -13)
📝 src/thirdparty/gpacmp4/bitstream.c (+642 -151)
📝 src/thirdparty/gpacmp4/box_code_3gpp.c (+184 -162)
📝 src/thirdparty/gpacmp4/box_code_adobe.c (+112 -51)
📝 src/thirdparty/gpacmp4/box_code_apple.c (+728 -59)
📝 src/thirdparty/gpacmp4/box_code_base.c (+3357 -2601)
📝 src/thirdparty/gpacmp4/box_code_drm.c (+433 -499)
📝 src/thirdparty/gpacmp4/box_code_meta.c (+137 -265)

...and 80 more files

📄 Description

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.
  • I have mentioned this change in the changelog.

My familiarity with the project is as follows (check one):

  • I have never used CCExtractor.
  • I have used CCExtractor just a couple of times.
  • I absolutely love CCExtractor, but have not contributed previously.
  • I am an active contributor to CCExtractor.

This pull request update GPAC to version 1.0.1, which fixes the issue mentioned in #1313.

I made the following changes to GPAC to avoid having to pull in too many files:

  • Remove webvtt handling code in gf_isom_dump_srt_track in box_dump.c (see 4a3f0ee85d)
  • Comment out unused lines in box_funcs.c as recommended in #894 (see a03f0f3018)
  • Change all malloc-family functions declared in gpac/setup.h to #defines (see 0cea6a642e)
  • Remove references to Remotery by removing an include in gpac/tools.h and removing calls to gf_rmt_begin and gf_rmt_end in os_divers.c (see 5c0c9cf71e)

I also added the python script tools/update_gpac.py to do some of the work involved in updating GPAC (It just copies in the newer version of every file without making any of the above changes).


🔄 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/1328 **Author:** [@pranavrajpal](https://github.com/pranavrajpal) **Created:** 4/27/2021 **Status:** ✅ Merged **Merged:** 4/30/2021 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `update-gpac` --- ### 📝 Commits (10+) - [`7954ade`](https://github.com/CCExtractor/ccextractor/commit/7954ade8a54f6dcf2dc1137cbe66c313818a69f4) Add update_gpac.py - [`150e8e0`](https://github.com/CCExtractor/ccextractor/commit/150e8e033dec7f3d85eb36d632dc74e79dea0f5d) Update GPAC to version 1.0.1 - [`40f0493`](https://github.com/CCExtractor/ccextractor/commit/40f04939736045e198af5f9fe38e4af7160d7685) Add necessary GPAC header files - [`9164c08`](https://github.com/CCExtractor/ccextractor/commit/9164c0897951f7795e85bc95b1a1eaaf95a16482) Define _GF_CONFIG_H_ to fix Linux build failing - [`50070ca`](https://github.com/CCExtractor/ccextractor/commit/50070ca3b6d9d1ea818d35c79e5f7bd9f21454c6) Add some more necessary GPAC header files - [`e0b8c86`](https://github.com/CCExtractor/ccextractor/commit/e0b8c869ba00ab54993b3d3fe1af775a90281e5d) Fix renamed and removed media types - [`5c0c9cf`](https://github.com/CCExtractor/ccextractor/commit/5c0c9cf71e17b95dc4fd8015d81040fd03858ce9) Remove Remotery from updated GPAC - [`a03f0f3`](https://github.com/CCExtractor/ccextractor/commit/a03f0f3018d1bf363d55ed24f5197fc9a0323d61) Remove unused box definitions - [`0cea6a6`](https://github.com/CCExtractor/ccextractor/commit/0cea6a642e27db93b87e61924bc4aa66d8770400) Replace alloc function declarations with defines - [`4a3f0ee`](https://github.com/CCExtractor/ccextractor/commit/4a3f0ee85d80bf27bf2ff2cbb9e354ab95cc2b77) Remove WebVTT handling code in gf_isom_dump_srt_track ### 📊 Changes **110 files changed** (+58431 additions, -19684 deletions) <details> <summary>View changed files</summary> 📝 `docs/CHANGES.TXT` (+1 -0) 📝 `linux/Makefile.am` (+7 -2) 📝 `linux/build` (+2 -2) 📝 `mac/Makefile.am` (+7 -2) 📝 `mac/build.command` (+2 -2) 📝 `src/CMakeLists.txt` (+2 -2) 📝 `src/lib_ccx/BUILD` (+2 -1) 📝 `src/lib_ccx/mp4.c` (+6 -4) 📝 `src/thirdparty/gpacmp4/BUILD` (+3 -2) 📝 `src/thirdparty/gpacmp4/av_parsers.c` (+5003 -1739) 📝 `src/thirdparty/gpacmp4/avc_ext.c` (+1143 -396) 📝 `src/thirdparty/gpacmp4/avilib.c` (+89 -60) 📝 `src/thirdparty/gpacmp4/base_encoding.c` (+168 -13) 📝 `src/thirdparty/gpacmp4/bitstream.c` (+642 -151) 📝 `src/thirdparty/gpacmp4/box_code_3gpp.c` (+184 -162) 📝 `src/thirdparty/gpacmp4/box_code_adobe.c` (+112 -51) 📝 `src/thirdparty/gpacmp4/box_code_apple.c` (+728 -59) 📝 `src/thirdparty/gpacmp4/box_code_base.c` (+3357 -2601) 📝 `src/thirdparty/gpacmp4/box_code_drm.c` (+433 -499) 📝 `src/thirdparty/gpacmp4/box_code_meta.c` (+137 -265) _...and 80 more files_ </details> ### 📄 Description **In raising this pull request, I confirm the following (please check boxes):** - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x] I have checked that another pull request for this purpose does not exist. - [x] I have considered, and confirmed that this submission will be valuable to others. - [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [x] I give this submission freely, and claim no ownership to its content. - [x] **I have mentioned this change in the [changelog](https://github.com/CCExtractor/ccextractor/blob/master/docs/CHANGES.TXT).** **My familiarity with the project is as follows (check one):** - [ ] I have never used CCExtractor. - [ ] I have used CCExtractor just a couple of times. - [ ] I absolutely love CCExtractor, but have not contributed previously. - [x] I am an active contributor to CCExtractor. --- This pull request update GPAC to version 1.0.1, which fixes the issue mentioned in #1313. I made the following changes to GPAC to avoid having to pull in too many files: - Remove webvtt handling code in gf_isom_dump_srt_track in `box_dump.c` (see 4a3f0ee85d80bf27bf2ff2cbb9e354ab95cc2b77) - Comment out unused lines in `box_funcs.c` as recommended in #894 (see a03f0f3018d1bf363d55ed24f5197fc9a0323d61) - Change all malloc-family functions declared in `gpac/setup.h` to `#define`s (see 0cea6a642e27db93b87e61924bc4aa66d8770400) - Remove references to Remotery by removing an include in `gpac/tools.h` and removing calls to `gf_rmt_begin` and `gf_rmt_end` in os_divers.c (see 5c0c9cf71e17b95dc4fd8015d81040fd03858ce9) I also added the python script `tools/update_gpac.py` to do some of the work involved in updating GPAC (It just copies in the newer version of every file without making any of the above changes). --- <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:20:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2100