Commit graph

503 commits

Author SHA1 Message Date
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
Joshua N. Pritikin
800bf882c3 Change gtk_type_new -> g_object_new.
Original commit message from CVS:
Change gtk_type_new -> g_object_new.
2001-09-10 18:58:27 +00:00
Steve Baker
7dfe156f37 replace GstDparamPoint struct with GValue** (actually that was in the previous commit). Change gst_dparam_new_point t...
Original commit message from CVS:
replace GstDparamPoint struct with GValue** (actually that was in the previous commit). Change gst_dparam_new_point to gst_dparam_new_value_array
2001-09-10 18:51:27 +00:00
Steve Baker
4fefa734d6 s/Dparam/DParam/ <taaz> i'll whine about an irrelevant thing: Dparam vs DParam. though Dparam is more consistantly s...
Original commit message from CVS:
s/Dparam/DParam/ <taaz> i'll whine about an irrelevant thing: Dparam vs DParam.  though Dparam is more consistantly screwed up with everything else ;)
2001-09-10 17:20:45 +00:00
Steve Baker
750e6b8c97 dparams have arrived. see previous mail for an intro
Original commit message from CVS:
dparams have arrived. see previous mail for an intro
2001-09-10 16:28:43 +00:00
Steve Baker
e1798daa79 added GST_CAT_PARAMS
Original commit message from CVS:
added GST_CAT_PARAMS
2001-09-10 16:23:43 +00:00
Steve Baker
967315acac added G_VALUE_HOLDS* macros
Original commit message from CVS:
added G_VALUE_HOLDS* macros
2001-09-08 12:58:53 +00:00
Erik Walthinsen
b1ccfa05fa Added HP-PA for the heck of it. Totally untested, of course.
Original commit message from CVS:
Added HP-PA for the heck of it.  Totally untested, of course.
2001-09-05 21:50:43 +00:00
Erik Walthinsen
1aff968e49 and moved all the architecture- specific code out of the many header files and put them all in gstarch.h.
Original commit message from CVS:
Added MIPS support to cothreads (untested), and moved all the architecture-
specific code out of the many header files and put them all in gstarch.h.
2001-09-05 21:36:24 +00:00
Erik Walthinsen
b368687c6c added docs for _span and _merge, set pool_private to NULL on create
Original commit message from CVS:
added docs for _span and _merge, set pool_private to NULL on create
2001-09-04 04:34:32 +00:00
Andy Wingo
07d52eef34 I think I finally have this configdir thing under control. The defines on the make command lines were not following t...
Original commit message from CVS:
I think I finally have this configdir thing under control. The defines on the
make command lines were not following the GST_CONFIG_DIR variable.
2001-09-02 01:56:20 +00:00
Jamie Gennis
dceac416d5 added G_SQRT2 and other numeric constants to sync gobject2gtk with paranormal
Original commit message from CVS:
added G_SQRT2 and other numeric constants to sync gobject2gtk with paranormal
2001-09-01 14:46:24 +00:00
David I. Lehn
d374b67d19 typo fix
Original commit message from CVS:
typo fix
2001-09-01 01:05:11 +00:00
Andy Wingo
93249e5afc it's now mandatory to set the buffer_copy function. the default implementation sets it to gst_buffer_copy().
Original commit message from CVS:
it's now mandatory to set the buffer_copy function. the default implementation
sets it to gst_buffer_copy().
2001-08-31 16:40:03 +00:00
Bastien Nocera
711d79155d - ta ta ta, install gstevent.h, otherwise it doesn't work quite right, does it ?
Original commit message from CVS:
- ta ta ta, install gstevent.h, otherwise it doesn't work quite right, does it ?
2001-08-29 22:56:12 +00:00
Erik Walthinsen
6eee663d0f oops, another gtkism, changed GtkType to GType for filesrc
Original commit message from CVS:
oops, another gtkism, changed GtkType to GType for filesrc
2001-08-29 00:24:26 +00:00
Steve Baker
362272b7cf added g_value_copy to shim
Original commit message from CVS:
added g_value_copy to shim
2001-08-28 20:18:37 +00:00
Andy Wingo
56803c8716 removed DONTFREE from default bufferpool implementation
Original commit message from CVS:
removed DONTFREE from default bufferpool implementation
2001-08-27 07:29:07 +00:00
Andy Wingo
104844cb86 The bufferpool api has changed. Check gstbufferpool.h to see the updated interface.
Original commit message from CVS:
The bufferpool api has changed. Check gstbufferpool.h to see the updated
interface.

Also, the default bufferpool implementation has been finished somewhat. Take a
look at speed.c to see an example of its use, when I get the plugins committed.
2001-08-27 06:24:49 +00:00
Andy Wingo
b6a69722aa hopefully the last commit on libgst wrt bufferpools
Original commit message from CVS:
hopefully the last commit on libgst wrt bufferpools
2001-08-27 06:01:11 +00:00
Andy Wingo
82a13836c2 more changes...
Original commit message from CVS:
more changes...
2001-08-27 05:08:28 +00:00