Improve decoder crash reporting detail

This commit is contained in:
Cameron Gutman
2017-11-25 12:56:54 -08:00
parent ec65901003
commit 5f4aab8f94
3 changed files with 34 additions and 16 deletions

View File

@@ -595,7 +595,10 @@ public class Game extends Activity implements SurfaceHolder.Callback,
// Add the video codec to the post-stream toast
if (message != null) {
if (videoFormat == MoonBridge.VIDEO_FORMAT_H265) {
if (videoFormat == MoonBridge.VIDEO_FORMAT_H265_MAIN10) {
message += " [H.265 HDR]";
}
else if (videoFormat == MoonBridge.VIDEO_FORMAT_H265) {
message += " [H.265]";
}
else if (videoFormat == MoonBridge.VIDEO_FORMAT_H264) {