diff options
author | wm4 <wm4@nowhere> | 2016-07-03 19:30:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-03 19:32:43 +0200 |
commit | ea23a86f49c4aff2c2c144829ba5563def460b26 (patch) | |
tree | e5513acf0cc76b870f55f1a2481af5555a21e9dd /sub | |
parent | 8ed32e90c933c13ce128f1edf44624616f8efca0 (diff) | |
download | mpv-ea23a86f49c4aff2c2c144829ba5563def460b26.tar.bz2 mpv-ea23a86f49c4aff2c2c144829ba5563def460b26.tar.xz |
sub: remove unused sub_bitmaps.scaled field
Diffstat (limited to 'sub')
-rw-r--r-- | sub/osd.c | 1 | ||||
-rw-r--r-- | sub/osd.h | 4 |
2 files changed, 0 insertions, 5 deletions
@@ -436,5 +436,4 @@ void osd_rescale_bitmaps(struct sub_bitmaps *imgs, int frame_w, int frame_h, bi->dw = (int)(bi->w * xscale + 0.5); bi->dh = (int)(bi->h * yscale + 0.5); } - imgs->scaled = xscale != 1 || yscale != 1; } @@ -58,10 +58,6 @@ struct sub_bitmaps { enum sub_bitmap_format format; - // If false, dw==w && dh==h. - // SUBBITMAP_LIBASS is never scaled. - bool scaled; - struct sub_bitmap *parts; int num_parts; |