subs: remove --utf8 and --unicode, simplify code
commitea731165aa25f8d6b5a707ec5b80c770b28705e0
authorUoti Urpala <uau@mplayer2.org>
Wed, 21 Nov 2012 22:08:58 +0000 (22 00:08 +0200)
committerUoti Urpala <uau@mplayer2.org>
Wed, 28 Nov 2012 00:17:05 +0000 (28 02:17 +0200)
treefad835da10a5c402afb7a521f490fc2987fd9fe4
parente47e5aaa0ca2f0ece49a5d908bf3da7eeda5d1fc
subs: remove --utf8 and --unicode, simplify code

Remove the options --utf8 and --unicode which had no effect any more
(what they once did should be doable with --subcp). The only use of
corresponding variables left in code was subreader.c code using
sub_utf8 as a flag indicating whether iconv conversion was active.
Change the code to test the existence of iconv context instead.
DOCS/man/en/options.rst
cfg-mplayer.h
sub/sub.c
sub/sub.h
sub/subreader.c