OSDN Git Service

Added option to delete jobs from the list + also added option to browse the output...
[x264-launcher/x264-launcher.git] / src / global.cpp
index f101cc7..6d2c7dd 100644 (file)
@@ -264,7 +264,7 @@ void x264_message_handler(QtMsgType type, const char *msg)
  */
 void x264_init_console(int argc, char* argv[])
 {
-       bool enableConsole = true; //x264_version_demo();
+       bool enableConsole = x264_is_prerelease();
 
        if(_environ)
        {
@@ -407,6 +407,11 @@ const char *x264_version_time(void)
        return g_x264_version.ver_time;
 }
 
+bool x264_is_prerelease(void)
+{
+       return (VER_x264_PRE_RELEASE);
+}
+
 /*
  * Detect CPU features
  */