diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2009-08-31 01:25:47 +0100 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2009-08-31 01:25:47 +0100 |
commit | d122ca934a7551a2a98108bb15fe5f2b15524cc2 (patch) | |
tree | 3006382fb474a92f71fb0c303eec6a76ef220be3 | |
parent | d7aedf3ba509ef563f1839cc2c3cdde449a46c7f (diff) | |
download | xine-lib-d122ca934a7551a2a98108bb15fe5f2b15524cc2.tar.gz xine-lib-d122ca934a7551a2a98108bb15fe5f2b15524cc2.tar.bz2 |
added spu_type parameter to demux_send_special_spu_buf()
-rw-r--r-- | src/demuxers/demux_ts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c index 0bb70b74b..408ae43cf 100644 --- a/src/demuxers/demux_ts.c +++ b/src/demuxers/demux_ts.c @@ -460,12 +460,12 @@ static void check_newpts( demux_ts_t *this, int64_t pts, int video ) } /* Send a BUF_SPU_DVB to let xine know of that channel. */ -static void demux_send_special_spu_buf( demux_ts_t *this, int spu_channel ) +static void demux_send_special_spu_buf( demux_ts_t *this, uint32_t spu_type, int spu_channel ) { buf_element_t *buf; buf = this->video_fifo->buffer_pool_alloc( this->video_fifo ); - buf->type = BUF_SPU_DVB|spu_channel; + buf->type = spu_type|spu_channel; buf->content = buf->mem; buf->size = 0; this->video_fifo->put( this->video_fifo, buf ); @@ -1427,7 +1427,7 @@ printf("Program Number is %i, looking for %i\n",program_number,this->program_num lang->media_index = this->media_num; this->media[this->media_num].type = no; demux_ts_pes_new(this, this->media_num, pid, this->video_fifo, stream[0]); - demux_send_special_spu_buf( this, no ); + demux_send_special_spu_buf( this, BUF_SPU_DVB, no ); #ifdef TS_LOG printf("demux_ts: DVBSUB: pid 0x%.4x: %s page %ld %ld type %2.2x\n", pid, lang->desc.lang, |