Commit graph

16 commits

Author SHA1 Message Date
Wim Taymans 3e00a80989 Make debugging code less CPU consuling when compiled out.
Original commit message from CVS:
Make debugging code less CPU consuling when compiled out.
2001-09-25 22:09:45 +00:00
Joshua N. Pritikin b51de8d6ee 1 cope with running out of data 2 add a few assertions
Original commit message from CVS:
1 cope with running out of data

2 add a few assertions
2001-09-25 04:08:23 +00:00
Joshua N. Pritikin a3a159e216 fix memory leak in destroy, maybe pad needs help too
Original commit message from CVS:
fix memory leak in destroy, maybe pad needs help too
2001-09-24 19:57:45 +00:00
Erik Walthinsen aabc218a93 fleshed out the _destroy function
Original commit message from CVS:
fleshed out the _destroy function
2001-09-24 19:42:41 +00:00
Joshua N. Pritikin 2cbb2ffd35 1 Add GST_BUFFER_WHERE support to bytestream.
Original commit message from CVS:
1 Add GST_BUFFER_WHERE support to bytestream.

2 Sort live buffers by timestamp.  <g>

3 Rename GST_WHERE macro to GST_WHERE_ARGS.
2001-09-23 06:03:20 +00:00
Joshua N. Pritikin c1051d5087 fix memory leak
Original commit message from CVS:
fix memory leak
2001-09-23 00:00:19 +00:00
Wim Taymans 515b9b770b LGPL headers added.
Original commit message from CVS:
LGPL headers added.
2001-09-21 19:51:02 +00:00
Wim Taymans 73dbfbffe1 Renamed bytestream2 to bytestream again, the previous implementation sucked anyway.
Original commit message from CVS:
Renamed bytestream2 to bytestream again, the previous implementation
sucked anyway.
2001-09-21 19:25:28 +00:00
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