subtitles: remove code trying to handle text subs with libavcodec
commitac79632ded16b62e0abf10f1cd319fba20bc0024
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 14 Jan 2011 12:05:22 +0000 (14 14:05 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Sat, 15 Jan 2011 16:45:43 +0000 (15 18:45 +0200)
treea671e3fe3971917f2dbf066395b90598320b3df1
parente9022ec470e9334a6d0f3cb044027964ac4f63f6
subtitles: remove code trying to handle text subs with libavcodec

The avsub implementation tries to fall back to MPlayer's other text
subtitle decoding if libavcodec returns text as the 'decoded'
subtitle. The code implementing this is buggy, and as far as I can see
it should not be triggered normally (libavcodec decoding is only
used for xvid, pgs and dvb subtitles, and for those libavcodec should
return bitmaps). Remove the buggy code (don't try to support
non-bitmap results) and simplify things a bit.
av_sub.c
av_sub.h
mplayer.c