Mercurial > mplayer.hg
changeset 32775:3e141cd16ef3
Set subtitle stream type correctly for DVB subtitles in TS demuxer.
author | reimar |
---|---|
date | Sun, 06 Feb 2011 11:45:17 +0000 |
parents | dfeea3d3b2d0 |
children | 15060bd7df4c |
files | libmpdemux/demux_ts.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c Sat Feb 05 20:45:42 2011 +0000 +++ b/libmpdemux/demux_ts.c Sun Feb 06 11:45:17 2011 +0000 @@ -406,6 +406,8 @@ sh_sub_t *sh = new_sh_sub_sid(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: