From 972dd76d32128c6180271e5d10aff89a45f0ae74 Mon Sep 17 00:00:00 2001 From: Dalyn Cessac Date: Wed, 16 Mar 2011 15:18:28 -0500 Subject: Updated Preset UI and fixed get_codecs function --- includes/conversion.inc | 4 ++++ includes/transcoder.inc | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'includes') 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); -- cgit v1.2.3