diff options
author | wm4 <wm4@nowhere> | 2013-06-01 19:44:55 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-03 02:09:07 +0200 |
commit | 3000df35d31f09f13a7c662e2f96bcd7d0f6ac13 (patch) | |
tree | 64ce19abc28e21cc9a17ed66045433de0342221b /sub/dec_sub.h | |
parent | 02ce316ade9ba932ad405383278d6b01c54e5fc4 (diff) | |
download | mpv-3000df35d31f09f13a7c662e2f96bcd7d0f6ac13.tar.bz2 mpv-3000df35d31f09f13a7c662e2f96bcd7d0f6ac13.tar.xz |
sub: basic subtitle converters
Add a basic infrastructure for subtitle converters. These converters
work sort-of like decoders, except that they produce packets instead
of subtitle bitmaps. They are put in front of actual decoders.
Start with sd_movtext. 4 lines of code are blown up to a 55 lines file,
but fortunately this is not going to be that bad for the following
converters.
Diffstat (limited to 'sub/dec_sub.h')
-rw-r--r-- | sub/dec_sub.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h index 39632d21a9..805a87ef5c 100644 --- a/sub/dec_sub.h +++ b/sub/dec_sub.h @@ -35,7 +35,7 @@ bool sub_has_get_text(struct dec_sub *sub); char *sub_get_text(struct dec_sub *sub, double pts); void sub_reset(struct dec_sub *sub); -struct sd *sub_get_sd(struct dec_sub *sub); +struct sd *sub_get_last_sd(struct dec_sub *sub); #ifdef CONFIG_ASS struct ass_track *sub_get_ass_track(struct dec_sub *sub); |