diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-02-25 05:27:29 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-02-25 05:27:29 +0000 |
commit | 515c081f794c0e020241956f291381361e28489a (patch) | |
tree | 3c1f4a153d046db9f3a4a39df4954bbc33a227f1 /core/helpers/graphics.php | |
parent | 585ea819579405bbfe772d2e7fa647f54d5a17e2 (diff) |
Add support MP4 movies also. Flowplayer supports them and can stream
them using the h264streaming plugin. Everything else is a fairly
minor change.
Diffstat (limited to 'core/helpers/graphics.php')
-rw-r--r-- | core/helpers/graphics.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php index 92e1c3f7..d30701a0 100644 --- a/core/helpers/graphics.php +++ b/core/helpers/graphics.php @@ -107,6 +107,7 @@ class graphics_Core { foreach ($ops as $target => $output_file) { if ($input_item->is_movie()) { // Convert the movie to a JPG first + $output_file = preg_replace("/...$/", "jpg", $output_file); movie::extract_frame($input_file, $output_file); $working_file = $output_file; } else { |