mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-03 05:05:52 +00:00
gstadapter: Align the comment description with public api instead of internal one.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677536
This commit is contained in:
parent
6758e5f00d
commit
b4ecac2c98
|
@ -550,16 +550,7 @@ gst_adapter_copy (GstAdapter * adapter, gpointer dest, gsize offset, gsize size)
|
||||||
copy_into_unchecked (adapter, dest, offset + adapter->skip, size);
|
copy_into_unchecked (adapter, dest, offset + adapter->skip, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*Flushes the first @flush bytes in the @adapter*/
|
||||||
* gst_adapter_flush:
|
|
||||||
* @adapter: a #GstAdapter
|
|
||||||
* @flush: the number of bytes to flush
|
|
||||||
*
|
|
||||||
* Flushes the first @flush bytes in the @adapter. The caller must ensure that
|
|
||||||
* at least this many bytes are available.
|
|
||||||
*
|
|
||||||
* See also: gst_adapter_map(), gst_adapter_unmap()
|
|
||||||
*/
|
|
||||||
static void
|
static void
|
||||||
gst_adapter_flush_unchecked (GstAdapter * adapter, gsize flush)
|
gst_adapter_flush_unchecked (GstAdapter * adapter, gsize flush)
|
||||||
{
|
{
|
||||||
|
@ -615,6 +606,16 @@ gst_adapter_flush_unchecked (GstAdapter * adapter, gsize flush)
|
||||||
adapter->scan_entry = NULL;
|
adapter->scan_entry = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_adapter_flush:
|
||||||
|
* @adapter: a #GstAdapter
|
||||||
|
* @flush: the number of bytes to flush
|
||||||
|
*
|
||||||
|
* Flushes the first @flush bytes in the @adapter. The caller must ensure that
|
||||||
|
* at least this many bytes are available.
|
||||||
|
*
|
||||||
|
* See also: gst_adapter_map(), gst_adapter_unmap()
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
gst_adapter_flush (GstAdapter * adapter, gsize flush)
|
gst_adapter_flush (GstAdapter * adapter, gsize flush)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue