summaryrefslogtreecommitdiff
path: root/doc/hackersguide/stream.docbook
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-01-15 19:24:05 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-01-15 19:24:05 +0000
commit8340d9fed618a0e5cd56e5ddbc616d21a36fa118 (patch)
tree8fd2849a5c5806a3fe13b7147cb7504ae9c23498 /doc/hackersguide/stream.docbook
parent7dc471882c5cb83af78a9357fa71efed75ac47df (diff)
parentbc509354dd7e9f0fe1ed7db60e1c831d8be602cd (diff)
downloadxine-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.docbook10
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>
&nbsp;&nbsp;&nbsp;buf_element_t *buf;
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;buf = stream->video_fifo->buffer_pool_alloc(stream->video_fifo);
-&nbsp;&nbsp;&nbsp;buf->type = BUF_CONTROL_START;
-&nbsp;&nbsp;&nbsp;stream->video_fifo->put(stream->video_fifo, buf);</programlisting>
+&nbsp;&nbsp;&nbsp;buf = stream-&gt;video_fifo-&gt;buffer_pool_alloc(stream-&gt;video_fifo);
+&nbsp;&nbsp;&nbsp;buf-&gt;type = BUF_CONTROL_START;
+&nbsp;&nbsp;&nbsp;stream-&gt;video_fifo-&gt;put(stream-&gt;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>&nbsp;&nbsp;&nbsp;buf->type = fourcc_to_buf_video((void*)this->avi->bih.biCompression);</programlisting>
+ <programlisting>&nbsp;&nbsp;&nbsp;buf-&gt;type = fourcc_to_buf_video((void*)this-&gt;avi-&gt;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>&nbsp;&nbsp;&nbsp;vpts = metronom->got_spu_packet(metronom, buf->pts);</programlisting>
+ <programlisting>&nbsp;&nbsp;&nbsp;vpts = metronom-&gt;got_spu_packet(metronom, buf-&gt;pts);</programlisting>
</para>
<para>
Another difference is that while both audio and video decoders are automatically