Bug 1301561 - Change media.decoder.heuristic.dormant.timeout to 10000 (ms) - r=jwwang

MozReview-Commit-ID: BibXsBpjIQe

--HG--
extra : rebase_source : 7e2afca18bf8e988455d2fb3eb71866f140808e5
This commit is contained in:
Gerald Squelart 2016-09-09 11:00:21 +10:00
Родитель 7530f86ecf
Коммит b94f8cfb3e
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -42,7 +42,7 @@ using namespace mozilla::layers;
using namespace mozilla::media;
// Default timeout msecs until try to enter dormant state by heuristic.
static const int DEFAULT_HEURISTIC_DORMANT_TIMEOUT_MSECS = 60000;
static const int DEFAULT_HEURISTIC_DORMANT_TIMEOUT_MSECS = 10000;
namespace mozilla {

Просмотреть файл

@ -321,7 +321,7 @@ pref("media.hardware-video-decoding.enabled", true);
pref("media.hardware-video-decoding.force-enabled", false);
pref("media.decoder.heuristic.dormant.enabled", true);
pref("media.decoder.heuristic.dormant.timeout", 60000);
pref("media.decoder.heuristic.dormant.timeout", 10000);
#ifdef MOZ_DIRECTSHOW
pref("media.directshow.enabled", true);