Commit graph

47 commits

Author SHA1 Message Date
Benjamin Otte
fcf39956d7 tests/: add simple benchmark to test various speeds of fakesrc ! identity ! identity ! ... ! fakesink.
Original commit message from CVS:
* tests/.cvsignore:
* tests/Makefile.am:
* tests/mass_elements.c: (gst_get_current_time), (main):
add simple benchmark to test various speeds of fakesrc ! identity !
identity ! ... ! fakesink.
Usage: mass_elements [num_identities] [num_buffers]
If not specified they default to 1000.
2004-07-02 03:26:44 +00:00
Thomas Vander Stichele
2cb849415c uraeus fix
Original commit message from CVS:
uraeus fix
2004-05-09 14:30:04 +00:00
Benjamin Otte
d0459102c0 tests/: add benchmark to test how long spider needs to create a pipeline
Original commit message from CVS:
* tests/Makefile.am:
* tests/spidey_bench.c: (handoff), (main):
add benchmark to test how long spider needs to create a pipeline
2004-05-08 17:38:24 +00:00
Thomas Vander Stichele
e7b9201555 reorganize C/LIB flags add gst_info to gstcompat.h
Original commit message from CVS:
reorganize C/LIB flags
add gst_info to gstcompat.h
2004-05-04 12:38:36 +00:00
Ronald S. Bultje
718b21bfc2 gst/elements/gstfilesink.c: Fix for if we pass NULL as property to location.
Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/elements/gstfilesink.c: (gst_filesink_set_location):
Fix for if we pass NULL as property to location.
* gst/elements/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_handle_event), (gst_pipefilter_chain):
Fix for instantiate-test (see below).
* gst/gststructure.c: (_gst_structure_parse_value):
Fix compile error on gcc-2.96.
* configure.ac:
* tests/Makefile.am:
* tests/instantiate/Makefile.am:
* tests/instantiate/create.c: (create_all_elements), (main):
Add a test that instantiates all elements. This makes it easy to
track dead code for old API/design (like setting event functions
on sink pads and so on).
2004-01-07 13:13:03 +00:00
Wim Taymans
bf7bff6c47 Small compile fixes
Original commit message from CVS:
Small compile fixes
2003-02-10 20:08:59 +00:00
David Schleef
63e9f360e4 More nasm removal cleanups
Original commit message from CVS:
More nasm removal cleanups
2002-10-25 19:24:46 +00:00
David Schleef
9c5a2cdea7 Remove HAVE_NASM-related stuff
Original commit message from CVS:
Remove HAVE_NASM-related stuff
2002-10-25 03:36:34 +00:00
Thomas Vander Stichele
fc2647319f bufspeed gives warnings because of volatile discardation who wrote it, can it be fixed ? what does it actually test ?...
Original commit message from CVS:
bufspeed gives warnings because of volatile discardation
who wrote it, can it be fixed ? what does it actually test ? please
add some description in README
2002-09-23 05:35:08 +00:00
Wim Taymans
a06d81ef60 Added segment seeking experiment
Original commit message from CVS:
Added segment seeking experiment
2002-08-02 11:43:25 +00:00
Wim Taymans
e81fb05e74 Remove bufspeed test
Original commit message from CVS:
Remove bufspeed test
2002-07-08 19:25:07 +00:00
Steve Baker
6004504f6a added a test which shows a problem with state changes when the toplevel bin is a thread.
Original commit message from CVS:
added a test which shows a problem with state changes when the toplevel bin is a thread.
there is some kind of deadlock. It would be good if wingo or wtay could have a look.
2002-06-01 15:01:51 +00:00
Bastien Nocera
f1e89caecd - add all the dirs to the DIST_SUBDIRS
Original commit message from CVS:
- add all the dirs to the DIST_SUBDIRS
2002-01-15 21:25:02 +00:00
Bastien Nocera
769cc8e90c - dodge compiling memchunk and bufspeed if NASM is not present
Original commit message from CVS:
- dodge compiling memchunk and bufspeed if NASM is not present
2002-01-15 21:00:56 +00:00
Andy Wingo
1a4c7726aa put everything in tests/
Original commit message from CVS:
put everything in tests/
2002-01-05 01:25:28 +00:00
Wrobell
d4d144032c - use GST_CFLAGS only
Original commit message from CVS:
- use GST_CFLAGS only
- use AM_CFLAGS instead of CFLAGS so user cflags are not overwritten
- use LDADD instead of LIBS (by analogy for <program>_LDADD, look for
example in tools/Makefile.am) - kill me if it is wrong
2001-12-16 18:49:35 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Erik Walthinsen
d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00
Erik Walthinsen
7adfdaf6dc added timecache testing code
Original commit message from CVS:
added timecache testing code
2001-08-22 21:00:19 +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
517f0b5cc9 Added a simple thread state change app.
Original commit message from CVS:
Added a simple thread state change app.
2001-07-27 17:12:46 +00:00
Wim Taymans
3a1a483cd9 Added a muxing test case.
Original commit message from CVS:
Added a muxing test case.
2001-07-11 19:26:22 +00:00
Thomas Vander Stichele
8d262037b9 test for disconnect and reconnect of elements
Original commit message from CVS:
test for disconnect and reconnect of elements
2001-06-01 22:23:24 +00:00
Wim Taymans
42ebe8b588 Fixed a couple of compiler warnings.
Original commit message from CVS:
Fixed a couple of compiler warnings.
2001-06-01 18:24:41 +00:00
Erik Walthinsen
a3d7869aaa various build fixes
Original commit message from CVS:
various build fixes
2001-05-27 21:56:04 +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
Wim Taymans
a8ba9c4122 Autoplug3 shows an example of an autoplugged mp3 player.
Original commit message from CVS:
Autoplug3 shows an example of an autoplugged mp3 player.
Autoplug4 shows various static autoplugger examples.
2001-04-17 21:03:43 +00:00
Wim Taymans
ac7bf2494d Updated the padfactory test code.
Original commit message from CVS:
Updated the padfactory test code.
2001-04-16 21:48:44 +00:00
Wim Taymans
3ec275832a Merged the CAPSNEGO1 branch..
Original commit message from CVS:
Merged the CAPSNEGO1 branch..
2001-03-12 21:02:12 +00:00
Wim Taymans
55006f6367 Merged the AUTOPLUG2 branch
Original commit message from CVS:
Merged the AUTOPLUG2 branch
2001-03-07 21:52:56 +00:00
Wim Taymans
085b22ac1f Added a little tee test program.
Original commit message from CVS:
Added a little tee test program.
2001-01-19 00:07:40 +00:00
Erik Walthinsen
9ca8248cc2 Massive build fixup. Will send message to -devel list later with details on the changes and what they mean for Makef...
Original commit message from CVS:
Massive build fixup.  Will send message to -devel list later with details
on the changes and what they mean for Makefile.am writers.  Check
docs/random/omega/build/TODO for a list of things that I had to make sure
of.

