summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-10 18:59:59 +0100
committerwm4 <wm4@nowhere>2020-02-10 18:59:59 +0100
commitd699893dbda3213198d75c6d19cf401c53af3f1e (patch)
treefd79f47765e9a7597885be77e0a6b2aa36ad41a2 /video/img_format.h
parenta8404ed0a0b79da9b91d57e4b671eaeaed9f936e (diff)
downloadmpv-d699893dbda3213198d75c6d19cf401c53af3f1e.tar.bz2
mpv-d699893dbda3213198d75c6d19cf401c53af3f1e.tar.xz
img_format: add alias for ffmpeg pal8 format
For the next commit.
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/img_format.h b/video/img_format.h
index 61d9e02107..139c690ebe 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -192,6 +192,9 @@ enum mp_imgfmt {
// Accessed with bit-shifts, uint32_t units.
IMGFMT_RGB30, // 2pad 10r 10g 10b (MSG to LSB)
+ // AV_PIX_FMT_PAL8
+ IMGFMT_PAL8,
+
// Hardware accelerated formats. Plane data points to special data
// structures, instead of pixel data.
IMGFMT_VDPAU, // VdpVideoSurface