From 7cc1bdb35df4003e2d96cbf9d2f4f28767440d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 24 Feb 2012 18:14:58 +0100 Subject: [PATCH] recorder: Change default output filename Use "Screencast at 2009-03-11 00:08:15.webm" instead of "shell-20090311b-2.webm". https://bugzilla.gnome.org/show_bug.cgi?id=670753 --- js/ui/main.js | 2 +- src/shell-recorder.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/main.js b/js/ui/main.js index 279a4535e..66a434431 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -110,7 +110,7 @@ function _initRecorder() { } else { // read the parameters from GSettings always in case they have changed recorder.set_framerate(recorderSettings.get_int('framerate')); - recorder.set_filename('shell-%d%u-%c.' + recorderSettings.get_string('file-extension')); + recorder.set_filename('Screencast at %d %t.' + recorderSettings.get_string('file-extension')); let pipeline = recorderSettings.get_string('pipeline'); if (!pipeline.match(/^\s*$/)) diff --git a/src/shell-recorder.c b/src/shell-recorder.c index 3737df8df..9ac72d668 100644 --- a/src/shell-recorder.c +++ b/src/shell-recorder.c @@ -149,9 +149,9 @@ G_DEFINE_TYPE(ShellRecorder, shell_recorder, G_TYPE_OBJECT); */ #define DEFAULT_PIPELINE "vp8enc quality=8 speed=6 threads=%T ! queue ! webmmux" -/* The default filename pattern. Example shell-20090311b-2.webm +/* The default filename pattern. Example Screencast at 2009-03-11 00:08:15.webm */ -#define DEFAULT_FILENAME "shell-%d%u-%c.webm" +#define DEFAULT_FILENAME "Screencast at %d %t.webm" /* If we can find the amount of memory on the machine, we use half * of that for memory_target, otherwise, we use this value, in kB.