mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1152208 - add clear-key path to gmp service on B2G. r=spohl,fabrice
This commit is contained in:
parent
a7ace5e2d4
commit
357d2ba615
@ -1089,6 +1089,16 @@ window.addEventListener('ContentStart', function update_onContentStart() {
|
||||
})();
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
try {
|
||||
let gmpService = Cc["@mozilla.org/gecko-media-plugin-service;1"]
|
||||
.getService(Ci.mozIGeckoMediaPluginChromeService);
|
||||
gmpService.addPluginDirectory("/system/b2g/gmp-clearkey/0.1");
|
||||
} catch(e) {
|
||||
dump("Failed to add clearkey path! " + e + "\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
// Calling this observer will cause a shutdown an a profile reset.
|
||||
// Use eg. : Services.obs.notifyObservers(null, 'b2g-reset-profile', null);
|
||||
Services.obs.addObserver(function resetProfile(subject, topic, data) {
|
||||
|
@ -159,6 +159,7 @@
|
||||
@BINPATH@/components/commandlines.xpt
|
||||
@BINPATH@/components/composer.xpt
|
||||
@BINPATH@/components/content_events.xpt
|
||||
@BINPATH@/components/content_geckomediaplugins.xpt
|
||||
@BINPATH@/components/content_html.xpt
|
||||
@BINPATH@/components/content_xslt.xpt
|
||||
@BINPATH@/components/cookie.xpt
|
||||
|
Loading…
Reference in New Issue
Block a user