mirror of https://github.com/mpv-player/mpv
image_writer: add TGA image format
For getting rid of vo_tga. This makes use of the libavcodec TGA encoder.
This commit is contained in:
parent
c74afab393
commit
0a0925be82
|
@ -200,6 +200,11 @@ static const struct img_writer img_writers[] = {
|
|||
.lavc_codec = CODEC_ID_PGMYUV,
|
||||
.pixfmts = (int[]) { IMGFMT_YV12, 0 },
|
||||
},
|
||||
{ "tga", write_lavc,
|
||||
.lavc_codec = CODEC_ID_TARGA,
|
||||
.pixfmts = (int[]) { IMGFMT_BGR24, IMGFMT_BGRA, IMGFMT_BGR15LE,
|
||||
IMGFMT_Y800, 0},
|
||||
},
|
||||
#ifdef CONFIG_JPEG
|
||||
{ "jpg", write_jpeg },
|
||||
{ "jpeg", write_jpeg },
|
||||
|
|
Loading…
Reference in New Issue