diff -ur mythtv-0.18.1/libs/libmythtv/tv_rec.cpp mythtv-0.18.1-patched/libs/libmythtv/tv_rec.cpp
old
|
new
|
|
1754 | 1754 | long long &fillamount, bool pip) |
1755 | 1755 | { |
1756 | 1756 | ispip = pip; |
1757 | | filesize = gContext->GetNumSetting("BufferSize", 5); |
| 1757 | filesize = gContext->GetNumSetting("BufferSize", 5000); |
1758 | 1758 | fillamount = gContext->GetNumSetting("MaxBufferFill", 50); |
1759 | 1759 | |
1760 | 1760 | path = gContext->GetSetting("LiveBufferDir") + QString("/ringbuf%1.nuv") |
… |
… |
|
1762 | 1762 | |
1763 | 1763 | outputFilename = path; |
1764 | 1764 | |
1765 | | filesize = filesize * 1024 * 1024 * 1024; |
| 1765 | filesize = filesize * 1024 * 1024; |
1766 | 1766 | fillamount = fillamount * 1024 * 1024; |
1767 | 1767 | |
1768 | 1768 | rbuffer = new RingBuffer(path, filesize, fillamount); |
diff -ur mythtv-0.18.1/setup/backendsettings.cpp mythtv-0.18.1-patched/setup/backendsettings.cpp
old
|
new
|
|
138 | 138 | |
139 | 139 | static HostSlider *BufferSize() |
140 | 140 | { |
141 | | HostSlider* gc = new HostSlider("BufferSize", 1, 100, 1); |
142 | | gc->setLabel(QObject::tr("Live TV buffer (GB)")); |
143 | | gc->setValue(5); |
| 141 | HostSlider* gc = new HostSlider("BufferSize", 100, 10000, 100); |
| 142 | gc->setLabel(QObject::tr("Live TV buffer (MB)")); |
| 143 | gc->setValue(5000); |
144 | 144 | gc->setHelpText(QObject::tr("How large the live TV buffer is allowed to " |
145 | 145 | "grow.")); |
146 | 146 | return gc; |