changeset 24676:c03afe4ed741

support for DTS as specified in DVB (untested)
author nicodvb
date Wed, 03 Oct 2007 21:39:01 +0000
parents ab0d7b969e86
children 9f81c2175803
files libmpdemux/demux_ts.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Wed Oct 03 17:06:27 2007 +0000
+++ b/libmpdemux/demux_ts.c	Wed Oct 03 21:39:01 2007 +0000
@@ -2146,6 +2146,14 @@
 				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;