From 47c423b6cae87b64069bf4c057ff6ba218e9ece8 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Thu, 15 Jan 2009 16:59:36 +0000 Subject: Docs: grammar and spelling fixes, and some character entity usage. --- doc/hackersguide/stream.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/hackersguide/stream.sgml') diff --git a/doc/hackersguide/stream.sgml b/doc/hackersguide/stream.sgml index d05bbba65..d9a5471bd 100644 --- a/doc/hackersguide/stream.sgml +++ b/doc/hackersguide/stream.sgml @@ -392,9 +392,9 @@    buf_element_t *buf;     -   buf = stream->video_fifo->buffer_pool_alloc(stream->video_fifo); -   buf->type = BUF_CONTROL_START; -   stream->video_fifo->put(stream->video_fifo, buf); +   buf = stream->video_fifo->buffer_pool_alloc(stream->video_fifo); +   buf->type = BUF_CONTROL_START; +   stream->video_fifo->put(stream->video_fifo, buf); Buffers must have set the type field as shown. All buffer types are defined in xine-engine/buffer.h. @@ -410,7 +410,7 @@ To help finding out buffer types for known codecs, functions from buffer_types.c may be used to convert "FOURCC" codes or audio format tags (as used in AVI files) to the xine byffer type: -    buf->type = fourcc_to_buf_video((void*)this->avi->bih.biCompression); +    buf->type = fourcc_to_buf_video((void*)this->avi->bih.biCompression); @@ -620,7 +620,7 @@ video, subtitles do not form a continuous stream. The decoder will therefore only be called once in a while. The metronom call for timestamping, which for audio and video is done by the engine, has to be done manually for SPU: -    vpts = metronom->got_spu_packet(metronom, buf->pts); +    vpts = metronom->got_spu_packet(metronom, buf->pts); Another difference is that while both audio and video decoders are automatically -- cgit v1.2.3