[mythtv] Current DVB problems rundown

Mark Spieth mark at dclabs.com.au
Mon Sep 12 00:55:48 UTC 2005


>
> > > -    int timeout = 2000000000;
> > > +    int timeout = 5000;
> > > Bug #2 -- LiveTV should tuning not time out, the user can change the
> > >           channel or tuner or input or even exit LiveTV at any time.
> > >   Why force one particular decision on the user?
> > fair enough. the number just looked weird.
> Yeah, I wanted to use a MAX_INT, but I think types.h wasn't included
> and I couldn't remember the POSIX define to use. Sorry, this was
> just lazyness on my part. In my defence a too low value for this
> was seriously breaking things for someone and I just wanted to fix
> SVN ASAP.

heres another interesting bit that I logged this morning on livetv
worked the 2nd time round fine (pressed enter in browse mode).
I cant see how the timeout happens or the abort happened as these would be
logged and the timeout has no chance of happening(?). cant test now but will
find out more this evening. seems ok except for this unknown abort/timeout.

my new chunk of code in the same spot follows the log

mark

2005-09-12 09:30:48.854 timeout is 2000000000ms
....
2005-09-12 09:30:49.524 prog_num(1585) vs. dvbc->srv_id(1585)
2005-09-12 09:30:49.550 SIParser: About to do a reset
2005-09-12 09:30:49.691 SIParser: Closing all PIDs
2005-09-12 09:30:49.692 SIParser: Using DelAllPids from SIParser which does
nothing
2005-09-12 09:30:49.785 SIParser: Resetting all Table Handlers
2005-09-12 09:30:49.840 SIParser: SIParser Reset due to channel change
2005-09-12 09:30:50.040 SIParser: Added preferred language aar with priority
1
2005-09-12 09:30:50.066 SIParser: Added preferred language aar with priority
2
2005-09-12 09:30:50.082 DVB#0 DVB SI Table Parser Started
2005-09-12 09:30:50.099 SIParser: ReinitSIParser(std dvb, service #1585)
2005-09-12 09:30:50.359 SIParser: Starting DVB Section Reader thread
2005-09-12 09:30:50.389 FillPMap(str dvb)
2005-09-12 09:30:50.750 FillPMap(SIS dvb)
2005-09-12 09:30:50.810 SIParser: Requesting PAT
2005-09-12 09:30:50.917 SIParser: Adding the Service with ID 1585 in the SDT
to the request list
2005-09-12 09:30:51.407 SIParser: Table[0]->RequirePIDs() == true
2005-09-12 09:30:52.771 SIParser: Adding PID 0x   0 Filter 0x 0 Mask 0xff
Buffer 40960
2005-09-12 09:30:53.977 SIParser: Table[2]->RequirePIDs() == true
2005-09-12 09:30:55.944 TVRec: DVB Recorder's PMT NOT SET.
2005-09-12 09:30:55.983 SIParser: Adding PID 0x1ffb Filter 0xff Mask 0x 0
Buffer 40960
2005-09-12 09:30:59.889 TVRec: StartRecorderPost(): aborting recording
2005-09-12 09:31:02.852 SIParser: Table[3]->RequirePIDs() == true
2005-09-12 09:31:04.206 SIParser: Adding PID 0x1ffb Filter 0xff Mask 0x 0
Buffer 40960
2005-09-12 09:31:05.758 SIParser: Table[6]->RequirePIDs() == true
2005-09-12 09:31:04.265 SIParser: Stopping DVB Section Reader
2005-09-12 09:31:06.221 SIParser: Adding PID 0x  10 Filter 0x40 Mask 0xff
Buffer 40960
2005-09-12 09:31:06.380 TVRec::HandleStateChange() Abort starting
recording -- begin
2005-09-12 09:31:07.254 SIParser: DVB Section Reader thread stopped
2005-09-12 09:31:07.295 DVB#0 Closing DVB channel

#ifdef USING_DVB
        DVBChannel *dvbc = dynamic_cast<DVBChannel*>(channel);
        if (dvbc && channel)
        {
            bool need_close = false;
            if (channel && !channel->IsOpen())
            {
                channel->Open();
                need_close = true;
            }

            VERBOSE(VB_IMPORTANT, QString("TVRec::HandleStateChange():
channel %1 input %2 name %3")
                .arg(channel->GetCurrentInputNum())
                .arg(channel->GetCurrentInput() )
                .arg(channel->GetCurrentName()));
            channel->SwitchToInput(channel->GetCurrentInput(),
channel->GetCurrentName());

            if (need_close)
                CloseChannel();
        }
#endif



More information about the mythtv-dev mailing list