demux_ts: Set subtitle stream type correctly for DVB subtitles

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32862 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar authored and Uoti Urpala committed 2011-02-15 19:23:43 +02:00
1 parent 30f9c5cd2b
commit f04d70ace1
1 file changed
+2
+2
View File
@@ -408,6 +408,8 @@ static void ts_add_stream(demuxer_t * demuxer, ES_stream_t *es)
sh_sub_t *sh = new_sh_sub_sid_lang(demuxer, priv->last_sid, es->pid, pid_lang_from_pmt(priv, es->pid));
if (sh) {
switch (es->type) {
case SPU_DVB:
sh->type = 'b'; break;
case SPU_DVD:
sh->type = 'v'; break;
case SPU_PGS: