aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-07-03 10:23:09 +0530
committerHeshan <heshan@heidisoft.com>2011-07-03 10:23:09 +0530
commit5c0cf3075cdd3643ea0fb28bf41204d053836f22 (patch)
tree7527a702f6facc378cb3e144e7e093e87f0e6486
parentaa5c9b48cfa5674f534acab2cdaab685e9e116ee (diff)
downloadvideo-5c0cf3075cdd3643ea0fb28bf41204d053836f22.tar.gz
video-5c0cf3075cdd3643ea0fb28bf41204d053836f22.tar.bz2
#866590 by studiotaffi Always saves 'Enable nice' as true.
-rw-r--r--transcoders/video_phpvideotoolkit.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/transcoders/video_phpvideotoolkit.inc b/transcoders/video_phpvideotoolkit.inc
index 641e61d..b4bc96e 100644
--- a/transcoders/video_phpvideotoolkit.inc
+++ b/transcoders/video_phpvideotoolkit.inc
@@ -27,7 +27,7 @@ class video_phpvideotoolkit implements transcoder_interface {
//@todo: move this to the actual widget and save in video_files table.
$this->params['size'] = variable_get('video_ffmpeg_width', $this->video_width) . 'x' . variable_get('video_ffmpeg_height', $this->video_height);
$this->params['ffmpeg'] = variable_get('video_ffmpeg_path', $this->ffmpeg);
- $this->nice = variable_get('video_ffmpeg_nice_enable', FALSE) ? 'nice -n 19 ' : '';
+ $this->nice = variable_get('video_phpvideotoolkit_nice_enable', FALSE) ? 'nice -n 19 ' : '';
$this->params['videoext'] = variable_get('video_ffmpeg_ext', $this->video_ext);
$this->params['enable_faststart'] = variable_get('video_ffmpeg_enable_faststart', 0);
$this->params['faststart_cmd'] = variable_get('video_ffmpeg_faststart_cmd', '/usr/bin/qt-faststart');
@@ -420,10 +420,10 @@ class video_phpvideotoolkit implements transcoder_interface {
'#type' => 'markup',
'#markup' => '<div id="video_phpvideotoolkit">',
);
- $form['phpvideotoolkit']['video_ffmpeg_nice_enable'] = array(
+ $form['phpvideotoolkit']['video_phpvideotoolkit_nice_enable'] = array(
'#type' => 'checkbox',
'#title' => t('Enable the use of <b>nice</b> when calling the command.'),
- '#default_value' => variable_get('video_ffmpeg_nice_enable', TRUE),
+ '#default_value' => variable_get('video_phpvideotoolkit_nice_enable', TRUE),
'#description' => t('The nice command Invokes a command with an altered scheduling priority. This option may not be available on windows machines, so disable it.')
);
// FFMPEG