Commit graph

563 commits

Author SHA1 Message Date
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
Andy Wingo
e69fa6272e finished default bufferpool implementation (setting size/maxsize on buffers)
Original commit message from CVS:
finished default bufferpool implementation (setting size/maxsize on buffers)
2001-08-27 04:40:48 +00:00
Andy Wingo
5a22a8c8e6 bufferpool changes (next commit will update plugins)
Original commit message from CVS:
bufferpool changes (next commit will update plugins)
2001-08-27 04:19:58 +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
c6127f065d added the FUNC accessors and moved _append proto
Original commit message from CVS:
added the FUNC accessors and moved _append proto
2001-08-22 20:52:34 +00:00
Wim Taymans
644ba1d233 Removed a bunch of double #defines
Original commit message from CVS:
Removed a bunch of double #defines
2001-08-22 20:49:47 +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
Steve Baker
91357de891 added some shims for GValue get/set (compiles but not tested)
Original commit message from CVS:
added some shims for GValue get/set (compiles but not tested)
2001-08-22 19:40:05 +00:00
Steve Baker
cca2c0174b added #include <string.h>
Original commit message from CVS:
added #include <string.h>
2001-08-22 19:39:02 +00:00
Thomas Vander Stichele
940a17410d added GST_BUFFER_FREE_FUNC since it didn't seem to be in there and building failed
Original commit message from CVS:
added GST_BUFFER_FREE_FUNC since it didn't seem to be in there and
building failed
2001-08-22 13:47:18 +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
Erik Walthinsen
0732e92957 added more INFO lines to elementfactory_make to make debugging missing plugins easier
Original commit message from CVS:
added more INFO lines to elementfactory_make to make debugging missing plugins easier
2001-08-21 19:30:45 +00:00
Jamie Gennis
73db2dd939 sync gobject2gtk with paranormal
Original commit message from CVS:
sync gobject2gtk with paranormal
2001-08-14 04:11:32 +00:00
Erik Walthinsen
de1d561cdb added first pass at the GstTimeCache
Original commit message from CVS:
added first pass at the GstTimeCache
2001-08-13 20:19:34 +00:00
Erik Walthinsen
f47ec2ab8b messy hack to make sure libgst.la builds properly (FIXME!)
Original commit message from CVS:
messy hack to make sure libgst.la builds properly (FIXME!)
2001-08-13 19:03:58 +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
Steve Baker
bd887e2e61 doc update
Original commit message from CVS:
doc update
2001-08-12 09:48:41 +00:00
Erik Walthinsen
c7c1192ab3 fixed stupid bug in buffer_span()
Original commit message from CVS:
fixed stupid bug in buffer_span()
2001-08-11 22:04:48 +00:00
Erik Walthinsen
474a80cb8e - changed timestamps to gint64 (*signed* 64-bit)
Original commit message from CVS:
- changed timestamps to gint64 (*signed* 64-bit)
- updated buf->offset handling to deal with the -1 (0xffffffff) case
- added gst_buffer_span() and gst_buffer_merge (see -devel for details)
2001-08-11 08:25:05 +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
a4b8bc9133 added gstevent.h
Original commit message from CVS:
added gstevent.h
2001-08-06 20:40:45 +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
6650712126 Added a missing UNLOCK macro.
Original commit message from CVS:
Added a missing UNLOCK macro.
2001-08-06 19:52:27 +00:00
Erik Walthinsen
f79f04f876 moved the object-model headers back to _HDR where they belong
Original commit message from CVS:
moved the object-model headers back to _HDR where they belong
2001-08-03 00:08:12 +00:00
Wim Taymans
3526156fe7 Added a missing state change switch.
Original commit message from CVS:
Added a missing state change switch.
Uncommented a big FIXME that was needed after all.
Stop now works.
2001-07-31 20:57:58 +00:00
Steve Baker
2a4b6618a7 compile fix when atomic refcounting is not available
Original commit message from CVS:
compile fix when atomic refcounting is not available
2001-07-27 13:12:13 +00:00
Wim Taymans
4456b616ae Added shims for signal introspections and g_type_parent
Original commit message from CVS:
Added shims for signal introspections and g_type_parent
2001-07-25 21:40:03 +00:00
Wim Taymans
a7e160f409 Make sure the autoplugger doesn't try to connect elements with request pads for now.
Original commit message from CVS:
Make sure the autoplugger doesn't try to connect elements with request pads
for now.
2001-07-18 19:04:29 +00:00
Wim Taymans
d1b4ff4eed Added missing pad_select prototypes/defs.
Original commit message from CVS:
Added missing pad_select prototypes/defs.
2001-07-16 20:18:17 +00:00
Wim Taymans
4fde5f8410 Properly set the eos flag when no elements can be scheduled.
Original commit message from CVS:
Properly set the eos flag when no elements can be scheduled.
2001-07-15 13:04:38 +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
dd666aaeff Added a g_assert when a filled bufpen is overwritten.
Original commit message from CVS:
Added a g_assert when a filled bufpen is overwritten.
2001-07-11 19:23:57 +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
Andy Wingo
eaaaabf3aa to element classes without using an elementfactory.
Original commit message from CVS:
Aplied the patch from Andy Wingo <apwingo@eos.ncsu.edu> add padtemplates
to element classes without using an elementfactory.
The gst_element_add_padtemplate_to_class method was renamed to
gst_element_class_add_padtemplate to better match glib/gtk conventions.
2001-07-11 12:33:17 +00:00
Trivial commit, anonymous here
4594d70939 Added arg setting for UINT types.
Original commit message from CVS:
Added arg setting for UINT types.
2001-07-04 20:49:06 +00:00
Steve Baker
4837519148 return NULL from g2g_object_class_find_property if gtk_object_arg_get_info returns an error
Original commit message from CVS:
return NULL from g2g_object_class_find_property if gtk_object_arg_get_info returns an error
2001-07-01 16:01:24 +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
1c3b5dc57b Allow elements to be given custom names with [] syntax. ie, gstreamer-launch disksrc[mysrc] ! ...
Original commit message from CVS:
Allow elements to be given custom names with [] syntax.

