[gnome] Bump extension versions ... I should probably get these out of here

This commit is contained in:
2025-06-19 09:27:02 -04:00
parent b69326ba18
commit 80d725a18a
26 changed files with 312 additions and 473 deletions

View File

@ -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
}
/**

View File

@ -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();

View File

@ -11,5 +11,5 @@
],
"url": "https://github.com/EasyScreenCast/EasyScreenCast",
"uuid": "EasyScreenCast@iacopodeenosee.gmail.com",
"version": 52
"version": 53
}

View File

@ -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();