changeset 1590:2d5dd2f9f760 libavcodec

* DV demuxer is now capable of decoding auxilary audio stream. So, everybody who still uses second streo track for dubbing can now export it. * void* -> DVDemuxContext* change (per Fabrice's suggestion). * -dv1394 capture now works in all modes.
author romansh
date Fri, 31 Oct 2003 22:26:26 +0000
parents eb26d190cf5a
children 776dec60c40c
files dvdata.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dvdata.h	Thu Oct 30 22:51:02 2003 +0000
+++ b/dvdata.h	Fri Oct 31 22:26:26 2003 +0000
@@ -37,6 +37,7 @@
     int              ltc_divisor;         /* FPS from the LTS standpoint */
     int              height;              /* picture height in pixels */
     int              width;               /* picture width in pixels */
+    AVRational       sar[2];              /* sample aspect ratios for 4:3 and 16:9 */
     const uint16_t  *video_place;         /* positions of all DV macro blocks */
     enum PixelFormat pix_fmt;             /* picture pixel format */
     
@@ -1293,6 +1294,7 @@
       .frame_rate_base = 1001,
       .height = 480,
       .width = 720,
+      .sar = {{72, 79}, {96, 79}},
       .video_place = dv_place_411,
       .pix_fmt = PIX_FMT_YUV411P,
       .audio_stride = 90,
@@ -1308,6 +1310,7 @@
       .ltc_divisor = 25,
       .height = 576,
       .width = 720,
+      .sar = {{128, 117}, {512, 351}},
       .video_place = dv_place_420,
       .pix_fmt = PIX_FMT_YUV420P,
       .audio_stride = 108,
@@ -1323,6 +1326,7 @@
       .ltc_divisor = 25,
       .height = 576,
       .width = 720,
+      .sar = {{128, 117}, {512, 351}},
       .video_place = dv_place_411P,
       .pix_fmt = PIX_FMT_YUV411P,
       .audio_stride = 108,