aboutsummaryrefslogtreecommitdiff
path: root/modules/video_zencoder
diff options
context:
space:
mode:
Diffstat (limited to 'modules/video_zencoder')
-rw-r--r--modules/video_zencoder/includes/zencoder.inc2
-rw-r--r--modules/video_zencoder/transcoders/video_zencoder.inc2
-rw-r--r--modules/video_zencoder/video_zencoder.module2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/video_zencoder/includes/zencoder.inc b/modules/video_zencoder/includes/zencoder.inc
index c3023b0..fd273ba 100644
--- a/modules/video_zencoder/includes/zencoder.inc
+++ b/modules/video_zencoder/includes/zencoder.inc
@@ -53,7 +53,7 @@ class video_zencoder_api {
// watchdog('zencoder', $input_name);
// thumbnails
// Setup our thmbnail path.
- $video_thumb_path = variable_get('video_thumb_path', 'video_thumbs');
+ $video_thumb_path = variable_get('video_thumb_path', 'videos/thumbnails');
$final_thumb_path = file_default_scheme() . ':/' . $video_thumb_path . '/' . $file->fid;
// Notifications
diff --git a/modules/video_zencoder/transcoders/video_zencoder.inc b/modules/video_zencoder/transcoders/video_zencoder.inc
index 1eb246a..baaffc2 100644
--- a/modules/video_zencoder/transcoders/video_zencoder.inc
+++ b/modules/video_zencoder/transcoders/video_zencoder.inc
@@ -19,7 +19,7 @@ class video_zencoder implements transcoder_interface {
public function generate_thumbnails($video) {
global $user;
// Setup our thmbnail path.
- $video_thumb_path = variable_get('video_thumb_path', 'video_thumbs');
+ $video_thumb_path = variable_get('video_thumb_path', 'videos/thumbnails');
$final_thumb_path = file_default_scheme() . ':/' . $video_thumb_path . '/' . $video['fid'];
// Ensure the destination directory exists and is writable.
diff --git a/modules/video_zencoder/video_zencoder.module b/modules/video_zencoder/video_zencoder.module
index 7f2218e..0919866 100644
--- a/modules/video_zencoder/video_zencoder.module
+++ b/modules/video_zencoder/video_zencoder.module
@@ -88,7 +88,7 @@ function _video_zencoder_postback_jobs() {
// update the thumbanils
// this will update the default thumbnails, if user want to select another one then they wil need to edit the node
// Setup our thmbnail path.
- $video_thumb_path = variable_get('video_thumb_path', 'video_thumbs');
+ $video_thumb_path = variable_get('video_thumb_path', 'videos/thumbnails');
$final_thumb_path = file_default_scheme() . ':/' . $video_thumb_path . '/' . $fid;
// $i = rand(0, (variable_get('no_of_video_thumbs', 5) - 1));
$filename = $fid . '_' . sprintf("%04d", 1) . '.png';