def mux(self, deployDir, types, toPrint):
     if debugVideoManager:
         print(toPrint)
         toPrint = ""
     for t in types:
         printed, size = mux(self.encodedFileName, deployDir + os.sep + os.path.basename(self.encodedFileName), t, self.has_audio, toPrint)
         if printed: toPrint = ""
         self.types.append((t,size))
Exemple #2
0
 def mux(self, deployDir, types, toPrint):
     if debugVideoManager:
         print(toPrint)
         toPrint = ""
     for t in types:
         printed, size = mux(
             self.encodedFileName,
             deployDir + os.sep + os.path.basename(self.encodedFileName), t,
             self.has_audio, toPrint)
         if printed: toPrint = ""
         self.types.append((t, size))
 def mux(self, deployDir, types):
     for t in types:
         size = mux(self.encodedFileName, deployDir + os.sep + os.path.basename(self.encodedFileName), t)
         self.types.append((t,size))