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
Support
General Support
Bug or Missing feature found with sound and twinhan.
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="fjonson" data-source="post: 44590" data-attributes="member: 11397"><p>Hello DMAN!</p><p></p><p>No I have not tested to watch TV with time shift. But I did take a look in the source, I can’t se any possibility for the source to send the correct pid to the CI module and it’s confirmed by the logs. If I don’t miss understood the code there is only a few places where the pid’s are transmitted to the CI module and the primary place should be in DVBGraphBase.cs in the function SendPMT(), and the row </p><p>[code] if (_cardProperties.SendPMT(camType, _currentTuningObject.ProgramNumber, _currentTuningObject.VideoPid, _currentTuningObject.AudioPid, pmt, (int)pmt.Length))</p><p> {</p><p> return true;</p><p> }[/code]</p><p></p><p>So i did change the code to the following code (I hope I remember it corectly).</p><p></p><p>[code] if (_currentTuningObject.AC3Pid!=0x0){</p><p> if (_cardProperties.SendPMT(camType, _currentTuningObject.ProgramNumber, _currentTuningObject.VideoPid, _currentTuningObject.AC3Pid, pmt, (int)pmt.Length))</p><p> {</p><p> return true;</p><p> }</p><p> else</p><p> {</p><p> Log.Write("DVBGraph:Send PMT#{0} version:{1} failed", _pmtSendCounter, pmtVersion);</p><p> _refreshPmtTable = true;</p><p> _lastPMTVersion = -1;</p><p> _pmtSendCounter = 0;</p><p> return true;</p><p> }</p><p> }</p><p> else</p><p> {</p><p> if (_cardProperties.SendPMT(camType, _currentTuningObject.ProgramNumber, _currentTuningObject.VideoPid, _currentTuningObject.AudioPid, pmt, (int)pmt.Length))</p><p> {</p><p> return true;</p><p> }</p><p> else</p><p> {</p><p> Log.Write("DVBGraph:Send PMT#{0} version:{1} failed", _pmtSendCounter, pmtVersion);</p><p> _refreshPmtTable = true;</p><p> _lastPMTVersion = -1;</p><p> _pmtSendCounter = 0;</p><p> return true;</p><p> }</p><p> }[/code]</p><p></p><p>Now the AC3 sound is recorded correctly. </p><p>I don’t now if this change works in every case but it works fine on my computer and on the channels I have recorded</p><p></p><p>/Fjonson</p></blockquote><p></p>
[QUOTE="fjonson, post: 44590, member: 11397"] Hello DMAN! No I have not tested to watch TV with time shift. But I did take a look in the source, I can’t se any possibility for the source to send the correct pid to the CI module and it’s confirmed by the logs. If I don’t miss understood the code there is only a few places where the pid’s are transmitted to the CI module and the primary place should be in DVBGraphBase.cs in the function SendPMT(), and the row [code] if (_cardProperties.SendPMT(camType, _currentTuningObject.ProgramNumber, _currentTuningObject.VideoPid, _currentTuningObject.AudioPid, pmt, (int)pmt.Length)) { return true; }[/code] So i did change the code to the following code (I hope I remember it corectly). [code] if (_currentTuningObject.AC3Pid!=0x0){ if (_cardProperties.SendPMT(camType, _currentTuningObject.ProgramNumber, _currentTuningObject.VideoPid, _currentTuningObject.AC3Pid, pmt, (int)pmt.Length)) { return true; } else { Log.Write("DVBGraph:Send PMT#{0} version:{1} failed", _pmtSendCounter, pmtVersion); _refreshPmtTable = true; _lastPMTVersion = -1; _pmtSendCounter = 0; return true; } } else { if (_cardProperties.SendPMT(camType, _currentTuningObject.ProgramNumber, _currentTuningObject.VideoPid, _currentTuningObject.AudioPid, pmt, (int)pmt.Length)) { return true; } else { Log.Write("DVBGraph:Send PMT#{0} version:{1} failed", _pmtSendCounter, pmtVersion); _refreshPmtTable = true; _lastPMTVersion = -1; _pmtSendCounter = 0; return true; } }[/code] Now the AC3 sound is recorded correctly. I don’t now if this change works in every case but it works fine on my computer and on the channels I have recorded /Fjonson [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Bug or Missing feature found with sound and twinhan.
Contact us
RSS
Top
Bottom