diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-01-15 19:24:05 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-01-15 19:24:05 +0000 |
commit | 8340d9fed618a0e5cd56e5ddbc616d21a36fa118 (patch) | |
tree | 8fd2849a5c5806a3fe13b7147cb7504ae9c23498 /doc/hackersguide/stream.docbook | |
parent | 7dc471882c5cb83af78a9357fa71efed75ac47df (diff) | |
parent | bc509354dd7e9f0fe1ed7db60e1c831d8be602cd (diff) | |
download | xine-lib-8340d9fed618a0e5cd56e5ddbc616d21a36fa118.tar.gz xine-lib-8340d9fed618a0e5cd56e5ddbc616d21a36fa118.tar.bz2 |
Merge from 1.1; regenerate po/*.po{,t}.
--HG--
rename : doc/faq/faq.sgml => doc/faq/faq.docbook
rename : doc/hackersguide/internals.sgml => doc/hackersguide/internals.docbook
rename : doc/hackersguide/output.sgml => doc/hackersguide/output.docbook
rename : doc/hackersguide/overview.sgml => doc/hackersguide/overview.docbook
rename : doc/hackersguide/stream.sgml => doc/hackersguide/stream.docbook
rename : po/libxine1.pot => po/libxine2.pot
Diffstat (limited to 'doc/hackersguide/stream.docbook')
-rw-r--r-- | doc/hackersguide/stream.docbook | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/hackersguide/stream.docbook b/doc/hackersguide/stream.docbook index d05bbba65..d9a5471bd 100644 --- a/doc/hackersguide/stream.docbook +++ b/doc/hackersguide/stream.docbook @@ -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 |