[PR #20] [MERGED] Use (__bridge type) casts to share CMSampleBuffers, memory management is... #86

Closed
opened 2026-05-05 15:05:28 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/zakk4223/CocoaSplit/pull/20
Author: @McZonk
Created: 3/20/2014
Status: Merged
Merged: 4/15/2014
Merged by: @zakk4223

Base: masterHead: master


📝 Commits (9)

  • e5d8360 Use (__bridge type) casts to share CMSampleBuffers, memory management is much cleaner and easier in this case.
  • 15b128b Fixed minor memory leaking string
  • 01368c3 Fixed crash when end streaming
  • 36e369e Fixed memory leak in transferSpec
  • adda674 Fixed memory leak in CFNumberRef
  • 3ae8c0b Use literals for better readability
  • bf3f9b0 Use literals for encoderSpec
  • 5ef302e Removed unused and leaking encoderList
  • c89cb88 Fixed memory leak

📊 Changes

4 files changed (+27 additions, -67 deletions)

View changed files

📝 CocoaSplit/AppleVTCompressor.m (+17 -46)
📝 CocoaSplit/CaptureController.m (+3 -6)
📝 CocoaSplit/CapturedFrameData.m (+2 -9)
📝 CocoaSplit/FFMpegTask.m (+5 -6)

📄 Description

... much cleaner and easier in this case.


🔄 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/zakk4223/CocoaSplit/pull/20 **Author:** [@McZonk](https://github.com/McZonk) **Created:** 3/20/2014 **Status:** ✅ Merged **Merged:** 4/15/2014 **Merged by:** [@zakk4223](https://github.com/zakk4223) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`e5d8360`](https://github.com/zakk4223/CocoaSplit/commit/e5d8360fcfe7a249b5b8d613deb29eb71f806acd) Use (__bridge type) casts to share CMSampleBuffers, memory management is much cleaner and easier in this case. - [`15b128b`](https://github.com/zakk4223/CocoaSplit/commit/15b128b69799ac6ac69dbae47359ee6ca9d9b511) Fixed minor memory leaking string - [`01368c3`](https://github.com/zakk4223/CocoaSplit/commit/01368c3053a6fda81e83cad2ca3495d23952a28f) Fixed crash when end streaming - [`36e369e`](https://github.com/zakk4223/CocoaSplit/commit/36e369ed49fa6a1b7c5c86e0375c133eb7952528) Fixed memory leak in transferSpec - [`adda674`](https://github.com/zakk4223/CocoaSplit/commit/adda6743cd136e45953b77dab9672b343b4dc94e) Fixed memory leak in CFNumberRef - [`3ae8c0b`](https://github.com/zakk4223/CocoaSplit/commit/3ae8c0be00ba5ca2b8b229eff990c22c85871c4e) Use literals for better readability - [`bf3f9b0`](https://github.com/zakk4223/CocoaSplit/commit/bf3f9b0726386dd35b6f74022503aacd948ea061) Use literals for encoderSpec - [`5ef302e`](https://github.com/zakk4223/CocoaSplit/commit/5ef302e11bff536b08674d74b9485124a3f09bac) Removed unused and leaking encoderList - [`c89cb88`](https://github.com/zakk4223/CocoaSplit/commit/c89cb885caf1b943ac192b86d650493decba7ee7) Fixed memory leak ### 📊 Changes **4 files changed** (+27 additions, -67 deletions) <details> <summary>View changed files</summary> 📝 `CocoaSplit/AppleVTCompressor.m` (+17 -46) 📝 `CocoaSplit/CaptureController.m` (+3 -6) 📝 `CocoaSplit/CapturedFrameData.m` (+2 -9) 📝 `CocoaSplit/FFMpegTask.m` (+5 -6) </details> ### 📄 Description ... much cleaner and easier in this case. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 15:05:28 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/CocoaSplit#86
No description provided.