Set min GStreamer ver warning to 1.18.x

This commit is contained in:
Rafostar
2020-11-09 11:40:48 +01:00
parent c2bd6bc894
commit dd3ba11c0e

View File

@@ -1,5 +1,5 @@
const { GLib, Gst } = imports.gi; const { GLib, Gst } = imports.gi;
const REQ_GST_VERSION_MINOR = 16; const REQ_GST_VERSION_MINOR = 18;
function debug(msg, levelName) function debug(msg, levelName)
{ {
@@ -22,7 +22,7 @@ function gstVersionCheck()
return; return;
debug( debug(
'clapper interface was designed to' + 'Clapper was designed to' +
` work with GStreamer 1.${REQ_GST_VERSION_MINOR} or later.` + ` work with GStreamer 1.${REQ_GST_VERSION_MINOR} or later.` +
` Your version is ${Gst.VERSION_MAJOR}.${Gst.VERSION_MINOR}.` + ` Your version is ${Gst.VERSION_MAJOR}.${Gst.VERSION_MINOR}.` +
' Please update GStreamer or expect some things to be broken.', ' Please update GStreamer or expect some things to be broken.',