From cfa45c40dc0cfe44b699029168b62d4d3e16c288 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Jun 2013 02:09:52 +0200 Subject: sub: add demux_libass wrapper, drop old hacks demux_libass.c allows us to make subtitle format detection part of the normal file loading process. libass has no probe function, but trying to load the start of a file (the first 4 KB) is good enough. Hope that libass can even handle random binary input gracefully without printing stupid log messages, and that the libass parser doesn't accept too many non-ASS files as input. This doesn't handle the -subcp option correctly yet. This will be fixed later. --- core/options.h | 1 - 1 file changed, 1 deletion(-) (limited to 'core/options.h') diff --git a/core/options.h b/core/options.h index c31d2063c9..6ec051ddca 100644 --- a/core/options.h +++ b/core/options.h @@ -150,7 +150,6 @@ typedef struct MPOpts { char *audio_stream; int audio_stream_cache; - char *sub_stream; char *demuxer_name; char *audio_demuxer_name; char *sub_demuxer_name; -- cgit v1.2.3