aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDalyn Cessac <dalyn.cessac@1214036.no-reply.drupal.org>2011-03-16 15:18:28 -0500
committerDalyn Cessac <dalyn.cessac@1214036.no-reply.drupal.org>2011-03-16 15:18:28 -0500
commit972dd76d32128c6180271e5d10aff89a45f0ae74 (patch)
tree18eb8be7f0b62d2bd33d9a28033ec24822bddcc0 /includes
parent8d5c044ae91efb64ef7d85f6371b043d981a3829 (diff)
downloadvideo-972dd76d32128c6180271e5d10aff89a45f0ae74.tar.gz
video-972dd76d32128c6180271e5d10aff89a45f0ae74.tar.bz2
Updated Preset UI and fixed get_codecs function
Diffstat (limited to 'includes')
-rw-r--r--includes/conversion.inc4
-rw-r--r--includes/transcoder.inc6
2 files changed, 10 insertions, 0 deletions
diff --git a/includes/conversion.inc b/includes/conversion.inc
index 493532e..59414cc 100644
--- a/includes/conversion.inc
+++ b/includes/conversion.inc
@@ -105,6 +105,10 @@ class video_conversion {
public function load_job($fid) {
return $this->transcoder->load_job($fid);
}
+
+ public function get_codecs() {
+ return $this->transcoder->get_codecs();
+ }
}
diff --git a/includes/transcoder.inc b/includes/transcoder.inc
index b17786b..e9dfbda 100644
--- a/includes/transcoder.inc
+++ b/includes/transcoder.inc
@@ -201,6 +201,10 @@ class video_transcoder {
return $this->transcoder->load_completed_job($video);
}
+ public function get_codecs() {
+ return $this->transcoder->get_codecs();
+ }
+
}
interface transcoder_interface {
@@ -212,6 +216,8 @@ interface transcoder_interface {
public function load_job($fid);
public function load_job_queue();
+
+ public function get_codecs();
public function load_completed_job(&$video);