summaryrefslogtreecommitdiffstats
path: root/DOCS/interface-changes.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-03 23:18:35 +0100
committerwm4 <wm4@nowhere>2019-11-03 23:18:35 +0100
commit98352362ea17075400818e9439f9740c4c19bbbc (patch)
tree578497dfdeb529a1e40c59ff726aa6d2dff74c7d /DOCS/interface-changes.rst
parentcfd659538688916ac79df072a56d65d327c69470 (diff)
downloadmpv-98352362ea17075400818e9439f9740c4c19bbbc.tar.bz2
mpv-98352362ea17075400818e9439f9740c4c19bbbc.tar.xz
img_format: remove some unused format flags
They were used at some point, but then fell into disuse. In general, these old flags are all a bit fuzzy, so it's a good idea to remove them as much as possible. The comment about MP_IMGFLAG_PAL isn't true anymore. The old meaning was deprecated at some point, and the flag was removed from "pseudo paletted" formats. I think mpv at one point changed its own flag from AV_PIX_FMT_FLAG_PSEUDOPAL to AV_PIX_FMT_FLAG_PAL, when the former was deprecated, and it became unnecessary to allocate a palette for non-paletted formats. (The one who deprecated in FFmpeg was me, if you wonder.) MP_IMGFLAG_PLANAR was used in command.c, use a relatively similar flag as replacement.
Diffstat (limited to 'DOCS/interface-changes.rst')
0 files changed, 0 insertions, 0 deletions