diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-18 00:51:33 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-18 00:51:33 +0000 |
commit | db4a9292eb386fe91bbb4059c1b172e45bd32ce7 (patch) | |
tree | 85a58e93c69fa06b6304bb936c77131b957d3c5f /src/xine-engine/demux.c | |
parent | 1ad10f5795d76ee8d66c642cc4165593ce6a9e39 (diff) | |
download | xine-lib-db4a9292eb386fe91bbb4059c1b172e45bd32ce7.tar.gz xine-lib-db4a9292eb386fe91bbb4059c1b172e45bd32ce7.tar.bz2 |
first steps towards implementing stream/meta info
CVS patchset: 2680
CVS date: 2002/09/18 00:51:33
Diffstat (limited to 'src/xine-engine/demux.c')
-rw-r--r-- | src/xine-engine/demux.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c index d8b4ed225..008f6ca1d 100644 --- a/src/xine-engine/demux.c +++ b/src/xine-engine/demux.c @@ -75,6 +75,21 @@ void xine_demux_control_newpts( xine_t *this, int64_t pts, uint32_t flags ) { } } +void xine_demux_control_headers_done (xine_t *this) { + + buf_element_t *buf; + + buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); + buf->type = BUF_CONTROL_HEADERS_DONE; + this->video_fifo->put (this->video_fifo, buf); + + if (this->audio_fifo) { + buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); + buf->type = BUF_CONTROL_HEADERS_DONE; + this->audio_fifo->put (this->audio_fifo, buf); + } +} + void xine_demux_control_start( xine_t *this ) { buf_element_t *buf; |