Force audio channels to 2 in all converters
authorThierry Florac <thierry.florac@onf.fr>
Mon, 11 Sep 2017 13:43:00 +0200
changeset 44 09b5df1481d9
parent 43 209555470133
child 45 bf32240cb696
Force audio channels to 2 in all converters
src/pyams_media/converter.py
--- a/src/pyams_media/converter.py	Wed Jun 07 09:29:14 2017 +0200
+++ b/src/pyams_media/converter.py	Mon Sep 11 13:43:00 2017 +0200
@@ -70,7 +70,7 @@
                 yield loop, document.get_output(self.format)
 
     def add_common_filters(self, document):
-        pass
+        document.audiochannels(2)
 
     def add_filters(self, document):
         pass