зеркало из https://github.com/mozilla/gecko-dev.git
Bug 654787 - part1: Add pref for audio seamless looping; r=jwwang
MozReview-Commit-ID: 1md5AxHG8NA --HG-- extra : rebase_source : c13002de65c523a508f01564cc2730aff4a36086
This commit is contained in:
Родитель
a3c09a51bc
Коммит
447c6c888f
|
@ -203,6 +203,8 @@ private:
|
|||
DECL_MEDIA_PREF("media.cubeb.sandbox", CubebSandbox, bool, false);
|
||||
DECL_MEDIA_PREF("media.videocontrols.lock-video-orientation", VideoOrientationLockEnabled, bool, false);
|
||||
|
||||
// Media Seamless Looping
|
||||
DECL_MEDIA_PREF("media.seamless-looping", SeamlessLooping, bool, true);
|
||||
public:
|
||||
// Manage the singleton:
|
||||
static MediaPrefs& GetSingleton();
|
||||
|
|
|
@ -436,6 +436,9 @@ pref("media.suspend-bkgnd-video.delay-ms", 10000);
|
|||
// reduce the resume latency and improve the user experience.
|
||||
pref("media.resume-bkgnd-video-on-tabhover", true);;
|
||||
|
||||
// Whether to enable media seamless looping.
|
||||
pref("media.seamless-looping", true);
|
||||
|
||||
#ifdef MOZ_WEBRTC
|
||||
pref("media.navigator.enabled", true);
|
||||
pref("media.navigator.video.enabled", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче