summaryrefslogtreecommitdiffstats
path: root/sub/sd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sd.h')
-rw-r--r--sub/sd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sub/sd.h b/sub/sd.h
index b142654ed1..fe64163b1b 100644
--- a/sub/sd.h
+++ b/sub/sd.h
@@ -17,8 +17,12 @@ struct sd {
const struct sd_functions *driver;
void *priv;
- struct demuxer *demuxer;
+ struct attachment_list *attachments;
struct mp_codec_params *codec;
+
+ // Set to false as soon as the decoder discards old subtitle events.
+ // (only needed if sd_functions.accept_packets_in_advance == false)
+ bool preload_ok;
};
struct sd_functions {