mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
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:
parent
c0dd2029e9
commit
83d5797a58
2 changed files with 16 additions and 16 deletions
|
@ -58,15 +58,15 @@
|
|||
#define PAL_FRAMERATE_NUMERATOR 25
|
||||
#define PAL_FRAMERATE_DENOMINATOR 1
|
||||
|
||||
#define PAL_NORMAL_PAR_X 59
|
||||
#define PAL_NORMAL_PAR_Y 54
|
||||
#define PAL_WIDE_PAR_X 118
|
||||
#define PAL_WIDE_PAR_Y 81
|
||||
#define PAL_NORMAL_PAR_X 16
|
||||
#define PAL_NORMAL_PAR_Y 15
|
||||
#define PAL_WIDE_PAR_X 64
|
||||
#define PAL_WIDE_PAR_Y 45
|
||||
|
||||
#define NTSC_NORMAL_PAR_X 10
|
||||
#define NTSC_NORMAL_PAR_Y 11
|
||||
#define NTSC_WIDE_PAR_X 40
|
||||
#define NTSC_WIDE_PAR_Y 33
|
||||
#define NTSC_NORMAL_PAR_X 8
|
||||
#define NTSC_NORMAL_PAR_Y 9
|
||||
#define NTSC_WIDE_PAR_X 32
|
||||
#define NTSC_WIDE_PAR_Y 27
|
||||
|
||||
#define DV_DEFAULT_QUALITY DV_QUALITY_BEST
|
||||
#define DV_DEFAULT_DECODE_NTH 1
|
||||
|
|
|
@ -93,15 +93,15 @@
|
|||
#define PAL_FRAMERATE_NUMERATOR 25
|
||||
#define PAL_FRAMERATE_DENOMINATOR 1
|
||||
|
||||
#define PAL_NORMAL_PAR_X 59
|
||||
#define PAL_NORMAL_PAR_Y 54
|
||||
#define PAL_WIDE_PAR_X 118
|
||||
#define PAL_WIDE_PAR_Y 81
|
||||
#define PAL_NORMAL_PAR_X 16
|
||||
#define PAL_NORMAL_PAR_Y 15
|
||||
#define PAL_WIDE_PAR_X 64
|
||||
#define PAL_WIDE_PAR_Y 45
|
||||
|
||||
#define NTSC_NORMAL_PAR_X 10
|
||||
#define NTSC_NORMAL_PAR_Y 11
|
||||
#define NTSC_WIDE_PAR_X 40
|
||||
#define NTSC_WIDE_PAR_Y 33
|
||||
#define NTSC_NORMAL_PAR_X 8
|
||||
#define NTSC_NORMAL_PAR_Y 9
|
||||
#define NTSC_WIDE_PAR_X 32
|
||||
#define NTSC_WIDE_PAR_Y 27
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (dvdemux_debug);
|
||||
#define GST_CAT_DEFAULT dvdemux_debug
|
||||
|
|
Loading…
Reference in a new issue