Commit graph

523 commits

Author SHA1 Message Date
Wim Taymans fe49cb9cba Properly set the GType in the subbuffer too
Original commit message from CVS:
Properly set the GType in the subbuffer too
2001-10-13 16:43:43 +00:00
Steve Baker 3a16440217 fixed syntax
Original commit message from CVS:
fixed syntax
2001-10-13 12:24:29 +00:00
Wim Taymans eac5a34bee Added lots of neat stuff to fakesrc:
Original commit message from CVS:
Added lots of neat stuff to fakesrc:
- ability to g_malloc buffer data or to use subbuffers.
- fixed/0/random sized buffers with min/max size
- fill types: none/0/random/patterns
- set the parent buffer size
- an arg for dumping the buffer contents
2001-10-11 22:31:37 +00:00
Erik Walthinsen 61edf2c02c bunch of changes to the loadsave/registry #ifdefs, they aren't totally correct yet
Original commit message from CVS:
bunch of changes to the loadsave/registry #ifdefs, they aren't totally correct yet
2001-10-08 08:19:32 +00:00
Erik Walthinsen eb94357ec2 added touch param to filesrc to control whether to touch mmap'd pages
Original commit message from CVS:
added touch param to filesrc to control whether to touch mmap'd pages
2001-10-08 08:19:09 +00:00
Wim Taymans 9b7b1794bc Added code for sending an event to a pad.
Original commit message from CVS:
Added code for sending an event to a pad.
Added code to handle the event in fakesrc and fakesink.
2001-10-06 14:41:20 +00:00
Erik Walthinsen 0fc739a48f minor patch to error message in case of no registry support
Original commit message from CVS:
minor patch to error message in case of no registry support
2001-10-02 06:05:20 +00:00
Erik Walthinsen f71850c59b oops, those #defines weren't supposed to be committed
Original commit message from CVS:
oops, those #defines weren't supposed to be committed
2001-10-02 05:56:41 +00:00
Wim Taymans 4d831f6750 Added an option to preload plugins with
Original commit message from CVS:
Added an option to preload plugins with
--gst-plugin-load=<plugin1>,<plugin2>,...
Removed a bogus eos detection check.
2001-10-01 21:54:44 +00:00
Wim Taymans e9327c81ae loadsave fixes
Original commit message from CVS:
loadsave fixes
2001-10-01 20:54:14 +00:00
Erik Walthinsen 95fae173f7 reworked things to fully deal with having XML disabled
Original commit message from CVS:
reworked things to fully deal with having XML disabled
2001-10-01 19:41:03 +00:00
Wim Taymans f447082a5e Removed the instrument-functions flag
Original commit message from CVS:
Removed the instrument-functions flag
2001-09-30 22:11:16 +00:00
Wim Taymans ccccda7d5d Commit my pending changes.
Original commit message from CVS:
Commit my pending changes.
- revert WHERE stuff
- added fast type checking
- add preliminary stack trace functionality
- minor fixes/cleanups.
2001-09-30 22:01:14 +00:00
Joshua N. Pritikin 81a7a06c20 1 Make 64-bit clean.
Original commit message from CVS:
1 Make 64-bit clean.