NOTE: this requires a complete rebuild of all plugins, since I also
changed the STATE enum to a bitfield instead of sequential numbers.
2001-01-14 21:55:41 +00:00
Wim Taymans
18132480f4 ooops, eos is a dir
Original commit message from CVS:
ooops, eos is a dir
2001-01-02 02:18:50 +00:00
Wim Taymans
49b6a51534 Fixed makefiles for docs
Original commit message from CVS:
Fixed makefiles for docs
Added eos test programs
2001-01-02 02:16:24 +00:00
Erik Walthinsen
45ab0201da I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2000-12-31 22:13:31 +00:00
Wim Taymans
bc4619a44b Added multiple caps to the pads
Original commit message from CVS:
Added multiple caps to the pads
Extended the padfactory for the multiple caps
GstCaps now have a name so that future manipulations on them can be done by name
Updated the plugins for the new caps list
2000-12-31 16:12:48 +00:00
Erik Walthinsen
1d0694ade4 added case4
Original commit message from CVS:
added case4
2000-12-27 00:01:27 +00:00
Wim Taymans
efda5ffd9a Added API to dynamically create GstCaps and GstProps
Original commit message from CVS:
Added API to dynamically create GstCaps and GstProps
Changed typefind of mpeg1 to set the GstProps.
autoplugging now works again for mpeg1, whoohoo!
2000-12-19 16:36:10 +00:00
Wim Taymans
bbb9799996 Cleanup in gsttypes.c: removed the crazy GList of GHashTables, since the autoplugger will use the GstCaps and element...
Original commit message from CVS:
Cleanup in gsttypes.c:
removed the crazy GList of GHashTables, since the autoplugger will
use the GstCaps and elementfactories instead of the type system.
We don't maintain a list anymore of the elements for the specific
removed unused code in XML loading/saving.

Cleanup in gstelementfactory:
removed the register/unregister methods, register is now implicit when
gst_elementfactory_new is called. _unregister is now _destroy.
Removed logic to register/unregister the types in gsttypes.
added methods to query if the factory can src/sink a GstCaps
Make sure the elementfactory is set in the element_class when a new
element is registered with gst_elementfactory_new.

