docs/gst/tmpl/: Some fixings for blantently wrong text.

Original commit message from CVS:
* docs/gst/tmpl/gstbuffer.sgml:
* docs/gst/tmpl/gstclock.sgml:
Some fixings for blantently wrong text.
This commit is contained in:
Wim Taymans 2005-06-29 14:52:44 +00:00
parent 80717cb5d1
commit 802496fb46
3 changed files with 18 additions and 10 deletions

View file

@ -1,3 +1,9 @@
2005-06-29 Wim Taymans <wim@fluendo.com>
* docs/gst/tmpl/gstbuffer.sgml:
* docs/gst/tmpl/gstclock.sgml:
Some fixings for blantently wrong text.
2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org> 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
* check/Makefile.am: * check/Makefile.am:

View file

@ -29,7 +29,8 @@ video frame with a given width, height and bits per plane.
buffer = gst_buffer_new (); buffer = gst_buffer_new ();
GST_BUFFER_SIZE (buffer) = size; GST_BUFFER_SIZE (buffer) = size;
GST_BUFFER_DATA (buffer) = g_alloc (size); GST_BUFFER_MALLOCDATA (buffer) = g_alloc (size);
GST_BUFFER_DATA (buffer) = GST_BUFFER_MALLOCDATA (buffer);
... ...
</programlisting> </programlisting>
</example> </example>
@ -54,7 +55,7 @@ use gst_buffer_create_sub().
</para> </para>
<para> <para>
If the plug-in wants to modify the buffer in-place, it should first obtain If the plug-in wants to modify the buffer in-place, it should first obtain
a buffer that is safe to modify by using gst_buffer_copy_on_write(). This a buffer that is safe to modify by using gst_buffer_make_writable(). This
function is optimized so that a copy will only be made when it is necessary. function is optimized so that a copy will only be made when it is necessary.
</para> </para>
<para> <para>
@ -81,7 +82,7 @@ Last reviewed on August 12th, 2004 (0.8.5)
<!-- ##### SECTION See_Also ##### --> <!-- ##### SECTION See_Also ##### -->
<para> <para>
#GstBufferPool, #GstPad, #GstData #GstPad, #GstMiniObject
</para> </para>
<!-- ##### STRUCT GstBuffer ##### --> <!-- ##### STRUCT GstBuffer ##### -->

View file

@ -11,9 +11,10 @@ Different clock implementations are possible by implementing this abstract
base class. base class.
</para> </para>
<para> <para>
The clock time is always measured in nanoseconds, with the clock being set The clock time is always measured in nanoseconds and always increases. The
to 0 when the pipeline goes to READY. Usually all renderers sync to the global pipeline uses the clock to calculate the stream time.
clock so that the clock is always a good measure of the time in the pipeline. Usually all renderers sync to the global clock so that the clock is always
a good measure of the current playback time in the pipeline.
</para> </para>
<!-- ##### SECTION See_Also ##### --> <!-- ##### SECTION See_Also ##### -->
@ -208,11 +209,11 @@ The status of the entry
The return value of a clock operation. The return value of a clock operation.
</para> </para>
@GST_CLOCK_OK: @GST_CLOCK_OK: The operation succeded.
@GST_CLOCK_EARLY: The operation was scheduled too late. @GST_CLOCK_EARLY: The operation was scheduled too late.
@GST_CLOCK_UNSCHEDULED: @GST_CLOCK_UNSCHEDULED: The clockID was unscheduled
@GST_CLOCK_BUSY: @GST_CLOCK_BUSY: The ClockID is busy
@GST_CLOCK_BADTIME: @GST_CLOCK_BADTIME: A bad time was provided to a function.
@GST_CLOCK_ERROR: An error occured @GST_CLOCK_ERROR: An error occured
@GST_CLOCK_UNSUPPORTED: Operation is not supported @GST_CLOCK_UNSUPPORTED: Operation is not supported