2 (gst_filesrc_map_small_region) Fix memory leak.
2001-09-29 03:28:52 +00:00
Joshua N. Pritikin 925c27d16c rename gst_event_empty_new -> gst_event_new
Original commit message from CVS:
rename gst_event_empty_new -> gst_event_new
2001-09-28 23:00:12 +00:00
Erik Walthinsen 66b48557b7 added discont event to filesrc
Original commit message from CVS:
added discont event to filesrc
2001-09-27 20:14:59 +00:00
Erik Walthinsen f987d766e9 added discont enum for events
Original commit message from CVS:
added discont enum for events
2001-09-27 20:11:12 +00:00
Joshua N. Pritikin c786e56b3a add get'er
Original commit message from CVS:
add get'er
2001-09-26 23:14:32 +00:00
Joshua N. Pritikin 41f7bfd02b fix bugs in gst_buffer_print_live()
Original commit message from CVS:
fix bugs in gst_buffer_print_live()
2001-09-25 22:35:19 +00:00
Joshua N. Pritikin 7f5ec15359 add refcnt assertions
Original commit message from CVS:
add refcnt assertions
2001-09-25 04:07:09 +00:00
Andy Wingo a7fa31afef - if you call gst_element_request_pad_by_name() with, say "sink4" as the pad name and there is a "sink%d" template, t...
Original commit message from CVS:
- if you call gst_element_request_pad_by_name() with, say "sink4" as the pad name
and there is a "sink%d" template, the request_new_pad function will be called.
this is to allow for, for example, requesting a certain channel on a multichannel
device.
- to this end, request_new_pad now has the following prototype:
GstPad* (*request_new_pad) (GstElement *element, GstPadTemplate *templ, const gchar *name)
if request_pad_by_name was called with a name like "sink%d" (i.e. no parsing
was necessary) then NULL is passed as 'name'.
- all plugins that use request pads have been changed to the new api.

also, some incremental (untested) alsa updates, switching to the bytestream api...
2001-09-23 22:52:32 +00:00
Joshua N. Pritikin 3056a25c58 1 Switch back to GSList.
Original commit message from CVS:
1 Switch back to GSList.

2 Improve gst_buffer_print_live output.
2001-09-23 06:21:54 +00:00
Joshua N. Pritikin b77946f3a0 Oops! Turn off by default.
Original commit message from CVS:
Oops!  Turn off by default.
2001-09-23 06:07:15 +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 03587e2155 improve diag output
Original commit message from CVS:
improve diag output
2001-09-23 04:38:00 +00:00
Joshua N. Pritikin 478fff7d78 more doc
Original commit message from CVS:
more doc
2001-09-23 04:24:22 +00:00
Joshua N. Pritikin 4f81b9a5da 1 Add option GST_BUFFER_WHERE (off by default) to track the file:line info where each buffer is created. This is use...
Original commit message from CVS:
1 Add option GST_BUFFER_WHERE (off by default) to track the file:line
info where each buffer is created.  This is useful for tracking
buffer memory leaks.

2 Removed gst_buffer_ref_by_count.

