summaryrefslogtreecommitdiffstats
path: root/video/image_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/image_writer.c')
-rw-r--r--video/image_writer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/video/image_writer.c b/video/image_writer.c
index 8d3b746ef7..3a25e91b07 100644
--- a/video/image_writer.c
+++ b/video/image_writer.c
@@ -215,16 +215,16 @@ static const struct img_writer img_writers[] = {
{ "ppm", write_lavc, .lavc_codec = CODEC_ID_PPM },
{ "pgm", write_lavc,
.lavc_codec = CODEC_ID_PGM,
- .pixfmts = (int[]) { IMGFMT_Y800, 0 },
+ .pixfmts = (int[]) { IMGFMT_Y8, 0 },
},
{ "pgmyuv", write_lavc,
.lavc_codec = CODEC_ID_PGMYUV,
- .pixfmts = (int[]) { IMGFMT_YV12, 0 },
+ .pixfmts = (int[]) { IMGFMT_420P, 0 },
},
{ "tga", write_lavc,
.lavc_codec = CODEC_ID_TARGA,
- .pixfmts = (int[]) { IMGFMT_BGR24, IMGFMT_BGRA, IMGFMT_BGR15LE,
- IMGFMT_Y800, 0},
+ .pixfmts = (int[]) { IMGFMT_BGR24, IMGFMT_BGRA, IMGFMT_BGR15_LE,
+ IMGFMT_Y8, 0},
},
#ifdef CONFIG_JPEG
{ "jpg", write_jpeg },