Commit graph

177 commits

Author SHA1 Message Date
Erik Walthinsen
bdae23a5fe merge from HEAD on 20011016
Original commit message from CVS:
merge from HEAD on 20011016
2001-10-17 08:51:04 +00:00
Wim Taymans
e37919f916 Fixed a leak.
Original commit message from CVS:
Fixed a leak.
2001-10-14 12:14:44 +00:00
Wim Taymans
e0c55e8f6d Added change_state to fakesrc
Original commit message from CVS:
Added change_state to fakesrc
2001-10-13 17:56:10 +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
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
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
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
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
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
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
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
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
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
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
David I. Lehn
d374b67d19 typo fix
Original commit message from CVS:
typo fix
2001-09-01 01:05:11 +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
Erik Walthinsen
75312f3812 Updated the event system to use event,timestamp,data instead of a pointer.
Original commit message from CVS:
Updated the event system to use event,timestamp,data instead of a pointer.
Updated elements to use the event system correctly.
Changed "size" to "filesize" in disksrc.
2001-08-22 21:45:25 +00:00
Erik Walthinsen
e0653beb7f added more properties, added a 'touch' feature
Original commit message from CVS:
updated filesrc to gobject (oops), added more properties, added a 'touch' feature
2001-08-22 19:54:08 +00:00
Erik Walthinsen
8f55a3b61f added new gstfilesrc to replace disksrc eventually
Original commit message from CVS:
added new gstfilesrc to replace disksrc eventually
2001-08-22 04:30:27 +00:00
Wim Taymans
12bbbd5c1e Lots of modifications to the plugin system.
Original commit message from CVS:
Lots of modifications to the plugin system.
- Added a GstPluginfeature object that serves as a base class for all
plugin contents.
- changed the plugin API, everyhting is now added with
gst_plugin_add_feature
- typefactories are named now so that they can be located easily and filled
in at plugin load.
- mime types like "video/raw image/raw" are gone for now.
- lots of plugin updates (style and API changes)
- tested with an without registry.
- updates to various tools.
- added a little testsuite to test/show how you can load plugins (4 modes)

