diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-09-12 22:18:47 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-09-12 22:18:47 +0000 |
commit | 7d6fb6c905dbd842eead370f2412a55eda31cecb (patch) | |
tree | 45d81b00889662bf46f3ce4c15f1b898566f1b9f /src/demuxers/demux_mpeg_block.c | |
parent | 436000020930b0ce16be4a34fae8ff5df28450a5 (diff) | |
download | xine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.gz xine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.bz2 |
further tweaks and patches for menu support: new buftypes (BUF_CONTROL_DISCONTINUITY,BUF_CONTROL_NOP,BUF_CONTROL_AUDIO_CHANNEL,BUF_CONTROL_SPU_CHANNEL) so input plugins can enhance their communication with the xine engine (regarding pts continuities for example) - not all is implemented yet, but what is implemented is working pretty well - at least for me ;))
CVS patchset: 627
CVS date: 2001/09/12 22:18:47
Diffstat (limited to 'src/demuxers/demux_mpeg_block.c')
-rw-r--r-- | src/demuxers/demux_mpeg_block.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c index 65c4e141a..b1085c5be 100644 --- a/src/demuxers/demux_mpeg_block.c +++ b/src/demuxers/demux_mpeg_block.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_mpeg_block.c,v 1.42 2001/09/08 15:41:20 guenter Exp $ + * $Id: demux_mpeg_block.c,v 1.43 2001/09/12 22:18:47 guenter Exp $ * * demultiplexer for mpeg 1/2 program streams * @@ -125,7 +125,16 @@ static void demux_mpeg_block_parse_pack (demux_mpeg_block_t *this, int preview_m /* If this is not a block for the demuxer, pass it * straight through. */ if(buf->type != BUF_DEMUX_BLOCK) { + buf_element_t *cbuf; + this->video_fifo->put (this->video_fifo, buf); + + /* duplicate goes to audio fifo */ + + cbuf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); + cbuf->type = buf->type; + this->audio_fifo->put (this->audio_fifo, cbuf); + return; } |