ie, gstreamer-launch disksrc[mysrc] ! ...
makes a disksrc element named mysrc, rather than disksrc0

Suggestion: don't name things with names with numbers at the end, or they
may conflict with names allocated automatically.
2001-06-29 17:53:02 +00:00
Richard Boulton
22162769b8 Prefix for marshallers should be gst_marshal, rather than gst.
Original commit message from CVS:
Prefix for marshallers should be gst_marshal, rather than gst.
This now actually compiles for me.
2001-06-29 10:26:13 +00:00
Richard Boulton
b3e700e0f8 Ensure that the marshaller code #includes glib-object.h, and hence the neccessary definitions to enable it to compile.
Original commit message from CVS:
Ensure that the marshaller code #includes glib-object.h, and hence the
neccessary definitions to enable it to compile.

I don't pretend to understand how the marshalling stuff works - I just
know that it clearly needs this #include, or something similar.  If there's
a more correct fix, someone else can do it.  Possibly this is a
glib-genmarshal bug, but I've not got the time to go into that.
2001-06-29 09:39:58 +00:00
Richard Boulton
5ffe5a0901 Ensure that the gstmarshal.[ch] files are generated in time by generating both files in the same rule: previously, on...
Original commit message from CVS:
Ensure that the gstmarshal.[ch] files are generated in time by generating
both files in the same rule: previously, only the .c would be generated in
time.  Don't put the files in dists (add a dist-hook to take them out),
and clean the files when running distclean.
2001-06-28 23:58:54 +00:00
Richard Boulton
835d9ee594 Make sure conditionally compiled files are added to the dist.
Original commit message from CVS:
Make sure conditionally compiled files are added to the dist.
2001-06-28 21:44:33 +00:00
Wim Taymans
4498dccbec Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it instead so that we can do full expansion on the s...
Original commit message from CVS:
Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it
instead so that we can do full expansion on the sysconfdir.
2001-06-26 22:15:20 +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
Richard Boulton
6d077dbe3d Fix g2g_object_class_list_properties() so that num_properties gets set.
Original commit message from CVS:
Fix g2g_object_class_list_properties() so that num_properties gets set.
2001-06-26 19:06:37 +00:00
Wim Taymans
6f0bce54fa Removed the final bits of GstMeta.
Original commit message from CVS:
Removed the final bits of GstMeta.
Added conditional compilation of various subsystems.
2001-06-25 20:36:02 +00:00
Richard Boulton
71beaf9179 Add consts to appropriate parameters in debug and info handlers.
Original commit message from CVS:
Add consts to appropriate parameters in debug and info handlers.
Add appropriate types for some of the memebers of the GTypeInfo struct.
2001-06-25 20:09:10 +00:00
Erik Walthinsen
75d3b2f90b added gstmarshal.[ch] to .cvsignore, added gstmarshal.list to EXTRA_DIST
Original commit message from CVS:
added gstmarshal.[ch] to .cvsignore, added gstmarshal.list to EXTRA_DIST
2001-06-25 20:01:42 +00:00
Erik Walthinsen
86b0fc6cf3 added some dirs to DIST_SUBDIRS, added a comment to gstobject.h
Original commit message from CVS:
added some dirs to DIST_SUBDIRS, added a comment to gstobject.h
2001-06-25 20:00:45 +00:00
Erik Walthinsen
e75f6da2f9 removed gstmarshal.[ch], added gstmarshal.list, and a first pass at generation rules
Original commit message from CVS:
removed gstmarshal.[ch], added gstmarshal.list, and a first pass at generation rules
2001-06-25 19:59:33 +00:00
Wim Taymans
d89a407f2f Added configure checks to disable various major subsystems.
Original commit message from CVS:
Added configure checks to disable various major subsystems.
2001-06-25 19:19:17 +00:00
Erik Walthinsen
18c6ade4d8 gobject2gtk.h: added g2g_object_get_type() prototype gst.c: fixed gst_add_paths_func() prototype gstelement.c: change...
Original commit message from CVS:
gobject2gtk.h: added g2g_object_get_type() prototype
gst.c: fixed gst_add_paths_func() prototype
gstelement.c: changed some prototypes, added a cast
2001-06-25 17:22:58 +00:00
Wim Taymans
4cb6d1ad0f Added a missing #else
Original commit message from CVS:
Added a missing #else
2001-06-25 17:17:30 +00:00
Richard Boulton
fff0c87af8 Fix a warning; stuff following an #endif
Original commit message from CVS:
Fix a warning; stuff following an #endif
2001-06-25 12:28:38 +00:00
Erik Walthinsen
91d7e800d5 Reworked the arguments for DEBUG and INFO. Removed -debug-verbose.
Original commit message from CVS:
Reworked the arguments for DEBUG and INFO.  Removed -debug-verbose.
Renamed GST_DISABLE_XML to GST_DISABLE_LOADSAVE and added --disable flag.
2001-06-25 06:45:56 +00:00
Erik Walthinsen
43ee8c6b88 Changed all globally defined stub functions to use the g2g_ prefix instead of g_, to avoid *any* potential namespace ...
Original commit message from CVS:
Changed all globally defined stub functions to use the g2g_ prefix instead
of g_, to avoid *any* potential namespace conflicts.
2001-06-25 03:37:52 +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
Erik Walthinsen
2703619624 initial pass at #ifdef'ing xml load/save
Original commit message from CVS:
initial pass at #ifdef'ing xml load/save
2001-06-24 21:18:28 +00:00
Steve Baker
2745b823ab added ref counting to the buffer pool. also _destroy will clean up the buffer pool mem_chunk if it is the default imp...
Original commit message from CVS:
added ref counting to the buffer pool. also _destroy will clean up the buffer pool mem_chunk if it is the default implementation
2001-06-21 11:19:08 +00:00
Steve Baker
5c5b2dd244 fixed operator precedence bug which caused 32 times too much memory to be allocated for each GstBuffer struct
Original commit message from CVS:
fixed operator precedence bug which caused 32 times too much memory to be allocated for each GstBuffer struct
2001-06-20 14:53:14 +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
Erik Walthinsen
5b830ed6ad changed plugin-srcdir to plugin-builddir, which is what it should be
Original commit message from CVS:
changed plugin-srcdir to plugin-builddir, which is what it should be
2001-06-19 07:57:06 +00:00
Richard Boulton
5bac75942d Simplify properties which contain lists of integer and integer range entries to minimal combination of ints and range...
Original commit message from CVS:
Simplify properties which contain lists of integer and integer range
entries to minimal combination of ints and ranges that is equivalent.
eg, (1,2,3,7-12,13) becomes (1-3,7-13)