Test this one, Almost everything has changed :-)
2001-08-21 20:16:48 +00:00
Steve Baker
3cda4e2eaa sync with the current CVS glib API
Original commit message from CVS:
sync with the current CVS glib API
2001-08-13 19:00:13 +00:00
Wim Taymans
b53802cffe mmap returns MAP_FAILED in case of an error, also do a perror in case of a failure.
Original commit message from CVS:
mmap returns MAP_FAILED in case of an error, also do a perror in case of a
failure.
2001-08-10 21:36:57 +00:00
Wim Taymans
453f2fee05 Removed the old eos and qos functions.
Original commit message from CVS:
Removed the old eos and qos functions.
Removed the functions from the elements.
2001-08-10 17:34:59 +00:00
Erik Walthinsen
ee9426a1a1 Initial code for the event system.
Original commit message from CVS:
Initial code for the event system.
2001-08-06 20:37:21 +00:00
Wim Taymans
2ef964f77b Added prototypes for gst_pad_peek, gst_pad_select and gst_pad_selectv.
Original commit message from CVS:
Added prototypes for gst_pad_peek, gst_pad_select and gst_pad_selectv.
Added different scheduling methods in aggregator.
Fixed a bug in fakesrc when setting up the scheduling functions.
2001-07-11 22:52:48 +00:00
Wim Taymans
abf2bfc273 Some cleanups in output of various test plugins.
Original commit message from CVS:
Some cleanups in output of various test plugins.
Added debug output to tee.
Added buffer duplication to identity.
2001-07-11 19:22:20 +00:00
Wim Taymans
bb1cb28921 Added request pads to fakesink.
Original commit message from CVS:
Added request pads to fakesink.
2001-07-11 16:45:43 +00:00
Wim Taymans
1b50ccc246 Added DEBUG_FUNCPTR to most plugins.
Original commit message from CVS:
Added DEBUG_FUNCPTR to most plugins.
Added request pads to fakesrc and aggregator.
2001-07-11 15:51:40 +00:00
Wim Taymans
93c163032d Some code cleanups.
Original commit message from CVS:
Some code cleanups.
Added printouts of the buffer timestamps in identity, fakesrc, fakesink.
Added an aggregator test element.
2001-07-11 14:56:16 +00:00
Wim Taymans
13e5c7ba91 Fix an endless loop at EOS.. this is a hack...
Original commit message from CVS:
Fix an endless loop at EOS.. this is a hack...
2001-06-30 00:35:55 +00:00
Richard Boulton
37c010c00d Convert XMMS and LIBGHTTP checks to use GST_CHECK_FEATURE()
Original commit message from CVS:
Convert XMMS and LIBGHTTP checks to use GST_CHECK_FEATURE()
XMMS check is turned off by default (though not in a very neat way)
2001-06-26 21:44:45 +00:00
Erik Walthinsen
7f8d8fe8d5 Merged from GOBJECT1 to HEAD at 200106241
Original commit message from CVS:
Merged from GOBJECT1 to HEAD at 200106241
2001-06-25 01:20:11 +00:00
Wim Taymans
41381041f7 Changed the bytes_written to a gint to avoid overflow...
Original commit message from CVS:
Changed the bytes_written to a gint to avoid overflow...
2001-06-19 18:32:27 +00:00
Wim Taymans
5c73a7824c Changed a stupid assert in request_pad.
Original commit message from CVS:
Changed a stupid assert in request_pad.
Some fixes for pullregion and EOS conditions.
Remove an unneeded check in the scheduler (check for NULL buffer)
some EOS fixes for pullregion in disksrc.
Removed the macro in the gstparse.h header 'cause it's internal to gstparse.c
Added a check in gstparse for NULL element.
2001-06-15 19:13:45 +00:00
Wim Taymans
3c18e42b39 Fixed some warnings.
Original commit message from CVS:
Fixed some warnings.
2001-06-01 18:30:40 +00:00
Thomas Vander Stichele
abe959c771 coded small bit in to allow changing of output location
Original commit message from CVS:
coded small bit in to allow changing of output location
2001-06-01 15:29:03 +00:00
Erik Walthinsen
13502fc293 Added some caps != NULL checks.
Original commit message from CVS:
Added some caps != NULL checks.
Patched up a problem with the thread handling when the iteration fails.
Cleaned up the output of -inspect a tiny bit.
2001-05-27 23:57:34 +00:00
Wim Taymans
14b03dfeac don't link against libgst.la because it seems to fail on some libtool versions.
Original commit message from CVS:
don't link against libgst.la because it seems to fail on some libtool
versions.
2001-05-26 12:17:05 +00:00
Wim Taymans
dfc62bcbce Added GST_LIBS to LIBADD.
Original commit message from CVS:
Added GST_LIBS to LIBADD.
2001-05-25 21:38:21 +00:00
Erik Walthinsen
4a583683e5 Merged from INCSCHED on 200505251!!!
Original commit message from CVS:
Merged from INCSCHED on 200505251!!!
2001-05-25 21:00:07 +00:00
David I. Lehn
568cbc3030 Update some signal func vars.
Original commit message from CVS:
Update some signal func vars.
2001-05-23 23:24:17 +00:00
Bastien Nocera
427203dc28 - it is now possible to change the opened file when state is PAUSED
Original commit message from CVS:
- it is now possible to change the opened file when state is PAUSED
2001-05-22 19:22:57 +00:00
Wim Taymans
8a89e0b83e Made pipefilter a DECOUPLED element.
Original commit message from CVS:
Made pipefilter a DECOUPLED element.
2001-05-20 14:12:36 +00:00
David I. Lehn
c447ea71a4 Pass buffer in handoff signal
Original commit message from CVS:
Pass buffer in handoff signal
2001-05-10 20:28:51 +00:00
David I. Lehn
38c9344701 Added "silent" arg.
Original commit message from CVS:
Added "silent" arg.
2001-05-09 04:12:09 +00:00