wtvdec: set correct codec ID for CC streams.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 27 Aug 2012 20:08:56 +0000 (22:08 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 31 Aug 2012 17:58:09 +0000 (19:58 +0200)
commitdddd006cabcead012ad88a0ec027578cd2963031
tree3b81db814298cfffebfe824644ef37b25718e895
parent54ca7e39dae120fefe96d30e965a304b63a1b491
wtvdec: set correct codec ID for CC streams.

Closed caption data is definitely not teletext.
Since it contains a EIA-608 compatibility stream,
the EIA_608 codec ID is at least not completely wrong.
Fixes subtitle playback in MPlayer with the sample in
trac ticket #1482.
To fix the ticket itself I expect FFmpeg will need
a closed-caption to SRT decoder first.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavformat/wtvdec.c