[mythtv] Video Output patch (incl. Windows & OSX) --segfault using xv

Geoffrey Kruse gkruse at gmail.com
Sat Apr 16 00:59:09 UTC 2005


On Apr 15, 2005, at 5:02 PM, Daniel Kristjansson wrote:

> On Fri, 2005-04-15 at 16:35 -0700, Geoffrey Kruse wrote:
>
>> This seems to fix the compile problem.  I am able to run the frontend
>> and view recorded programs.  Live TV works as well.
> Great.

I just compiled this patch on my x86 box and it is causing a segfault  
as soon as I start watching a recorded program.  I will recompile with 
debug enabled and get a backtrace.  This is what I see in the fronend 
log just prior to the crash with --verbose all

2005-04-15 17:57:36.571 All Programs
2005-04-15 17:57:37.378 write->10 21      QUERY_RECORDINGS Play:
2005-04-15 17:57:42.219 AVFD: Opening Stream #0: codec id 2
2005-04-15 17:57:42.220 AVFD: Looking for decoder for 2
2005-04-15 17:57:42.221 AVFD: Opening Stream #1: codec id 86016
2005-04-15 17:57:42.222 AVFD: Looking for decoder for 86016
2005-04-15 17:57:42.237 Stream #1 (audio track #0) is an audio stream 
with 2 channels.
2005-04-15 17:57:42.238 Auto-selecting audio track #1 (stream #1).
2005-04-15 17:57:42.238 It has 2 channels and we needed at least 1
2005-04-15 17:57:42.238 Initializing audio parms from audio track #0.
2005-04-15 17:57:42.239 Estimated bitrate = 2392
Input #0, mpeg, from 
'/var/lib/mythtv//1012_20050411210000_20050411220000.nuv':
   Stream #0.0: Video: mpeg2video, 352x480, 29.97 fps, 2200 kb/s
   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
2005-04-15 17:57:42.240 Commercial Detection initialized: width = 0, 
height = 0, fps = 29.97, method = 255
2005-04-15 17:57:42.254 Using Sample Spacing of 4 horizontal & 4 
vertical pixels.
2005-04-15 17:57:42.259 CommDetect::ClearAllMaps()
2005-04-15 17:57:42.306 Image size. dispxoff 0, dispyoff: 0, dispwoff: 
0, disphoff: 0
2005-04-15 17:57:42.307 Image size. imgx 0, imgy: 0, imgw: 0, imgh: 0
2005-04-15 17:57:42.308 AvFormatDecoder: Video has changed from 640x480 
to 352x480.
2005-04-15 17:57:42.308 CommDetect::SetVideoParams called with aspect = 
1.33333
2005-04-15 17:57:42.309 Aspect Ratio changed from 1 to 0 at frame -1
2005-04-15 17:57:42.309 DiscardFrames()       used          limbo
2005-04-15 17:57:42.310 DiscardFrames() -- done() 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2005-04-15 17:57:42.341 waiting for prebuffer...
2005-04-15 17:57:42.375 Image size. dispxoff 0, dispyoff: 0, dispwoff: 
0, disphoff: 0
2005-04-15 17:57:42.375 Image size. imgx 0, imgy: 0, imgw: 352, imgh: 
480
2005-04-15 17:57:42.376 detectInterlace(Detect Scan, Detect Scan, 
29.97, 480) ->Interlaced Scan
2005-04-15 17:57:42.376 Interlaced: Interlaced Scan  video_height: 480  
fps: 29.97
2005-04-15 17:57:42.376 positionMap[ 0 ] == 38.
Segmentation fault


Geoff Kruse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2361 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050415/ee7633d1/smime.bin


More information about the mythtv-dev mailing list