aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
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);