summaryrefslogtreecommitdiffstats
path: root/image_writer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-06 17:51:04 +0200
committerwm4 <wm4@nowhere>2012-08-06 17:51:04 +0200
commit927c58854fecc5e1dbbecb983fb87870e8433c8a (patch)
tree40a8bdd620eb73a8aec6f9c6bf34e6ecb9c98b5b /image_writer.h
parent0a0925be824fb65a1f76350d8a1a9db04cf05dee (diff)
downloadmpv-927c58854fecc5e1dbbecb983fb87870e8433c8a.tar.bz2
mpv-927c58854fecc5e1dbbecb983fb87870e8433c8a.tar.xz
image_writer: support all JPEG specific options vo_jpeg supports
Most of these are useless or probably even dangerous. Support them anyway, because it's easy, and we want to replace vo_jpeg without any disadvantages.
Diffstat (limited to 'image_writer.h')
-rw-r--r--image_writer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/image_writer.h b/image_writer.h
index 1253bb5d8b..fb230684d2 100644
--- a/image_writer.h
+++ b/image_writer.h
@@ -22,6 +22,11 @@ struct image_writer_opts {
char *filetype;
int png_compression;
int jpeg_quality;
+ int jpeg_optimize;
+ int jpeg_smooth;
+ int jpeg_dpi;
+ int jpeg_progressive;
+ int jpeg_baseline;
};
extern const struct image_writer_opts image_writer_opts_defaults;