mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
Removed the _bytes_ from the methods because we don't return raw bytes.
Original commit message from CVS: Removed the _bytes_ from the methods because we don't return raw bytes.
This commit is contained in:
parent
e8e88392e9
commit
ed5460e787
2 changed files with 10 additions and 10 deletions
|
@ -59,7 +59,7 @@ gst_bytestream_destroy (GstByteStream *bs)
|
|||
}
|
||||
|
||||
GstBuffer*
|
||||
gst_bytestream_bytes_peek (GstByteStream *bs, guint64 len)
|
||||
gst_bytestream_peek (GstByteStream *bs, guint64 len)
|
||||
{
|
||||
GstBuffer *buf;
|
||||
|
||||
|
@ -81,11 +81,11 @@ gst_bytestream_bytes_peek (GstByteStream *bs, guint64 len)
|
|||
}
|
||||
|
||||
GstBuffer*
|
||||
gst_bytestream_bytes_read (GstByteStream *bs, guint64 len)
|
||||
gst_bytestream_read (GstByteStream *bs, guint64 len)
|
||||
{
|
||||
GstBuffer *buf;
|
||||
|
||||
buf = gst_bytestream_bytes_peek (bs, len);
|
||||
buf = gst_bytestream_peek (bs, len);
|
||||
bs->index += len;
|
||||
bs->pos += len;
|
||||
|
||||
|
@ -93,16 +93,16 @@ gst_bytestream_bytes_read (GstByteStream *bs, guint64 len)
|
|||
}
|
||||
|
||||
gboolean
|
||||
gst_bytestream_bytes_seek (GstByteStream *bs, guint64 offset)
|
||||
gst_bytestream_seek (GstByteStream *bs, guint64 offset)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gint
|
||||
gst_bytestream_bytes_flush (GstByteStream *bs, guint64 len)
|
||||
gst_bytestream_flush (GstByteStream *bs, guint64 len)
|
||||
{
|
||||
if (len == 0)
|
||||
return len;
|
||||
|
||||
return GST_BUFFER_SIZE (gst_bytestream_bytes_read (bs, len));
|
||||
return GST_BUFFER_SIZE (gst_bytestream_read (bs, len));
|
||||
}
|
||||
|
|
|
@ -44,10 +44,10 @@ struct _GstByteStream
|
|||
GstByteStream* gst_bytestream_new (GstPad *pad);
|
||||
void gst_bytestream_destroy (GstByteStream *bs);
|
||||
|
||||
GstBuffer* gst_bytestream_bytes_peek (GstByteStream *bs, guint64 len);
|
||||
GstBuffer* gst_bytestream_bytes_read (GstByteStream *bs, guint64 len);
|
||||
gboolean gst_bytestream_bytes_seek (GstByteStream *bs, guint64 offset);
|
||||
gint gst_bytestream_bytes_flush (GstByteStream *bs, guint64 len);
|
||||
GstBuffer* gst_bytestream_peek (GstByteStream *bs, guint64 len);
|
||||
GstBuffer* gst_bytestream_read (GstByteStream *bs, guint64 len);
|
||||
gboolean gst_bytestream_seek (GstByteStream *bs, guint64 offset);
|
||||
gint gst_bytestream_flush (GstByteStream *bs, guint64 len);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in a new issue