[PR #75] [MERGED] fix: MpegTsWriter bugs #138

Closed
opened 2026-03-02 04:00:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/eerimoq/moblin/pull/75
Author: @jui
Created: 10/22/2024
Status: Merged
Merged: 10/22/2024
Merged by: @eerimoq

Base: mainHead: mpegtsfix


📝 Commits (2)

  • 476c5b7 fixed pmt/pat table discontinuity warning in gstreamer and clean videoData when stopped
  • 80ed8a6 Fixed swiftformat errors

📊 Changes

1 file changed (+26 additions, -2 deletions)

View changed files

📝 Moblin/HaishinKit/MPEG/MpegTsWriter.swift (+26 -2)

📄 Description

  • added discontinuity counter to pmt/pat packets. Fixes gstreamer mpegts demuxer warning "PID 0x0000 section discontinuity (0 vs 0)".
  • clear videoData and videoDataOffset when mpegtswriter is stopped.

🔄 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/eerimoq/moblin/pull/75 **Author:** [@jui](https://github.com/jui) **Created:** 10/22/2024 **Status:** ✅ Merged **Merged:** 10/22/2024 **Merged by:** [@eerimoq](https://github.com/eerimoq) **Base:** `main` ← **Head:** `mpegtsfix` --- ### 📝 Commits (2) - [`476c5b7`](https://github.com/eerimoq/moblin/commit/476c5b7a16b095327b2ddf18797ac6bcaa335b60) fixed pmt/pat table discontinuity warning in gstreamer and clean videoData when stopped - [`80ed8a6`](https://github.com/eerimoq/moblin/commit/80ed8a650a573fbf910d127704af65b9f2e25518) Fixed swiftformat errors ### 📊 Changes **1 file changed** (+26 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Moblin/HaishinKit/MPEG/MpegTsWriter.swift` (+26 -2) </details> ### 📄 Description - added discontinuity counter to pmt/pat packets. Fixes gstreamer mpegts demuxer warning "PID 0x0000 section discontinuity (0 vs 0)". - clear videoData and videoDataOffset when mpegtswriter is stopped. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:00:26 +03:00
Sign in to join this conversation.
No labels
pull-request
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
starred/moblin#138
No description provided.