diff options
author | wm4 <wm4@nowhere> | 2015-11-28 19:24:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-28 19:24:31 +0100 |
commit | 2b07d3eb473edf3670f2277be872973da3831f28 (patch) | |
tree | abb75981f0a516dc8b773aa0854ebdc5adb73cc4 /sub/osd_state.h | |
parent | 73e0d545ceb4979c5d271eb2b86b4e4bdf4b69e9 (diff) | |
download | mpv-2b07d3eb473edf3670f2277be872973da3831f28.tar.bz2 mpv-2b07d3eb473edf3670f2277be872973da3831f28.tar.xz |
osd: use the same ASS_Renderer for OSD text and progbar
Reduces memory usage and startup times. The implementation is a bit
weird, because both OSD parts have conflicting requirements on the used
ASS styles.
Diffstat (limited to 'sub/osd_state.h')
-rw-r--r-- | sub/osd_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/osd_state.h b/sub/osd_state.h index c3d4a6f295..30f04d8449 100644 --- a/sub/osd_state.h +++ b/sub/osd_state.h @@ -16,7 +16,7 @@ struct osd_object { // OSDTYPE_SUB/OSDTYPE_SUB2/OSDTYPE_OSD/OSDTYPE_EXTERNAL char *text; - // OSDTYPE_PROGBAR + // OSDTYPE_OSD struct osd_progbar_state progbar_state; // OSDTYPE_SUB/OSDTYPE_SUB2 |