[gnome] Bump extension versions ... I should probably get these out of here
This commit is contained in:
@ -54,7 +54,7 @@ export function TalkativeLog(msg) {
|
||||
* @returns {string} the version
|
||||
*/
|
||||
export function getFullVersion() {
|
||||
return '1.11.0'; // FULL_VERSION
|
||||
return '1.11.1'; // FULL_VERSION
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -65,7 +65,8 @@ const EasyScreenCastIndicator = GObject.registerClass({
|
||||
);
|
||||
|
||||
this.CtrlAudio = new UtilAudio.MixerAudio();
|
||||
this.CtrlWebcam = new UtilWebcam.HelperWebcam(_('Unspecified webcam'));
|
||||
// CtrlWebcam is initialized lazy to avoid problems like #368
|
||||
this.CtrlWebcam = null;
|
||||
|
||||
this.CtrlNotify = new UtilNotify.NotifyManager();
|
||||
this.CtrlExe = new UtilExeCmd.ExecuteStuff(this);
|
||||
@ -587,7 +588,8 @@ const EasyScreenCastIndicator = GObject.registerClass({
|
||||
);
|
||||
|
||||
// start monitoring inputvideo
|
||||
this.CtrlWebcam.startMonitor();
|
||||
if (this.CtrlWebcam !== null)
|
||||
this.CtrlWebcam.startMonitor();
|
||||
|
||||
// add indicator
|
||||
this.add_child(this.indicatorBox);
|
||||
@ -600,7 +602,8 @@ const EasyScreenCastIndicator = GObject.registerClass({
|
||||
// remove key binding
|
||||
this._removeKeybindings();
|
||||
// stop monitoring inputvideo
|
||||
this.CtrlWebcam.stopMonitor();
|
||||
if (this.CtrlWebcam !== null)
|
||||
this.CtrlWebcam.stopMonitor();
|
||||
// unregister mixer control
|
||||
this.CtrlAudio.destroy();
|
||||
|
||||
|
||||
@ -11,5 +11,5 @@
|
||||
],
|
||||
"url": "https://github.com/EasyScreenCast/EasyScreenCast",
|
||||
"uuid": "EasyScreenCast@iacopodeenosee.gmail.com",
|
||||
"version": 52
|
||||
"version": 53
|
||||
}
|
||||
@ -30,7 +30,12 @@ export const HelperWebcam = GObject.registerClass({
|
||||
this._unspecified_webcam_text = unspecifiedWebcamText;
|
||||
Lib.TalkativeLog('-@-init webcam');
|
||||
|
||||
Gst.init(null);
|
||||
var [result, _] = Gst.init_check(null);
|
||||
Lib.TalkativeLog(`-@-gstreamer init result: ${result}`);
|
||||
if (!result) {
|
||||
Lib.TalkativeLog('-@-gstreamer init failed');
|
||||
throw new Error('GStreamer init failed');
|
||||
}
|
||||
|
||||
// get gstreamer lib version
|
||||
var [M, m, micro, nano] = Gst.version();
|
||||
|
||||
Reference in New Issue
Block a user