summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_scale.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-05 15:30:46 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-05 15:30:46 +0000
commit112e0a35f1175e09b760ab41c61fbd8c850333c8 (patch)
tree7e16807c590148f033de64d76f2c5983f54aacdb /libmpcodecs/vf_scale.c
parente7f37248d3c710f96c4da1744921507d2f5ec368 (diff)
downloadmpv-112e0a35f1175e09b760ab41c61fbd8c850333c8.tar.bz2
mpv-112e0a35f1175e09b760ab41c61fbd8c850333c8.tar.xz
size presets: added the standard resolutions as proposed by Fabrice (ffmpeg)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10815 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_scale.c')
-rw-r--r--libmpcodecs/vf_scale.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c
index 98d6bc9331..05b1b0360c 100644
--- a/libmpcodecs/vf_scale.c
+++ b/libmpcodecs/vf_scale.c
@@ -471,7 +471,12 @@ static struct size_preset {
int w, h;
} vf_size_presets_defs[] = {
// TODO add more 'standard' resolutions
- { "pal", 768, 576 },
+ { "qntsc", 352, 240 },
+ { "qpal", 352, 288 },
+ { "ntsc", 720, 480 },
+ { "pal", 720, 576 },
+ { "sntsc", 640, 480 },
+ { "spal", 768, 576 },
{ NULL, 0, 0}
};