summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-03 19:30:27 +0200
committerwm4 <wm4@nowhere>2016-07-03 19:32:43 +0200
commitea23a86f49c4aff2c2c144829ba5563def460b26 (patch)
treee5513acf0cc76b870f55f1a2481af5555a21e9dd
parent8ed32e90c933c13ce128f1edf44624616f8efca0 (diff)
downloadmpv-ea23a86f49c4aff2c2c144829ba5563def460b26.tar.bz2
mpv-ea23a86f49c4aff2c2c144829ba5563def460b26.tar.xz
sub: remove unused sub_bitmaps.scaled field
-rw-r--r--sub/osd.c1
-rw-r--r--sub/osd.h4
2 files changed, 0 insertions, 5 deletions
diff --git a/sub/osd.c b/sub/osd.c
index 55edf6b123..381fa8892d 100644
--- a/sub/osd.c
+++ b/sub/osd.c
@@ -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;
}
diff --git a/sub/osd.h b/sub/osd.h
index 9c5be1c56b..6bfa6dd525 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -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;