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:
1 parent
30f9c5cd2b
commit
f04d70ace1
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user