[mythtv-commits] mythtv/master commit: 25e01ee81 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Tue Feb 1 06:54:07 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-01-31T22:31:37-08:00
   Push Date:  2011/01/31 22:51:50 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  25e01ee81acd913dd564c60345570a73127b947c
   Changeset:  https://github.com/MythTV/mythtv/commit/25e01ee81

Log:

OpenGL: Revert 'Don't call QGLContext::doneCurrent() in
MythRenderOpenGL'

Originally committed in:-

http://svn.mythtv.org/svn/trunk@27281 7dbf422c-18fa-0310-86e9-

This should never have been committed as I completely ignored the
situation in which the decoder thread re-initialises the videooutput
class when a stream change occurs.

The change will probably break windows OpenGL video playback and from
prior testing, will probably have a negative impact on linux Intel GPU
performance.

Will fix sundry crashes when using OpenGL video playback and the stream
changes (size, interlacing etc).

The proper fix, which I've been mulling for some time, is to make the
decoder object signal to the main thread that the video parameters have
changed and a re-initialisation is needed. This is not a trivial change
though.

Modified:

   mythtv/libs/libmythui/mythrender_opengl.cpp



More information about the mythtv-commits mailing list