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 fc1085f8ed..a2f57a5808 100644
--- a/sub/sd.h
+++ b/sub/sd.h
@@ -16,6 +16,10 @@ struct sd {
char *extradata;
int extradata_len;
+ // Set to !=NULL if the input packets are being converted from another
+ // format.
+ const char *converted_from;
+
// Video resolution used for subtitle decoding. Doesn't necessarily match
// the resolution of the VO, nor does it have to be the OSD resolution.
int sub_video_w, sub_video_h;