Don't bother with floats for the moment, though it would be easy to add
an equivalent, which would simplify overlapping ranges.
2001-06-18 22:33:35 +00:00
Steve Baker
5023598cb3 added _gst_buffer_pool_initialize
Original commit message from CVS:
added _gst_buffer_pool_initialize
2001-06-17 14:35:09 +00:00
Steve Baker
921392eee7 added a default bufferpool factory function. it reuses existing instances of bufferpool if requests are made for exis...
Original commit message from CVS:
added a default bufferpool factory function. it reuses existing instances of bufferpool if requests are made for existing buffer sizes
2001-06-17 13:55:55 +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
Steve Baker
933a7aeff4 should restore dynamic connection of pads (couldn't really test it though)
Original commit message from CVS:
should restore dynamic connection of pads (couldn't really test it though)
2001-06-15 06:33:29 +00:00
Wim Taymans
8eaa39e111 Loop in pullregion until the desired buffer has been pulled.
Original commit message from CVS:
Loop in pullregion until the desired buffer has been pulled.
2001-06-13 21:33:31 +00:00
Steve Baker
c1c2236210 can now take comma delimited list of pads. eg gstreamer-launch disksrc location=~/mp3/gnome.mp3 ! mad ! int2float src...
Original commit message from CVS:
can now take comma delimited list of pads. eg gstreamer-launch disksrc location=~/mp3/gnome.mp3 ! mad ! int2float src%d,src%d\!sink%d,sink%d float2int ! osssink
2001-06-10 11:57:39 +00:00
Steve Baker
76544d6da3 store src and sink pads in slists to get ready for the src1,src2\!sink1,sink2 syntax
Original commit message from CVS:
store src and sink pads in slists to get ready for the src1,src2\!sink1,sink2 syntax
2001-06-09 11:43:58 +00:00
Steve Baker
42d724726c if a named pad doesn't exist, try creating a new pad using the padtemplate name. eg int2float src%d!sink%d float2int
Original commit message from CVS:
if a named pad doesn't exist, try creating a new pad using the padtemplate name. eg int2float src%d!sink%d float2int
2001-06-09 10:16:12 +00:00
David I. Lehn
cd3595577b Added manpage
Original commit message from CVS:
Added manpage
Ignore built autoplugtest binary
Bump debian version to 0.2.0
2001-06-07 16:56:27 +00:00
Wim Taymans
bc9cbb1643 Removed a warning.
Original commit message from CVS:
Removed a warning.
2001-06-06 19:15:10 +00:00
Wim Taymans
c416297af4 Changed the maxcothreads to 16. connect to the new_ghost_pad signal in parse.
Original commit message from CVS:
Changed the maxcothreads to 16.
connect to the new_ghost_pad signal in parse.
2001-06-06 18:29:57 +00:00
Richard Boulton
083d01c3d9 Revert accidentally applied changes.
Original commit message from CVS:
Revert accidentally applied changes.
Time for bed.
2001-06-05 01:27:53 +00:00
Richard Boulton
b971f48169 FIx memleak in save-thyself introduced by changing plugin_get_list to copy.
Original commit message from CVS:
FIx memleak in save-thyself introduced by changing plugin_get_list to
copy.
2001-06-05 01:26:01 +00:00
Richard Boulton
3eaff63dcf Simple fix to stop gstreamer-compprep crashing when the registry is in use.
Original commit message from CVS:
Simple fix to stop gstreamer-compprep crashing when the registry is in
use.
2001-06-05 01:15:29 +00:00
Wim Taymans
db0325ee37 Use the STACKSIZE and number of cothreads to calculate the cothread stack space (easier to change the number of cothr...
Original commit message from CVS:
Use the STACKSIZE and number of cothreads to calculate the cothread stack
space (easier to change the number of cothreads).
2001-06-04 16:02:48 +00:00
Thomas Vander Stichele
7f41ebff13 added an eos handler so that gstreamer-launch quits when the first element fires it
Original commit message from CVS:
added an eos handler so that gstreamer-launch quits when the first element
fires it
2001-06-04 15:38:44 +00:00
Richard Boulton
785d258c33 Replace NO_X conditional compilation with testing whether DISPLAY env variable is set, and doing gtk_type_init() inst...
Original commit message from CVS:
Replace NO_X conditional compilation with testing whether DISPLAY env
variable is set, and doing gtk_type_init() instead of gtk_init() if not.
2001-06-04 00:51:35 +00:00
Wim Taymans
dd067c0000 optionally call gtk_type_init() instead of gtk_init() if NO_X is defined. This avoids the X dependency of GStreamer.
Original commit message from CVS:
optionally call gtk_type_init() instead of gtk_init() if NO_X is defined. This
avoids the X dependency of GStreamer.
2001-06-03 19:19:45 +00:00
Wim Taymans
fe9384f440 Set the caps on a proxied pad when the pad is not connected.
Original commit message from CVS:
Set the caps on a proxied pad when the pad is not connected.
2001-06-03 11:28:09 +00:00
Wim Taymans
9d9951d31b Copy the padtemplate to the ghostpad.
Original commit message from CVS:
Copy the padtemplate to the ghostpad.
2001-06-02 12:45:02 +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
Wim Taymans
42f52b0b2d Fixed a bug so that gst_props_new (NULL) == NULL
Original commit message from CVS:
Fixed a bug so that gst_props_new (NULL) == NULL
2001-05-30 21:14:46 +00:00
Erik Walthinsen
af1a58b347 stupid mistake, I put != instead of == in the g_return_if's
Original commit message from CVS:
stupid mistake, I put != instead of == in the g_return_if's
2001-05-30 20:36:01 +00:00
Erik Walthinsen
dfa833096c added sanity checks to make sure _push and _pull don't get called on pads of the wrong direction
Original commit message from CVS:
added sanity checks to make sure _push and _pull don't get called on pads of the wrong direction
2001-05-30 20:13:34 +00:00
Richard Boulton
58975a15a1 Update Makefile.am.future - a replacement for Makefile.am which uses features present in recent versions of automake ...
Original commit message from CVS:
Update Makefile.am.future - a replacement for Makefile.am which uses
features present in recent versions of automake (>1.4d) to avoid horrendous
hackery.
2001-05-29 12:43:21 +00:00
Erik Walthinsen
eb20f704f3 fixed #define line continuation in gstsparc.h
Original commit message from CVS:
fixed #define line continuation in gstsparc.h
2001-05-28 22:23:18 +00:00
Erik Walthinsen
0d34adb92c changed debug so it always prints pid and cid in color
Original commit message from CVS:
changed debug so it always prints pid and cid in color
2001-05-28 21:41:02 +00:00
Erik Walthinsen
c442db8165 some fixes to handle builddirs, which distcheck uses, along with complete .pc files
Original commit message from CVS:
some fixes to handle builddirs, which distcheck uses, along with complete .pc files
2001-05-28 07:46:21 +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
Erik Walthinsen
a3d7869aaa various build fixes
Original commit message from CVS:
various build fixes
2001-05-27 21:56:04 +00:00
Wim Taymans
b93de9e922 Docs updates
Original commit message from CVS:
Docs updates
Changed the cothread to use sigjmp_buf
removed some unused methods.
Some code cleanups.
2001-05-27 14:37:29 +00:00
Erik Walthinsen
eb6a6267bd fixed up and turned back on GST_SCHEDULE_SAFETY
Original commit message from CVS:
fixed up and turned back on GST_SCHEDULE_SAFETY
2001-05-27 00:04:00 +00:00
Erik Walthinsen
f3098e9546 fixed cothread locking and set_arg/get_arg safety, and switched to 64 cothreads of 32KB
Original commit message from CVS:
fixed cothread locking and set_arg/get_arg safety, and switched to 64 cothreads of 32KB
2001-05-26 22:58:15 +00:00
Wim Taymans
51df56e1aa Removed redundant prototypes.
Original commit message from CVS:
Removed redundant prototypes.
2001-05-26 16:41:27 +00:00
Wim Taymans
86316a4d29 Fixed a bug in the typecast macros for padtemplates.
Original commit message from CVS:
Fixed a bug in the typecast macros for padtemplates.
2001-05-26 16:33:02 +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
e84c07c297 Removed a stupid printf.
Original commit message from CVS:
Removed a stupid printf.
2001-05-25 21:42:14 +00:00
Wim Taymans
9401162a8a Some cleanups.
Original commit message from CVS:
Some cleanups.
Removed some bogus code from element and pipeline elements.
Fixed a typo.
2001-05-25 21:39:54 +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
28437bf3e2 fixed rather heinous bug in gst_buffer_copy
Original commit message from CVS:
fixed rather heinous bug in gst_buffer_copy
2001-05-25 21:35:58 +00:00
Erik Walthinsen
b845ee86f8 removed some more noise, converted to GST_DEBUG
Original commit message from CVS:
removed some more noise, converted to GST_DEBUG
2001-05-25 21:31:12 +00:00
Erik Walthinsen
ceded2b36b removed annoying debug message during state change (made GST_DEBUG)
Original commit message from CVS:
removed annoying debug message during state change (made GST_DEBUG)
2001-05-25 21:25:36 +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
704918c3fa Added the possibility to escape chars in gstparse. You can now give it a cmdline like disksrc location=some\ sort\ of...
Original commit message from CVS:
Added the possibility to escape chars in gstparse. You can now give it a
cmdline like disksrc location=some\ sort\ of.mp3 ! .... and it does the
right thing.
2001-05-20 20:05:29 +00:00
Thomas Vander Stichele
90c0acec1c reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned
Original commit message from CVS:
reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned
2001-05-20 14:55:02 +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
18adcf5a3f - Fix cothread pointers and allocation so full 2M stack space available:
Original commit message from CVS:
- Fix cothread pointers and allocation so full 2M stack space available:
- Double maximums to use full stack space:
- COTHREAD_STACKSIZE = 16k
- COTHREAD_MAXTHREADS = 128
- cothread changes only verified on x86
- cothread_create returns NULL if nthreads == MAXTHREADS though not yet handled by gstschedule caller
2001-05-16 07:16:47 +00:00
David I. Lehn
a164187503 - basic arch check for HAVE_RDTSC
Original commit message from CVS:
- basic arch check for HAVE_RDTSC
- use common gst_trace_read_tsc() for RDTSC call
- add untested function to do ascii dump of trace data
2001-05-16 05:04:44 +00:00
Erik Walthinsen
981c654a60 some minor updates with a hair more speed
Original commit message from CVS:
some minor updates with a hair more speed
2001-05-10 23:43:34 +00:00
Erik Walthinsen
4cbdcef47f move cothread_context definition over to the .c
Original commit message from CVS:
move cothread_context definition over to the .c
2001-05-10 22:35:50 +00:00
Erik Walthinsen
facc9acb7a fixed up macros to match new RealPad stuff, change #if 1 to #if 0 to use, beware you must rebuild all plugins after c...
Original commit message from CVS:
fixed up macros to match new RealPad stuff, change #if 1 to #if 0 to use, beware you must rebuild all plugins after change
2001-05-10 22:30:00 +00:00
Erik Walthinsen
afd1953a04 moved cothread parameters into .c to avoid rebuilding libgst.la every time
Original commit message from CVS:
moved cothread parameters into .c to avoid rebuilding libgst.la every time
2001-05-10 22:10:19 +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
Wim Taymans
230eefbefc Make sure the plugin filaname is set before calling the init function.
Original commit message from CVS:
Make sure the plugin filaname is set before calling the init function.
2001-05-05 02:16:28 +00:00
Erik Walthinsen
f0cc8737ba fixed spelling mistake in user-visible output
Original commit message from CVS:
fixed spelling mistake in user-visible output
2001-05-03 23:21:39 +00:00
Wim Taymans
7565c285ad Created a macro of the va_arg parsing function because some systems (PPC) cannot handle passing a va_list by reference.
Original commit message from CVS:
Created a macro of the va_arg parsing function because some systems (PPC)
cannot handle passing a va_list by reference.
2001-05-03 22:29:44 +00:00
Wim Taymans
fe084f66f1 Added dynamic pads to the command line parser. ./gstreamer-launch disksrc location=/some/systemstream.mpg ! mpeg1pars...
Original commit message from CVS:
Added dynamic pads to the command line parser.

./gstreamer-launch disksrc location=/some/systemstream.mpg ! mpeg1parse video_00!
queue ! \{ mp1videoparse ! mpeg_play ! aasink \}

will now work.
2001-05-03 21:44:55 +00:00
Wim Taymans
5c43234108 Removed the assert on an unknown propertytype and print usefull info.
Original commit message from CVS:
Removed the assert on an unknown propertytype and print usefull info.
2001-05-01 22:43:21 +00:00
Steve Baker
f02d86f752 update sinesrc to latest caps
Original commit message from CVS:
update sinesrc to latest caps
2001-04-28 18:58:05 +00:00
Steve Baker
ad7fd56339 add factory init for sinesrc
Original commit message from CVS:
add factory init for sinesrc
2001-04-28 18:57:23 +00:00
Steve Baker
368feff16f add gst_props_get_float function
Original commit message from CVS:
add gst_props_get_float function
2001-04-28 18:56:10 +00:00
Wim Taymans
bbcfa2b2c9 Added enum parsing...
Original commit message from CVS:
Added enum parsing...
2001-04-27 21:14:56 +00:00
Erik Walthinsen
4a1566b7ee syntax error fixed (s/;/,/)
Original commit message from CVS:
syntax error fixed (s/;/,/)
2001-04-27 20:58:24 +00:00
Erik Walthinsen
c02326cf46 Added colorization to DEBUG and INFO. Colors are based on categories, with the strings in _gst_category_colors[] in ...
Original commit message from CVS:
Added colorization to DEBUG and INFO.  Colors are based on categories, with
the strings in _gst_category_colors[] in gstinfo.c  See wiki node
GstDebugColors for the actual colors, or /etc/DIR_COLORS works too.

Please comment on the colorization style and ideas in the above wiki node.
2001-04-27 20:31:22 +00:00
Erik Walthinsen
6ac86486a8 I will successfully compile code before I check it in.
Original commit message from CVS:
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
2001-04-24 21:28:18 +00:00
Erik Walthinsen
76cfe49b5e - commented out remainder of Meta stuff
Original commit message from CVS:
- commented out remainder of Meta stuff
- enhanced mem_chunk allocation to round up to nearest 32 bytes
this helps ensure that GstBuffers are more likely to be on cache-lines
- added free() and copy() function pointers to GstBuffer
- added code in _destroy and _copy to use above routines if !NULL
- fixed up _copy code to suck less
2001-04-24 19:20:15 +00:00
Erik Walthinsen
09588296ae Collection of minor changes: autogen.sh - remove config.cache before running ./configure gst/elements/gstfakesink.c -...
Original commit message from CVS:
Collection of minor changes:

* autogen.sh - remove config.cache before running ./configure
* gst/elements/gstfakesink.c - print out the size of the buffer, too
* plugins/Makefile.am - removed a spare trailing backslash
* plugins/arts/gst_artsio_impl.cc - change the scale back to 0.5
* plugins/oss/gstosssrc.c - change name slightly to match osssink
2001-04-23 23:16:12 +00:00
Wim Taymans
892f4b3204 API docs updates.
Original commit message from CVS:
API docs updates.
Properly implemented the disksink.
Fixed a compile problem with alsa.
Added bufferpool handling to dvdec
Some compiler warning fixes
2001-04-22 16:04:19 +00:00
Richard Boulton
610e9e8227 Merged from BRANCH-PLUGINVER1
Original commit message from CVS:
Merged from BRANCH-PLUGINVER1
2001-04-22 12:30:14 +00:00