summaryrefslogtreecommitdiffstats
path: root/subreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'subreader.h')
-rw-r--r--subreader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/subreader.h b/subreader.h
index 3230eab4f1..025cfa821c 100644
--- a/subreader.h
+++ b/subreader.h
@@ -48,6 +48,7 @@ typedef struct {
unsigned long end;
char *text[SUB_MAX_TEXT];
+ double endpts[SUB_MAX_TEXT];
unsigned char alignment;
} subtitle;
@@ -86,4 +87,6 @@ void dump_sami(sub_data* subd, float fps);
void sub_free( sub_data * subd );
void find_sub(sub_data* subd,int key);
void step_sub(sub_data *subd, float pts, int movement);
+void sub_add_text(subtitle *sub, const char *txt, int len, double endpts);
+int sub_clear_text(subtitle *sub, double pts);
#endif