From 36f6e1f9153c78154858105531cbf710305375f3 Mon Sep 17 00:00:00 2001 From: Heshan Date: Wed, 16 Mar 2011 19:00:16 +0530 Subject: Adding multiple trasncoder compatibility and save all thumbnails for later use --- includes/transcoder.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes') 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; -- cgit v1.2.3