aboutsummaryrefslogtreecommitdiff
path: root/includes/transcoder.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/transcoder.inc')
-rw-r--r--includes/transcoder.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/transcoder.inc b/includes/transcoder.inc
index 019168b..b17786b 100644
--- a/includes/transcoder.inc
+++ b/includes/transcoder.inc
@@ -64,6 +64,8 @@ class video_transcoder {
// if media module exists add type as an image
if (module_exists('media'))
$file->type = 'image';
+ if (variable_get('video_thumb_save_all', FALSE))
+ $file->status = FILE_STATUS_PERMANENT;
$existing_file = file_load_multiple(array(), array('uri' => $file->uri));
if ($existing_file) // check thumbnail file exists
$file = (array) $existing_file;