summaryrefslogtreecommitdiffstats
path: root/sub/sd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sd.h')
-rw-r--r--sub/sd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sub/sd.h b/sub/sd.h
index 92bbf906fd..fe64163b1b 100644
--- a/sub/sd.h
+++ b/sub/sd.h
@@ -19,6 +19,10 @@ struct sd {
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 {