From db4a9292eb386fe91bbb4059c1b172e45bd32ce7 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 18 Sep 2002 00:51:33 +0000 Subject: first steps towards implementing stream/meta info CVS patchset: 2680 CVS date: 2002/09/18 00:51:33 --- src/xine-engine/demux.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/xine-engine/demux.c') 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; -- cgit v1.2.3