3 Merged the GstBufferCopyFunc fix from HEAD.
2001-09-23 01:47:10 +00:00
David I. Lehn aa66e0f801 Remove duplicate g_slist_delete_link func
Original commit message from CVS:
Remove duplicate g_slist_delete_link func
2001-09-22 18:04:10 +00:00
Erik Walthinsen 803cf898ed added EOS event handling to filesrc
Original commit message from CVS:
added EOS event handling to filesrc
2001-09-21 20:02:01 +00:00
Erik Walthinsen 7be0cd55de added g_[s]list_delete_link
Original commit message from CVS:
added g_[s]list_delete_link
2001-09-21 20:01:27 +00:00
Wim Taymans f443469504 Added the missing g_slist_delete_link
Original commit message from CVS:
Added the missing g_slist_delete_link
2001-09-21 18:30:58 +00:00
Wim Taymans 4cbc68b7d6 Leave unreffing the buffers up to the plugin doing the _span.
Original commit message from CVS:
Leave unreffing the buffers up to the plugin doing the _span.
2001-09-21 17:31:45 +00:00
Wim Taymans c51ee618f1 Removed anoying debugging info
Original commit message from CVS:
Removed anoying debugging info
2001-09-21 17:28:44 +00:00
Wim Taymans d1ba7c212d some fixes to _span
Original commit message from CVS:
some fixes to _span
2001-09-17 00:15:46 +00:00
Wim Taymans e8e88392e9 Fixed the _is_span_fast check, NULL pointers are not an option.
Original commit message from CVS:
Fixed the _is_span_fast check, NULL pointers are not an option.
Fixed the memcpy in _span
2001-09-16 18:25:09 +00:00
Wim Taymans 3b006eabcf Added a function to get the gstreamer version number at runtime.
Original commit message from CVS:
Added a function to get the gstreamer version number at runtime.
2001-09-13 22:28:06 +00:00
Wim Taymans 2377b5d86d Added a plain copy of the bytstream code found in a52dec. it doesn't compile/work yet.
Original commit message from CVS:
Added a plain copy of the bytstream code found in a52dec.
it doesn't compile/work yet.
2001-09-13 21:56:11 +00:00
Wim Taymans f3f3a8fe7d Clean up some of the mess I made..
Original commit message from CVS:
Clean up some of the mess I made..
2001-09-12 22:53:56 +00:00
Wim Taymans c72c3f6596 Corrected what looks like a typo.
Original commit message from CVS:
Corrected what looks like a typo.
2001-09-12 21:59:34 +00:00
Wim Taymans 37db6764dc Register the event type.
Original commit message from CVS:
Register the event type.
Don't process an event in gstfakesink.c
2001-09-11 19:03:59 +00:00
Erik Walthinsen bd13c9eb8e Sync with my copy before wtay starts hacking...
Original commit message from CVS:
Sync with my copy before wtay starts hacking...
Decided to keep the GstBuffer name through most code because it's really
messy otherwise, and it doesn't really mean much either way.  Saves lots
of stupid casting.  fakesrc num_buffers=N ! fakesink ends with a segfault
on EOS right now, not tracked down yet.
2001-09-11 09:58:16 +00:00
Wim Taymans e435484b29 Set the event type in _new
Original commit message from CVS:
Set the event type in _new
2001-09-10 22:29:09 +00:00
Wim Taymans 792745e8a6 Added the event code to create/register/destroy events from a memchunk.
Original commit message from CVS:
Added the event code to create/register/destroy events from a memchunk.
2001-09-10 22:27:06 +00:00
Wim Taymans e0ad55e8cd Make GstEvent extend GstData and added some macros.
Original commit message from CVS:
Make GstEvent extend GstData and added some macros.
2001-09-10 22:06:04 +00:00
Wim Taymans 38bbb8c274 Added the GType and some macros to access/cast to the structure.
Original commit message from CVS:
Added the GType and some macros to access/cast to the structure.
2001-09-10 21:56:38 +00:00
Wim Taymans b7be7d61e5 Added the struct for GstData, which will be used for events and buffers.
Original commit message from CVS:
Added the struct for GstData, which will be used for events and buffers.
2001-09-10 21:53:18 +00:00
Wim Taymans 8d3ec40f5e Updates to make it compile against gtk1.2 again. mostly marshal stuff.
Original commit message from CVS:
Updates to make it compile against gtk1.2 again. mostly marshal stuff.
2001-09-10 20:11:22 +00:00
Erik Walthinsen 47c7a3c430 fixed a minor annoyance (maybe major flaw) with comments, asm, and escaped newlines
Original commit message from CVS:
fixed a minor annoyance (maybe major flaw) with comments, asm, and escaped newlines
2001-09-10 20:02:12 +00:00
Erik Walthinsen c6a04366a3 gstinfo.[ch], cothreads.c: added initial support for -finstrument_functions gstbin.c: removed a reference to config.h...
Original commit message from CVS:
gstinfo.[ch], cothreads.c: added initial support for -finstrument_functions
gstbin.c: removed a reference to config.h
gstbuffer.[ch]: added gst_buffer_is_span_fast(), used it in gst_buffer_span
elements/gstfilesrc.c: initial work fleshing out the event handling code

everywhere else: wrapped XML stuff in #ifndef's
2001-09-10 19:46:01 +00:00
Joshua N. Pritikin 8703d88ce7 Sync g_signal_new args with the marshaller (glib2 is very strict).
Original commit message from CVS:
Sync g_signal_new args with the marshaller (glib2 is very strict).
2001-09-10 19:00:42 +00:00