video/csputils: remove space from choice option for chroma loc

Also document the field
This commit is contained in:
llyyr 2024-08-24 14:34:21 +05:30 committed by Kacper Michajłow
parent 488c636a71
commit cb4fdb530a
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1 @@
rename vf_format's `bottom left` chroma-location to `bottom-left`

View File

@ -324,6 +324,10 @@ Available mpv-only filters are:
Whether or not to include film grain metadata (default: yes). If
disabled, any film grain metadata will be stripped from frames.
``<chroma-location>``
Set the chroma loc of the video. Use
``--vf=format:chroma-location=help`` to list all available modes.
``<stereo-in>``
Set the stereo mode the video is assumed to be encoded in. Use
``--vf=format:stereo-in=help`` to list all available modes. Check with

View File

@ -111,7 +111,7 @@ const struct m_opt_choice_alternatives pl_chroma_names[] = {
{"mpeg2/4/h264",PL_CHROMA_LEFT},
{"mpeg1/jpeg", PL_CHROMA_CENTER},
{"top", PL_CHROMA_TOP_CENTER},
{"bottom left", PL_CHROMA_BOTTOM_LEFT},
{"bottom-left", PL_CHROMA_BOTTOM_LEFT},
{"bottom", PL_CHROMA_BOTTOM_CENTER},
{0}
};