]> git.parisson.com Git - timeside.git/commitdiff
Encoder: fix calling arguments for m4a
authorThomas Fillon <thomas@parisson.com>
Wed, 27 Nov 2013 15:44:25 +0000 (16:44 +0100)
committerThomas Fillon <thomas@parisson.com>
Wed, 27 Nov 2013 15:44:25 +0000 (16:44 +0100)
timeside/encoder/m4a.py

index 20ddb0a0f9a167c5e30f09a4d1484a751ca10a17..72cfb9f5150843b6ae1185125558e1212ef2a565 100644 (file)
@@ -19,7 +19,7 @@
 # along with TimeSide.  If not, see <http://www.gnu.org/licenses/>.
 
 
-from timeside.core import Processor, implements, interfacedoc
+from timeside.core import implements, interfacedoc
 from timeside.encoder.core import GstEncoder
 from timeside.api import IEncoder
 from timeside.tools import *
@@ -29,8 +29,8 @@ class AacEncoder(GstEncoder):
     """ gstreamer-based AAC encoder """
     implements(IEncoder)
 
-    def __init__(self, *args, **kwargs):
-        super(AacEncoder, self).__init__( *args, **kwargs)
+    def __init__(self, output, streaming = False, overwrite = False):
+        super(AacEncoder, self).__init__(output, streaming, overwrite)
         if self.streaming:
             raise Exception("Streaming not supported")