[MPlayer-cvslog] r32862 - trunk/libmpdemux/demux_ts.c

reimar subversion at mplayerhq.hu
Sun Feb 6 12:45:17 CET 2011


Author: reimar
Date: Sun Feb  6 12:45:17 2011
New Revision: 32862

Log:
Set subtitle stream type correctly for DVB subtitles in TS demuxer.

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	Sat Feb  5 21:45:42 2011	(r32861)
+++ trunk/libmpdemux/demux_ts.c	Sun Feb  6 12:45:17 2011	(r32862)
@@ -406,6 +406,8 @@ static void ts_add_stream(demuxer_t * de
 		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:


More information about the MPlayer-cvslog mailing list