Fix some localization issues (for Arabic at least)

This commit is contained in:
Cameron Gutman
2014-10-05 15:47:36 -07:00
parent 31677adaa0
commit a5171a1701
7 changed files with 14 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ package com.limelight.binding.video;
import java.nio.ByteBuffer;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.locks.LockSupport;
import org.jcodec.codecs.h264.io.model.SeqParameterSet;
@@ -575,7 +576,7 @@ public class MediaCodecDecoderRenderer implements VideoDecoderRenderer {
str += "Current buffer: ";
currentBuffer.flip();
while (currentBuffer.hasRemaining() && currentBuffer.position() < 10) {
str += String.format("%02x ", currentBuffer.get());
str += String.format((Locale)null, "%02x ", currentBuffer.get());
}
str += "\n";
str += "Buffer codec flags: "+currentCodecFlags+"\n";