summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;