[libbluray-devel] bdjo/GraphicsResolution: add UHD_1920_1080 (profile 6)

hpi1 git at videolan.org
Wed Aug 30 08:51:27 CEST 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 28 18:01:21 2017 +0300| [7d1249da853b89c88bc8f4114cfc4a3b09a3b9e6] | committer: hpi1

bdjo/GraphicsResolution: add UHD_1920_1080 (profile 6)

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=7d1249da853b89c88bc8f4114cfc4a3b09a3b9e6
---

 src/libbluray/bdj/java/org/videolan/bdjo/GraphicsResolution.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libbluray/bdj/java/org/videolan/bdjo/GraphicsResolution.java b/src/libbluray/bdj/java/org/videolan/bdjo/GraphicsResolution.java
index 2fa3ab4e..006d120a 100644
--- a/src/libbluray/bdj/java/org/videolan/bdjo/GraphicsResolution.java
+++ b/src/libbluray/bdj/java/org/videolan/bdjo/GraphicsResolution.java
@@ -26,6 +26,7 @@ public class GraphicsResolution {
     public static final GraphicsResolution SD_50HZ_720_576 = new GraphicsResolution(4, 720, 576);
     public static final GraphicsResolution SD_60HZ_720_480 = new GraphicsResolution(5, 720, 480);
     public static final GraphicsResolution QHD_960_540 = new GraphicsResolution(6, 960, 540);
+    public static final GraphicsResolution UHD_1920_1080 = new GraphicsResolution(7, 1920, 1080);
 
     GraphicsResolution(int id, int width, int height) {
         this.id = id;
@@ -59,6 +60,8 @@ public class GraphicsResolution {
             return SD_60HZ_720_480;
         case 6:
             return QHD_960_540;
+        case 7:
+            return UHD_1920_1080;
         }
         return null;
     }



More information about the libbluray-devel mailing list