Significantly improved the performance of video rendering by using the magic of multithreading

This commit is contained in:
Marius Metzger
2015-04-05 02:10:44 +02:00
parent 9df94fd789
commit e7c2a462f3
5 changed files with 22 additions and 12 deletions

View File

@@ -62,7 +62,7 @@ public class VideoWriter {
VideoFormatKeys.WidthKey, width,
VideoFormatKeys.HeightKey, height,
VideoFormatKeys.DepthKey, 24,
VideoFormatKeys.QualityKey, ReplayMod.replaySettings.getVideoQuality());
VideoFormatKeys.QualityKey, (float)ReplayMod.replaySettings.getVideoQuality());
track = out.addTrack(format);