[mythtv-commits] mythtv commit: r7427 - in trunk/mythtv by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sun Oct 9 19:10:18 UTC 2005
Author: danielk
Date: 2005-10-09 19:10:18 +0000 (Sun, 09 Oct 2005)
New Revision: 7427
Changeset: http://cvs.mythtv.org/trac/changeset/7427
Modified:
trunk/mythtv/libs/libmyth/mythcontext.h
trunk/mythtv/libs/libmythtv/tv_rec.cpp
trunk/mythtv/libs/libmythtv/tv_rec.h
trunk/mythtv/programs/mythbackend/encoderlink.cpp
trunk/mythtv/programs/mythbackend/mainserver.cpp
trunk/mythtv/programs/mythbackend/playbacksock.cpp
trunk/mythtv/programs/mythbackend/playbacksock.h
trunk/mythtv/programs/mythbackend/scheduler.cpp
Log:
Fixes #320.
This fixes two additional problems that cause lost follow on recordings:
* Overrecord race problem, an old problem that was made worse
by event loop improvements.
* Clock drift problem, another old problem.
Fixing the clock drift problem required a MythTV protocol change
so you must upgrade all your backends & frontends. Basically, it
adds a GET_CURRENT_RECORDING query so that we can find out if the
slave backend is recording something the master backend thinks
should be done by now.
It is still important to keep the backend clocks in sync with
something line NTP, but with this commit minor clock drift will
only mean you might lose a few seconds of you recording, not
the entire follow on recording.
The overrecord race problem is also made worse by a clock
drift, basically if the slave is over 2 seconds "slower" than
the frontend you almost always lost the race, otherwise you
lost the race in rough proportion to how far you were out
of sync with the master backend's clock.
More information about the mythtv-commits
mailing list