Skip to content

Refactor option handling and codec private data logic#15

Merged
Gpower2 merged 1 commit into
masterfrom
gp2-refactor-mkvmerge
Jul 5, 2025
Merged

Refactor option handling and codec private data logic#15
Gpower2 merged 1 commit into
masterfrom
gp2-refactor-mkvmerge

Conversation

@Gpower2

@Gpower2 Gpower2 commented Jul 5, 2025

Copy link
Copy Markdown
Owner

Refactor option handling and codec private data logic

  • Improved ConvertOptionValueListToString in gMKVExtract.cs and gMKVInfo.cs for better readability and consistency.
  • Updated version logging in gMKVInfo.cs to reflect mkvinfo version correctly.
  • Refactored gMKVMerge.cs:
    • Renamed constructor parameter for clarity.
    • Removed _SegmentList and introduced a StringBuilder for output handling.
    • Used a local segmentList in GetMKVSegments for better encapsulation.
  • Added CodecPrivateDataExtensions.cs for modular codec private data handling.

- Improved `ConvertOptionValueListToString` in `gMKVExtract.cs` and `gMKVInfo.cs` for better readability and consistency.
- Updated version logging in `gMKVInfo.cs` to reflect `mkvinfo` version correctly.
- Refactored `gMKVMerge.cs`:
  - Renamed constructor parameter for clarity.
  - Removed `_SegmentList` and introduced a `StringBuilder` for output handling.
  - Used a local `segmentList` in `GetMKVSegments` for better encapsulation.
- Added `CodecPrivateDataExtensions.cs` for modular codec private data handling.
@Gpower2 Gpower2 merged commit 04131b1 into master Jul 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant