# HG changeset patch # User bcoudurier # Date 1285623041 0 # Node ID fae5731a5543ad8b643b805bd518d56c85b05bc7 # Parent 55339937018ee6b0b929e88384870432bf851dea In dv decoder, use the expected aspect ratio logic, like other decoders do, following width/height = par/dar. diff -r 55339937018e -r fae5731a5543 dvdata.c --- a/dvdata.c Mon Sep 27 15:16:16 2010 +0000 +++ b/dvdata.c Mon Sep 27 21:30:41 2010 +0000 @@ -52,7 +52,7 @@ .ltc_divisor = 30, .height = 480, .width = 720, - .sar = {{10, 11}, {40, 33}}, + .sar = {{8, 9}, {32, 27}}, .work_chunks = &work_chunks_dv25ntsc[0], .idct_factor = &dv_idct_factor_sd[0], .pix_fmt = PIX_FMT_YUV411P, @@ -72,7 +72,7 @@ .ltc_divisor = 25, .height = 576, .width = 720, - .sar = {{59, 54}, {118, 81}}, + .sar = {{16, 15}, {64, 45}}, .work_chunks = &work_chunks_dv25pal[0], .idct_factor = &dv_idct_factor_sd[0], .pix_fmt = PIX_FMT_YUV420P, @@ -92,7 +92,7 @@ .ltc_divisor = 25, .height = 576, .width = 720, - .sar = {{59, 54}, {118, 81}}, + .sar = {{16, 15}, {64, 45}}, .work_chunks = &work_chunks_dv25pal411[0], .idct_factor = &dv_idct_factor_sd[0], .pix_fmt = PIX_FMT_YUV411P, @@ -112,7 +112,7 @@ .ltc_divisor = 30, .height = 480, .width = 720, - .sar = {{10, 11}, {40, 33}}, + .sar = {{8, 9}, {32, 27}}, .work_chunks = &work_chunks_dv50ntsc[0], .idct_factor = &dv_idct_factor_sd[0], .pix_fmt = PIX_FMT_YUV422P, @@ -132,7 +132,7 @@ .ltc_divisor = 25, .height = 576, .width = 720, - .sar = {{59, 54}, {118, 81}}, + .sar = {{16, 15}, {64, 45}}, .work_chunks = &work_chunks_dv50pal[0], .idct_factor = &dv_idct_factor_sd[0], .pix_fmt = PIX_FMT_YUV422P, @@ -232,7 +232,7 @@ .ltc_divisor = 25, .height = 576, .width = 720, - .sar = {{59, 54}, {118, 81}}, + .sar = {{16, 15}, {64, 45}}, .work_chunks = &work_chunks_dv25pal[0], .idct_factor = &dv_idct_factor_sd[0], .pix_fmt = PIX_FMT_YUV420P,