[mythtv] [PATCH] Mythvideo compiling on Mac OS X? and keypresses in VideoManager

Joshua King jking_ok at yahoo.com.au
Thu Oct 28 02:20:13 UTC 2004


This follows on from my previous message (about getting mythplugin working).

I had to change some flags in the qmake .pro files for Mythvideo to get it
to stop complaining about undefined references when linking, including
telling it to link against 'myth-0.16' (might not be a good solution since
Mythvideo is supposed to support >= 0.14 but it is applied to Mac OS X only
-- any better ideas as to how I do this?) I also had to comment out a couple
of unimplemented methods in a couple of the header files - these lines could
also be deleted I suppose.

Then I found some cases for crashes after I accidentally deleted all of my
metadata in the video manager - if you press almost any of the keys in the
Video Manager view when there are no videos listed the program crashes. This
is the second patch and should apply to all platforms - it now ignores the
dangerous keypresses if there is no current item.

A little warning/question, I've been testing the mythvideo plugin by running
/usr/local/bin/mythfrontend.app/Contents/MacOS/mythfrontend -v all mythvideo
And the very last line of the output is most often
Mutex destroy failure: Device busy

This happens no matter how far I go into mythvideo (just letting the menu
appear and pressing Escape appears to be enough), but it doesn't happen if I
run mythfrontend normally and use mythvideo from there. I've done some
searching on the net and this is a lock destroying issue but I'm not
familiar enough with the code yet to know where to look. Ideas???

Joshua King

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-macmythvideo.diff.bz2
Type: application/octet-stream
Size: 918 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041028/bb453af3/patch-macmythvideo.diff.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-mythvideo-managerkeys.diff.bz2
Type: application/octet-stream
Size: 825 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041028/bb453af3/patch-mythvideo-managerkeys.diff.obj


More information about the mythtv-dev mailing list