From 3c7ba382db4938b2151db71fc541f0ce5526a706 Mon Sep 17 00:00:00 2001 From: Akihiro Sagawa Date: Sun, 3 Sep 2023 13:21:30 +0000 Subject: [PATCH] codecparsers: Fix MPEG-1 aspect ratio table The values defined in ISO/IEC 11172-2 are different from those used so far. Part-of: --- .../gst-libs/gst/codecparsers/gstmpegvideoparser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstmpegvideoparser.c index 959a416a8d..b7d8ff1ac7 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstmpegvideoparser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstmpegvideoparser.c @@ -150,13 +150,13 @@ set_par_from_asr_mpeg1 (GstMpegVideoSequenceHdr * seqhdr, guint8 asr_code) {64, 45}, /* 3, 0.7031 16:9 625 line */ {10000, 7615}, /* 4, 0.7615 */ {10000, 8055}, /* 5, 0.8055 */ - {32, 27}, /* 6, 0.8437 */ + {32, 27}, /* 6, 0.8437 16:9 525 line */ {10000, 8935}, /* 7, 0.8935 */ - {10000, 9375}, /* 8, 0.9375 */ + {10000, 9157}, /* 8, 0.9157 CCIR601, 625 line */ {10000, 9815}, /* 9, 0.9815 */ {10000, 10255}, /* 10, 1.0255 */ {10000, 10695}, /* 11, 1.0695 */ - {8, 9}, /* 12, 1.125 */ + {10000, 10950}, /* 12, 1.0950 CCIR601, 525 line */ {10000, 11575}, /* 13, 1.1575 */ {10000, 12015}, /* 14, 1.2015 */ {0, 0}, /* 15, invalid */