diff options
author | wm4 <wm4@nowhere> | 2014-04-14 20:19:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-14 20:51:27 +0200 |
commit | 186fd0311db32a24879669620fd6a2d8e32d2931 (patch) | |
tree | 87e4b2c22619799a231bce07312ce32f14f94658 /video/filter | |
parent | a7c6c4656de1938729d27fb6f02b7e46a71c35fb (diff) | |
download | mpv-186fd0311db32a24879669620fd6a2d8e32d2931.tar.bz2 mpv-186fd0311db32a24879669620fd6a2d8e32d2931.tar.xz |
video: change image format names, prefer mostly FFmpeg names
The most user visible change is that "420p" is now displayed as
"yuv420p". This is what FFmpeg uses (almost), and is also less confusing
since "420p" is often confused with "420 pixels vertical resolution".
In general, we return the FFmpeg pixel format name. We still use our own
old mechanism to keep a list of exceptions to provide compatibility for
a while.
Also, never return NULL for image format names. If the format is unset
(0/IMGFMT_NONE), return "none". If the format has no name (probably
never happens, FFmpeg seems to guarantee that a name is set), return
"unknown".
Diffstat (limited to 'video/filter')
0 files changed, 0 insertions, 0 deletions