diff options
author | wm4 <wm4@nowhere> | 2015-12-18 01:54:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-18 03:52:57 +0100 |
commit | 687b552db186af66e97c58792b2db40294e92bad (patch) | |
tree | 07606c9faad58efa28c2e91961d01f2856600ab9 /sub/dec_sub.h | |
parent | 2c7db48195b03e93ee3cbf382ccabcedb96a6830 (diff) | |
download | mpv-687b552db186af66e97c58792b2db40294e92bad.tar.bz2 mpv-687b552db186af66e97c58792b2db40294e92bad.tar.xz |
sub: remove subtitle filter chain concept
It was stupid. The only thing that still effectively used it was
sd_lavc_conv - all other "filters" were the subtitle decoder/renderers
for text (sd_ass) and bitmap (sd_lavc) subtitles.
While having a subtitle filter chain was interesting (and actually
worked in almost the same way as the audio/video ones), I didn't
manage to use it in a meaningful way, and I couldn't e.g. factor
secondary features like fixing subtitle timing into filters.
Refactor the shit and drop unneeded things as it goes.
Diffstat (limited to 'sub/dec_sub.h')
-rw-r--r-- | sub/dec_sub.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h index 0c4d59f395..117396d9b2 100644 --- a/sub/dec_sub.h +++ b/sub/dec_sub.h @@ -31,7 +31,6 @@ void sub_unlock(struct dec_sub *sub); void sub_set_video_res(struct dec_sub *sub, int w, int h); void sub_set_video_fps(struct dec_sub *sub, double fps); -void sub_set_extradata(struct dec_sub *sub, void *data, int data_len); void sub_set_ass_renderer(struct dec_sub *sub, struct ass_library *ass_library, struct ass_renderer *ass_renderer, pthread_mutex_t *ass_lock); @@ -44,7 +43,6 @@ bool sub_accepts_packet_in_advance(struct dec_sub *sub); void sub_decode(struct dec_sub *sub, struct demux_packet *packet); void sub_get_bitmaps(struct dec_sub *sub, struct mp_osd_res dim, double pts, struct sub_bitmaps *res); -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); |