[mythtv-commits] Ticket #7633: Default new recording end offset is set to DefaultStartOffset pref, should be DefaultEndOffset
MythTV
mythtv at cvs.mythtv.org
Sun Nov 22 07:06:03 UTC 2009
#7633: Default new recording end offset is set to DefaultStartOffset pref, should
be DefaultEndOffset
-------------------------------------+--------------------------------------
Reporter: mythtv@… | Owner: gigem
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
This seems to have been broken in the transition from ScheduledRecording
to RecordingRule classes (based on my quick check of the SVN logs).
I think this is a trivial fix.
{{{
--- mythtv-trunk/mythtv/libs/libmythtv/recordingrule.cpp (revision
22880)
+++ mythtv-trunk/mythtv/libs/libmythtv/recordingrule.cpp (working
copy)
@@ -26,7 +26,7 @@
m_recPriority(0),
m_prefInput(0),
m_startOffset(gContext->GetNumSetting("DefaultStartOffset", 0)),
- m_endOffset(gContext->GetNumSetting("DefaultStartOffset", 0)),
+ m_endOffset(gContext->GetNumSetting("DefaultEndOffset", 0)),
m_dupMethod(static_cast<RecordingDupMethodType>(
gContext->GetNumSetting("prefDupMethod",
kDupCheckSubDesc))),
m_dupIn(kDupsInAll),
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7633>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list