Bug 842782 - p1: add a pref for fullscreen video orientation lock. r?jwwang
MozReview-Commit-ID: 6x7um7F8omr
--- a/dom/media/MediaPrefs.h
+++ b/dom/media/MediaPrefs.h
@@ -206,16 +206,17 @@ private:
MediaWarningsAsErrorsStageFrightVsRust, bool, false);
// resume background video decoding when the cursor is hovering over the tab.
DECL_MEDIA_PREF("media.resume-bkgnd-video-on-tabhover", ResumeVideoDecodingOnTabHover, bool, false);
#ifdef MOZ_CUBEB_REMOTING
DECL_MEDIA_PREF("media.cubeb.sandbox", CubebSandbox, bool, false);
#endif // MOZ_CUBEB_REMOTING
+ DECL_MEDIA_PREF("media.videocontrols.lock-video-orientation", VideoOrientationLockEnabled, bool, false);
public:
// Manage the singleton:
static MediaPrefs& GetSingleton();
static bool SingletonExists();
private:
template<class T> friend class StaticAutoPtr;