gst.c: properly register the basic bins
gst_pipeline: use new gstautoplug (next checkin)
gstprops: fixed an error in compatibility check
registry test program changes
plugins: misc changes for the new caps system.
2000-12-19 13:41:55 +00:00
Erik Walthinsen
da03fde054 WARNING: Don't grab this updated unless you're really, REALLY sure.
Original commit message from CVS:
WARNING: Don't grab this updated unless you're really, REALLY sure.
WARNING: Wait for the next one.

Whole lotta changes here, including a few random bits:

examples/*/Makefile: updated to use `libtool gcc`, not just `gcc`
gst/
gstbuffer.h: updated to new flag style
gst.c, gstdebug.h: added new debugging for function ptrs
gstpipeline.c: set type of parent_class to the class, not the object
gstthread.c: ditto
plugins/
cdparanoia/cdparanoia.c: added an argument type, updated some defaults
cobin/spindentity.c: updated to new do/while loopfunction style
mp3encode/lame/gstlame.c: argument types, whole lotta lame options
tests/: various changes

Now, for the big changes:  Once again, the scheduling system has changed.
And once again, it broke a whole bunch of things.  The gist of the change
is that there is now a function pointer for gst_pad_push and gst_pad_pull,
instead of a hard-wired function.  Well, currently they are functions, but
that's for debugging purposes only, they just call the function pointer
after spewing lots of DEBUG().

This changed the GstPad structure a bit, and the GstPad API as well.
Where elements used to provide chain() and pull() functions, they provide
chain() and get() functions. gst_pad_set_pull[region]_function has been
changed to get_pad_set_get[region]_function.  This means all the elements
out there that used to have pull functions need to be updated.  The calls
to that function have been changed in the normal elements, but the names
of the functions passed is still _pull[region](), which is an aesthetic
issue more than anything.

As for what doesn't work yet, just about anything dealing with Connections
is hosed, meaning threaded stuff won't work.  This will be fixed about 12
hours from now, after I've slept, etc.  The simplefake.c test works in
both cothreaded and chained cases, but not much else will work due to the
Connection problem.  Needless to say, don't grab this unless you *need*
these features *now*, else wait to update this stuff until tomorrow.

I'm going to sleep now.
2000-12-16 10:18:09 +00:00
Erik Walthinsen
5f7a20ff6f Added LAME encoder. Wow.
Original commit message from CVS:
Added LAME encoder.  Wow.
2000-12-12 09:40:25 +00:00
Erik Walthinsen
ffbc7201a7 Brand new source, the cdparanoia source. Reads audio data from a CD, writes out raw audio. The tests/paranoia.c pro...
Original commit message from CVS:
Brand new source, the cdparanoia source.  Reads audio data from a CD,
writes out raw audio.  The tests/paranoia.c program will simply hook this
up to a sound card.  It works perfectly.

Next step is to flesh out the rest of the element, including pad caps,
better seek and playout control, signals, and whatever else comes up.

A minor patch to the editor is included here, the GstElementFactory details
struct has a name change from 'class' to 'klass' that wasn't reflected
in the elementselect widget.  Fixd.
2000-12-12 06:49:26 +00:00
Wim Taymans
6fa6cd8ce4 First attempt at rebuilding the type/plugin system
Original commit message from CVS:
First attempt at rebuilding the type/plugin system
- make sure caps/props are saved in the registry
autoplugging is completely broken.
removed the typefactories and typeids from all the pads in the plugins
XML load/save is ok (be sure to rerun gstreamer-register)
2000-12-11 00:04:25 +00:00
Erik Walthinsen
1aed13ae6b Test program for simple queue operations. Good for testing thread/cothread interations.
Original commit message from CVS:
Test program for simple queue operations.  Good for testing thread/cothread
interations.
2000-12-08 20:31:40 +00:00
Wim Taymans
d29ff12b69 Updated the test program
Original commit message from CVS:
Updated the test program
2000-12-07 18:38:54 +00:00
Wim Taymans
9652a3aef9 Added a test program for the capabilities
Original commit message from CVS:
Added a test program for the capabilities
2000-12-03 17:52:14 +00:00
Erik Walthinsen
b6d31c1c72 Megapatch, changes which states are available, how they're used, and how they're set. Also modifies the scheduling s...
Original commit message from CVS:
Megapatch, changes which states are available, how they're used, and how
they're set.  Also modifies the scheduling system, breaking pulled
buffers.  Check mail archives for more details.
2000-07-17 17:14:15 +00:00