Commit graph

430 commits

Author SHA1 Message Date
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