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

nicodvb subversion at mplayerhq.hu
Wed Oct 3 23:39:01 CEST 2007


Author: nicodvb
Date: Wed Oct  3 23:39:01 2007
New Revision: 24696

Log:
support for DTS as specified in DVB (untested)

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	(original)
+++ trunk/libmpdemux/demux_ts.c	Wed Oct  3 23:39:01 2007
@@ -2146,6 +2146,14 @@ static int parse_descriptors(struct pmt_
 				mp_msg(MSGT_DEMUX, MSGL_DBG2, "DVB A52 Descriptor\n");
 			}
 		}
+		else if(ptr[j] == 0x7b)	//DVB DTS Descriptor
+		{
+			if(es->type == 0x6)
+			{
+				es->type = AUDIO_DTS;
+				mp_msg(MSGT_DEMUX, MSGL_DBG2, "DVB DTS Descriptor\n");
+			}
+		}
 		else if(ptr[j] == 0x59)	//Subtitling Descriptor
 		{
 			uint8_t subtype;



More information about the MPlayer-cvslog mailing list