<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 22-Jan-08, at 8:43 PM, Daniel Kristjansson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">It is quite possible that there is a deadlock. The live preview code</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">is quite messy. Stanley Kamithy is working on some preview/PiP playback</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">code in the mythtv-pip branch which will eventually replace this code,</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">but if you can find this deadlock so we can kill it before the 0.21</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">release, that would be great.</font></p> </blockquote></div><div><br class="webkit-block-placeholder"></div><div>I found the deadlock but my problem is really about a funky avi file. It's trying to do a live preview on something I downloaded from the net and imported through myth.rebuilddatabase but the avi decoder is in an endless loop on a zero length packet. That's odd. I've never had a problem playing an imported avi, only previewing.</div><div><br class="webkit-block-placeholder"></div><div>FWIW the NVP playing code is fine. I can see that it has been signalled to exit (killplayer == true) but never gets to the top of its loop because several stack frames below GetFrame is this endless decoder loop.</div><div><br class="webkit-block-placeholder"></div><div>I checked gossamer for hits on avi and preview and saw a recent post where you don't want to look at avi preview bugs because myth doesn't write avi files. That's cool. I'll move all my avi files over to mythvideo and call it a day.<br><div><br class="webkit-block-placeholder"></div><div>- George</div></div></body></html>