[mythtv-commits] Ticket #3107: MythGallery segfaults on startup when OpenGL is disabled (libmyth/settings.cpp)
MythTV
mythtv at cvs.mythtv.org
Wed Apr 18 19:34:27 UTC 2007
#3107: MythGallery segfaults on startup when OpenGL is disabled
(libmyth/settings.cpp)
--------------------------------+-------------------------------------------
Reporter: herman at frontier.nl | Owner: stuartm
Type: defect | Status: closed
Priority: minor | Milestone: 0.21
Component: mythgallery | Version: head
Severity: medium | Resolution: fixed
--------------------------------+-------------------------------------------
Changes (by stuartm):
* status: new => closed
* resolution: => fixed
Comment:
(In [13277]) Fixes #3107
Fixes a segfault in mythgallery when compiled with openGL disabled.
The solution is a bit of a hack - I had three options available:
1) Fix the shortcomings of TriggeredConfigurationGroup
2) Switch to using a standard configuration group if openGL wasn't enabled
3) Create a triggered config group with only one target and no trigger
I went with #3 as it was the simplest solution to this particular problem.
I also fixed another bug spotted by stuarta where the first time the
gallery settings where accessed, the opengl options would be displayed
even though SlideshowUseOpenGL was false.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3107#comment:3>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list