home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MERGING MediaPortal Url Source Splitter & IPTV Filter
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1139899" data-attributes="member: 82144"><p>PAT and PMT sections will almost always fit in one packet and are usually carried on separate PIDs, so I understand why you prefer the simpler code. However, when the code assumptions are not met there is no warning (!!!). Since there was no warning, it took me almost 2 days to find this problem (checking the packet sync, section decoder etc.).. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Also, about packet alignment: there is never any guarantee about this.</p><p></p><p></p><p>Correct.</p><p></p><p></p><p>I modified the "if" clause:</p><p>[code]if ((postedData > 0) && (this->keepPidValues != NULL) && (this->keepPidValues[PID_PAT] == KEEP_PID_IN_STREAM))[/code]</p><p></p><p>So, if PID filtering is not active (which is the normal case) then the problem code is avoided.</p><p></p><p></p><p>See attached sample. The sample only contains PAT and PMT to keep the file size small.</p><p></p><p>P.S.: Who is using this PID filtering, and what is the purpose/value?</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1139899, member: 82144"] PAT and PMT sections will almost always fit in one packet and are usually carried on separate PIDs, so I understand why you prefer the simpler code. However, when the code assumptions are not met there is no warning (!!!). Since there was no warning, it took me almost 2 days to find this problem (checking the packet sync, section decoder etc.).. :( Also, about packet alignment: there is never any guarantee about this. Correct. I modified the "if" clause: [code]if ((postedData > 0) && (this->keepPidValues != NULL) && (this->keepPidValues[PID_PAT] == KEEP_PID_IN_STREAM))[/code] So, if PID filtering is not active (which is the normal case) then the problem code is avoided. See attached sample. The sample only contains PAT and PMT to keep the file size small. P.S.: Who is using this PID filtering, and what is the purpose/value? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MERGING MediaPortal Url Source Splitter & IPTV Filter
Contact us
RSS
Top
Bottom