[mythtv-commits] Re: Ticket #833: Frontent crash whiel playing different recordings from 1 channel

MythTV mythtv at cvs.mythtv.org
Mon Jan 2 15:24:38 UTC 2006


#833: Frontent crash whiel playing different recordings from 1 channel
--------------------+-------------------------------------------------------
 Reporter:  jochen  |        Owner:  danielk
     Type:  defect  |       Status:  new    
 Priority:  minor   |    Milestone:  0.20   
Component:  mythtv  |      Version:  head   
 Severity:  medium  |   Resolution:         
--------------------+-------------------------------------------------------
Changes (by danielk):

  * milestone:  0.19 => 0.20

Comment:

 Fixing this properly is too invasive to do right now. [8470] fixes the
 segfault but you'll still have problems with the streams you've already
 recorded from this channel.

 The problem is that we rewrite the PMT's PID in the DVBRecorder, but we
 don't do any checking to make sure that we aren't using a PID assigned to
 some other stream. In the HDTVRecorder I avoided this problem by reusing
 the PID used in the original stream. What is happening in this case is
 that captions and the PMT are sharing the same PID, which avlib can't
 handle properly. That mplayer works is really just a fluke, they have
 another bug in their PMT scanning which means they miss the inconsistency.

 But there is good news. The rewritten PID for the PMT is a constant you
 can set, just go to line 70 of dvbrecorder.cpp and change the 0x20 to
 something like 0x1700. That value would work for your stream, but may
 break others. You want something above 0x1f and below 0x17f0, that isn't
 used by one of your other channels. Generally values ending in zero are
 safe, with your 'pro7' channel being an exception to the general rule.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/833>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list