diff options
Diffstat (limited to 'xine/ts2es.c')
-rw-r--r-- | xine/ts2es.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/xine/ts2es.c b/xine/ts2es.c index 8f953018..e3cbcad9 100644 --- a/xine/ts2es.c +++ b/xine/ts2es.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: ts2es.c,v 1.10 2010-03-20 23:28:33 phintuka Exp $ + * $Id: ts2es.c,v 1.11 2010-05-20 13:20:56 phintuka Exp $ * */ @@ -279,6 +279,24 @@ ts2es_t *ts2es_init(fifo_buffer_t *dst_fifo, ts_stream_type stream_type, uint st data->xine_buf_type = BUF_AUDIO_A52; break; + /* EAC3 (xine-lib > 1.1.18.1) */ +#ifdef BUF_AUDIO_EAC3 + case STREAM_AUDIO_EAC3: + data->xine_buf_type = BUF_AUDIO_EAC3; + break; +#endif + + /* DTS (PES stream 0xbd) */ + case STREAM_AUDIO_DTS: + data->xine_buf_type = BUF_AUDIO_DTS; + break; + + /* AAC (PES stream 0xbd) */ + case STREAM_AUDIO_AAC: + data->xine_buf_type = BUF_AUDIO_AAC; + break; + + default: LOGMSG("ts2es: unknown stream type 0x%x", stream_type); break; |