OSDN Git Service

fix sar for dvcpro hd, patch by Charles Yates, charles dot yates at gmail dot com
authorCharles Yates <charles.yates@pandora.be>
Sun, 18 Oct 2009 21:08:23 +0000 (21:08 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 18 Oct 2009 21:08:23 +0000 (21:08 +0000)
Originally committed as revision 20291 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dvdata.c

index 5110872..1045afd 100644 (file)
@@ -152,7 +152,7 @@ static const DVprofile dv_profiles[] = {
       .ltc_divisor = 30,
       .height = 1080,
       .width = 1280,
-      .sar = {{1, 1}, {1, 1}},
+      .sar = {{1, 1}, {3, 2}},
       .work_chunks = &work_chunks_dv100ntsci[0],
       .idct_factor = &dv_idct_factor_hd1080[0],
       .pix_fmt = PIX_FMT_YUV422P,
@@ -172,7 +172,7 @@ static const DVprofile dv_profiles[] = {
       .ltc_divisor = 25,
       .height = 1080,
       .width = 1440,
-      .sar = {{1, 1}, {1, 1}},
+      .sar = {{1, 1}, {4, 3}},
       .work_chunks = &work_chunks_dv100pali[0],
       .idct_factor = &dv_idct_factor_hd1080[0],
       .pix_fmt = PIX_FMT_YUV422P,
@@ -192,7 +192,7 @@ static const DVprofile dv_profiles[] = {
       .ltc_divisor = 60,
       .height = 720,
       .width = 960,
-      .sar = {{1, 1}, {1, 1}},
+      .sar = {{1, 1}, {4, 3}},
       .work_chunks = &work_chunks_dv100ntscp[0],
       .idct_factor = &dv_idct_factor_hd720[0],
       .pix_fmt = PIX_FMT_YUV422P,
@@ -212,7 +212,7 @@ static const DVprofile dv_profiles[] = {
       .ltc_divisor = 50,
       .height = 720,
       .width = 960,
-      .sar = {{1, 1}, {1, 1}},
+      .sar = {{1, 1}, {4, 3}},
       .work_chunks = &work_chunks_dv100palp[0],
       .idct_factor = &dv_idct_factor_hd720[0],
       .pix_fmt = PIX_FMT_YUV422P,