[mythtv] Development thoughts + Mythtv crashing bug - during playback/delete

Grant Taylor mythtv-dev@snowman.net
Mon, 09 Sep 2002 16:27:19 -0400


>>>>> mythtv-dev@snowman.net writes:

> Yeah.  On the dvd note, I'll add support for it once playing DVDs in
> linux doesn't suck badly.

mplayer appears to work fairly well.  I've never really wanted the
menus or super omniphonic stereo sound, which is the usual failing
point with these things.

It would be interesting offering dvd support in mythtv.  You're in the
US, no?

>> Which brings up the point - is the frontend stuff at all scriptable?
> What would you want to do with it?

Well, one could trivially launch mozilla/konqueror or mame; add a
button or two for X10 light dimming; or any number of other things.

>> What's more of a mystery is that I can't find what to put in my
>> irxevent rc file for "space".  "KP_Space" is the only listed thing in

> I'll check that out.. haven't used the remote much lately, mainly
> been using a wireless keyboard.

Yeah, I'll play around more tonight, too.  It's really the darndest
thing.

Qt might be discriminating against synthetic events, although why some
would work and others not I don't get.

> Turning on debug in settings.pro also turns off the mmx code and
> some other optimizations, which can cause problems in gdb.  It's a
> lot easier to debug a non-optimized binary.

Silly x86.  Grr.

I could offer you code to say "I'm being debugged, behave
differently," but I'd rather not curse you with heisenbugs.

> No semaphores, but I bet the A/V sync code's getting thrown off
> somehow, and it's waiting for an abnormally long period of time
> before displaying the next frame -- happen to know if anything
> interesting is output to the console?

No, I don't think so.  I get a number of "strange error flushing
buffers", but this appears to be coming out of the recording side,
which aside from the message is working just fine.  AFAICT there are
no other messages at all besides the state changes.

Here's from all of yesterday and probably some of the day before:

Probed: Television
Probed: Composite1
Probed: S-Video
Probed: Composite3
strange error flushing buffer ... 
Changing from None to WatchingLiveTV
libavcodec: CPU flags: mmx mmxext 3dnow
using rtjpeg
Using XV port 85
Changing from WatchingLiveTV to WatchingRecording
Changing from WatchingRecording to RecordingOnly
Changing from RecordingOnly to WatchingOtherRecording
Using XV port 85
Changing from WatchingOtherRecording to RecordingOnly
Changing from RecordingOnly to WatchingOtherRecording
Using XV port 85
143144055
strange error flushing buffer ... 
strange error flushing buffer ... 
result was 2
Changing from WatchingOtherRecording to WatchingPreRecorded
Changing from WatchingPreRecorded to WatchingOtherRecording
using rtjpeg
Changing from WatchingOtherRecording to WatchingPreRecorded
Changing from WatchingPreRecorded to None
Changing from None to WatchingPreRecorded
Using XV port 85
Changing from WatchingPreRecorded to WatchingOtherRecording
using rtjpeg
Changing from WatchingOtherRecording to RecordingOnly
Changing from RecordingOnly to WatchingOtherRecording
Using XV port 85
Changing from WatchingOtherRecording to RecordingOnly
Changing from RecordingOnly to WatchingOtherRecording
Using XV port 85
Changing from WatchingOtherRecording to RecordingOnly
Changing from RecordingOnly to WatchingRecording
Using XV port 85
Changing from WatchingRecording to RecordingOnly
Changing from RecordingOnly to WatchingOtherRecording
Using XV port 85
Changing from WatchingOtherRecording to RecordingOnly
Changing from RecordingOnly to WatchingOtherRecording
Using XV port 85
Changing from WatchingOtherRecording to WatchingPreRecorded
Changing from WatchingPreRecorded to None
12 23 38
strange error flushing buffer ... 
strange error flushing buffer ... 
strange error flushing buffer ... 
strange error flushing buffer ... 
strange error flushing buffer ... 

--
Grant Taylor - gtaylor<at>picante.com - http://www.picante.com/~gtaylor/
    Linux Printing Website and HOWTO:  http://www.linuxprinting.org/