From f52e96f82313de98a8766572fdbd2745fcda1ec5 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 15 Jan 2017 17:15:12 +0100 Subject: [PATCH] Correct modelines for a bunch of 1080i and 1080p modes. --- bmusb.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bmusb.cpp b/bmusb.cpp index 9c0ff26..c34a646 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -174,14 +174,14 @@ bool decode_video_format(uint16_t video_format, VideoFormat *decoded_video_forma { 0x0103, 1280, 720, 0, 25, 5, 60, 1, false }, // 720p60. { 0x0125, 1280, 720, 0, 25, 5, 60, 1, false }, // 720p60. { 0x0121, 1280, 720, 0, 25, 5, 60000, 1001, false }, // 720p59.94. - { 0x01c3, 1920, 1080, 0, 0, 0, 30, 1, false }, // 1080p30. + { 0x01c3, 1920, 1080, 0, 20, 25, 30, 1, false }, // 1080p30. { 0x0003, 1920, 1080, 583, 20, 25, 30, 1, true }, // 1080i60. - { 0x01e1, 1920, 1080, 0, 0, 0, 30000, 1001, false }, // 1080p29.97. + { 0x01e1, 1920, 1080, 0, 20, 25, 30000, 1001, false }, // 1080p29.97. { 0x0021, 1920, 1080, 583, 20, 25, 30000, 1001, true }, // 1080i59.94. - { 0x0063, 1920, 1080, 0, 0, 0, 25, 1, false }, // 1080p25. - { 0x0043, 1920, 1080, 0, 0, 0, 25, 1, true }, // 1080p50. - { 0x008e, 1920, 1080, 0, 0, 0, 24, 1, false }, // 1080p24. - { 0x00a1, 1920, 1080, 0, 0, 0, 24000, 1001, false }, // 1080p23.98. + { 0x0063, 1920, 1080, 0, 20, 25, 25, 1, false }, // 1080p25. + { 0x0043, 1920, 1080, 583, 20, 25, 25, 1, true }, // 1080i50. + { 0x0083, 1920, 1080, 0, 20, 25, 24, 1, false }, // 1080p24. + { 0x00a1, 1920, 1080, 0, 20, 25, 24000, 1001, false }, // 1080p23.98. }; for (const VideoFormatEntry &entry : entries) { if (normalized_video_format == entry.normalized_video_format) { -- 2.39.2