Author: Mark Kendall <mkendall at mythtv.org>
Change Date: 2011-01-10T06:56:14-08:00
Push Date: 2011/01/10 06:56:28 -0800
Repository: mythtv
Branch: master
New Revision: c8825513647b9b95b1c389c84f9e267cade3ef45
Changeset: https://github.com/MythTV/mythtv/commit/c88255136
Log:
Remove the PlayerTimer class and run the player from TV::StartTV
This is a further natural (and now obvious) improvement following the
threading changes in the player code. Instead of contriving playback
events to trigger the next frame, just loop inside the main event loop
in TV::StartTV and process other application events as needed.
There are almost certainly other simplifications possible here - notably
in the extensive use of timers; many of which can probably now be
removed.
Should almost certainly be a fix for #9223
Modified:
mythtv/libs/libmythtv/mythplayer.cpp
mythtv/libs/libmythtv/mythplayer.h
mythtv/libs/libmythtv/tv_play.cpp