Commit graph

8 commits

Author SHA1 Message Date
Erik Walthinsen
ff191d4b7b added peek_bytes, please note comments in gstbstest.c
Original commit message from CVS:
added peek_bytes, please note comments in gstbstest.c
2001-09-21 06:39:22 +00:00
Erik Walthinsen
48c1d9cc8e removed some annoying debugging
Original commit message from CVS:
removed some annoying debugging
2001-09-21 06:26:10 +00:00
Erik Walthinsen
8f3cfa70e6 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2001-09-21 06:13:42 +00:00
Erik Walthinsen
d2ed932d25 Totally new bytestream code, works well for non-spannable buffers, there's some refcounting problem still when used w...
Original commit message from CVS:
Totally new bytestream code, works well for non-spannable buffers, there's
some refcounting problem still when used with filesrc (spannable buffers).
To test, set the bytesperread or blocksize parameter of disksrc or filesrc
(resp), attach it to gstbstest (in this dir) with byte_size and count
parameters set, and pipe to fakesink or something.  gstbstest will exit(1)
after count buffers have been read from the bytestream.

disksrc location= bytesperread= ! gstbstest byte_size= count= ! fakesink
2001-09-20 20:48:49 +00:00
Wim Taymans
2f4462aa0f Added buffer shrinking.
Original commit message from CVS:
Added buffer shrinking.
2001-09-17 00:15:10 +00:00
Wim Taymans
ed5460e787 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.
2001-09-16 18:41:14 +00:00
Wim Taymans
55c2704ced Make bytestream functions return a GstBuffer so that we can do proper refcounting.
Original commit message from CVS:
Make bytestream functions return a GstBuffer so that we can do proper
refcounting.
Added first optimisations.
2001-09-16 18:22:42 +00:00
Wim Taymans
6bf73136b2 Completely unoptimized bytestream code, but it works.
Original commit message from CVS:
Completely unoptimized bytestream code, but it works.
2001-09-16 14:29:20 +00:00