dv: Use correct pixel-aspect-ratio values

The previous ones resulted in odd display aspect ratios and were different
from the ones used by e.g. ffmpeg. The new ones now result in display aspect
ratios of 4:3 and 16:9.

https://bugzilla.gnome.org/show_bug.cgi?id=765946
This commit is contained in:
Sebastian Dröge 2016-05-04 09:30:27 +03:00
parent c0dd2029e9
commit 83d5797a58
2 changed files with 16 additions and 16 deletions

View file

@ -58,15 +58,15 @@
#define PAL_FRAMERATE_NUMERATOR 25 #define PAL_FRAMERATE_NUMERATOR 25
#define PAL_FRAMERATE_DENOMINATOR 1 #define PAL_FRAMERATE_DENOMINATOR 1
#define PAL_NORMAL_PAR_X 59 #define PAL_NORMAL_PAR_X 16
#define PAL_NORMAL_PAR_Y 54 #define PAL_NORMAL_PAR_Y 15
#define PAL_WIDE_PAR_X 118 #define PAL_WIDE_PAR_X 64
#define PAL_WIDE_PAR_Y 81 #define PAL_WIDE_PAR_Y 45
#define NTSC_NORMAL_PAR_X 10 #define NTSC_NORMAL_PAR_X 8
#define NTSC_NORMAL_PAR_Y 11 #define NTSC_NORMAL_PAR_Y 9
#define NTSC_WIDE_PAR_X 40 #define NTSC_WIDE_PAR_X 32
#define NTSC_WIDE_PAR_Y 33 #define NTSC_WIDE_PAR_Y 27
#define DV_DEFAULT_QUALITY DV_QUALITY_BEST #define DV_DEFAULT_QUALITY DV_QUALITY_BEST
#define DV_DEFAULT_DECODE_NTH 1 #define DV_DEFAULT_DECODE_NTH 1

View file

@ -93,15 +93,15 @@
#define PAL_FRAMERATE_NUMERATOR 25 #define PAL_FRAMERATE_NUMERATOR 25
#define PAL_FRAMERATE_DENOMINATOR 1 #define PAL_FRAMERATE_DENOMINATOR 1
#define PAL_NORMAL_PAR_X 59 #define PAL_NORMAL_PAR_X 16
#define PAL_NORMAL_PAR_Y 54 #define PAL_NORMAL_PAR_Y 15
#define PAL_WIDE_PAR_X 118 #define PAL_WIDE_PAR_X 64
#define PAL_WIDE_PAR_Y 81 #define PAL_WIDE_PAR_Y 45
#define NTSC_NORMAL_PAR_X 10 #define NTSC_NORMAL_PAR_X 8
#define NTSC_NORMAL_PAR_Y 11 #define NTSC_NORMAL_PAR_Y 9
#define NTSC_WIDE_PAR_X 40 #define NTSC_WIDE_PAR_X 32
#define NTSC_WIDE_PAR_Y 33 #define NTSC_WIDE_PAR_Y 27
GST_DEBUG_CATEGORY_STATIC (dvdemux_debug); GST_DEBUG_CATEGORY_STATIC (dvdemux_debug);
#define GST_CAT_DEFAULT dvdemux_debug #define GST_CAT_DEFAULT dvdemux_debug