diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-01-15 16:59:36 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-01-15 16:59:36 +0000 |
commit | 47c423b6cae87b64069bf4c057ff6ba218e9ece8 (patch) | |
tree | 455ed2179b8abd938c7cb7ae5ecaedaee1bccdb8 /doc/hackersguide/stream.sgml | |
parent | 2c07c66cf1be3a8aad70f34fff32592a96c5df41 (diff) | |
download | xine-lib-47c423b6cae87b64069bf4c057ff6ba218e9ece8.tar.gz xine-lib-47c423b6cae87b64069bf4c057ff6ba218e9ece8.tar.bz2 |
Docs: grammar and spelling fixes, and some character entity usage.
Diffstat (limited to 'doc/hackersguide/stream.sgml')
-rw-r--r-- | doc/hackersguide/stream.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ <programlisting> 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);</programlisting> + buf = stream->video_fifo->buffer_pool_alloc(stream->video_fifo); + buf->type = BUF_CONTROL_START; + stream->video_fifo->put(stream->video_fifo, buf);</programlisting> <para> Buffers must have set the <varname>type</varname> field as shown. All buffer types are defined in <filename>xine-engine/buffer.h</filename>. @@ -410,7 +410,7 @@ To help finding out buffer types for known codecs, functions from <filename>buffer_types.c</filename> may be used to convert "FOURCC" codes or audio format tags (as used in AVI files) to the xine byffer type: - <programlisting> buf->type = fourcc_to_buf_video((void*)this->avi->bih.biCompression);</programlisting> + <programlisting> buf->type = fourcc_to_buf_video((void*)this->avi->bih.biCompression);</programlisting> </para> </sect2> </sect1> @@ -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: - <programlisting> vpts = metronom->got_spu_packet(metronom, buf->pts);</programlisting> + <programlisting> vpts = metronom->got_spu_packet(metronom, buf->pts);</programlisting> </para> <para> Another difference is that while both audio and video decoders are automatically |