aboutsummaryrefslogtreecommitdiff
path: root/transcoders
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-03-14 20:58:44 +0530
committerHeshan <heshan@heidisoft.com>2011-03-14 20:58:44 +0530
commit14c097ff41e0410784aa1fdae7b4312ec70ff5e0 (patch)
tree6a7f7ab3c6abe600ad320dbbfc7cf3c49ec95570 /transcoders
parent0d300315ee1144b50bdf666f364cd02dceb2e5cf (diff)
downloadvideo-14c097ff41e0410784aa1fdae7b4312ec70ff5e0.tar.gz
video-14c097ff41e0410784aa1fdae7b4312ec70ff5e0.tar.bz2
Move common codes from the insert and update, and formate the helper thumbnails
Diffstat (limited to 'transcoders')
-rw-r--r--transcoders/video_ffmpeg.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/transcoders/video_ffmpeg.inc b/transcoders/video_ffmpeg.inc
index 791b5ca..14f40c5 100644
--- a/transcoders/video_ffmpeg.inc
+++ b/transcoders/video_ffmpeg.inc
@@ -296,6 +296,12 @@ class video_ffmpeg implements transcoder_interface {
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
+ $form['autothumb']['video_thumb_save_all'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Save all thumbnails in file_manged table'),
+ '#description' => t('Save all auto created thumbnails to the file_managed table.'),
+ '#default_value' => variable_get('video_thumb_save_all', TRUE),
+ );
$form['autothumb']['video_thumb_path'] = array(
'#type' => 'textfield',
'#title' => t('Path to save thumbnails'),