codecparsers: Fix MPEG-1 aspect ratio table

The values defined in ISO/IEC 11172-2 are different from those used so far.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5272>
This commit is contained in:
Akihiro Sagawa 2023-09-03 13:21:30 +00:00 committed by GStreamer Marge Bot
parent bb5d5e0066
commit 3c7ba382db

View file

@ -150,13 +150,13 @@ set_par_from_asr_mpeg1 (GstMpegVideoSequenceHdr * seqhdr, guint8 asr_code)
{64, 45}, /* 3, 0.7031 16:9 625 line */ {64, 45}, /* 3, 0.7031 16:9 625 line */
{10000, 7615}, /* 4, 0.7615 */ {10000, 7615}, /* 4, 0.7615 */
{10000, 8055}, /* 5, 0.8055 */ {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, 8935}, /* 7, 0.8935 */
{10000, 9375}, /* 8, 0.9375 */ {10000, 9157}, /* 8, 0.9157 CCIR601, 625 line */
{10000, 9815}, /* 9, 0.9815 */ {10000, 9815}, /* 9, 0.9815 */
{10000, 10255}, /* 10, 1.0255 */ {10000, 10255}, /* 10, 1.0255 */
{10000, 10695}, /* 11, 1.0695 */ {10000, 10695}, /* 11, 1.0695 */
{8, 9}, /* 12, 1.125 */ {10000, 10950}, /* 12, 1.0950 CCIR601, 525 line */
{10000, 11575}, /* 13, 1.1575 */ {10000, 11575}, /* 13, 1.1575 */
{10000, 12015}, /* 14, 1.2015 */ {10000, 12015}, /* 14, 1.2015 */
{0, 0}, /* 15, invalid */ {0, 0}, /* 15, invalid */