Commit graph

1775 commits

Author SHA1 Message Date
Wim Taymans
b02211c06d Added buffer stats at the end, if it's not 0, we have a leak.
Original commit message from CVS:
Added buffer stats at the end, if it's not 0, we have a leak.
2001-12-22 21:26:56 +00:00
Wim Taymans
087dee1f62 This is an attempt at not segfaulting on errors but reporting some usefull info instead.
Original commit message from CVS:
This is an attempt at not segfaulting on errors but reporting some
usefull info instead.
- bin changes so errors can propagate.
- changed the _FAST macros to _CAST because that is what they do.
- removed all references to cothreads out of the core, they are
really a scheduler issue, handler with a sched_private gpointer.
- added a live buffer count, for debugging buffer leaks.
- added error checking in gst_scheduler_state_transition this solves the
"out of cothreads" problem.
- GST_ELEMENT_NO_ENTRY == GST_ELEMENT_INFINITE_LOOP
- added 2 private element flasg for use by the scheduler
(_COTHREAD_STOPPING) is now
- added scheduler entry points:
- _yield : to create possible scheduling points.
- _interrupt: to stop execution of an element.
- _error: to signal en error condition to the scheduler.
- improved error messages for pads.
- signal gst_element_error where appropriate.
- added the a new bin to the parent before entering it so one can reference
its children.
- queue memleak fixes on dispose.
- added possible deadlock detection in queue (turned off be default)
- GstBasicScheduler is a real class of its own now, hiding its internal
variables.
- GST_ELEMENT_IS_COTHREAD_STOPPING is gone. either call explicit _yield
operations, or make a sane loop.
- Better state change handling in filesrc. Better error reporting/recovery
too.
- updated core plugins.
- detect non decoupled elements on scheduler boundries and error.
2001-12-22 21:18:17 +00:00
Andy Wingo
11456df888 debian/Makfile.in was not getting produced, so i commented it out of AC_OUTPUT.
Original commit message from CVS:
debian/Makfile.in was not getting produced, so i commented it out of AC_OUTPUT.
2001-12-22 02:21:39 +00:00
Andy Wingo
4574d80f95 changed -d configure option to --autogen-debug added --autogen-noconfigure option that skips the configure stage adde...
Original commit message from CVS:
* changed -d configure option to --autogen-debug
* added --autogen-noconfigure option that skips the configure stage
* added --autogen-nocheck to skip version checks
* cleared a little bit of kruft
2001-12-22 01:58:59 +00:00
David I. Lehn
129894dff8 Remove Debian control files from distribution: they become immediately out of date when the lazy maintainer doesn't h...
Original commit message from CVS:
Remove Debian control files from distribution:
* they become immediately out of date when the lazy maintainer doesn't
have them ready when rest of code is released
* they are an annoyance when renaming or deleting files
2001-12-21 20:26:57 +00:00
Thomas Vander Stichele
be48dec0a8 output cosmetic fix
Original commit message from CVS:
output cosmetic fix
2001-12-21 13:52:18 +00:00
Andy Wingo
981cf4d212 this patch fixes arts and artsd compilation problems. this is necessary for make dist to work. i know plugins are bei...
Original commit message from CVS:
this patch fixes arts and artsd compilation problems. this is necessary for make
dist to work. i know plugins are being moved, though, this needs to be ported to
the -plugins module.

* experimental and broken selection now use GST_CHECK_FEATURE, for what it's worth
* crucial fixes to arts m4's that need backporting to autostars and -plugins
* make gst-feature less frantic in reporting missing plugins
* cleanups and misc arts fixes
2001-12-20 20:41:28 +00:00
Wim Taymans
775656d35f Added another test app.
Original commit message from CVS:
Added another test app.
2001-12-20 20:06:45 +00:00
Wim Taymans
f5affde61c - Reclaim cothread state even if the cothread was never activated after the free.
Original commit message from CVS:
- Reclaim cothread state even if the cothread was never activated after
the free.
- fix the bin state change when there are no more children.
- use a real method to signal the parent bin of a state change.
- move the state change policy in the scheduler.
- remove the unused and ridiculous state change event
- don't free the cothread state when the element is disabled. only free it
when the element is removed from the scheduler.
2001-12-20 20:03:10 +00:00
Wim Taymans
a8b1346857 cothread cleanup.
Original commit message from CVS:
cothread cleanup.
- removed some old code.
- ran the thing through indent
- rename cothread_init/free to cothread_context_init/free
- implement cothread_free/destroy to clear the cothread_state slot
- make cothread_init reuse empty slots.
minor cleanups in error reporting (gstpad, gstelement)
code cleanup in gstthread
make unexpected state changes in gstthread less fatal
free the cothread_state in the scheduler.

This one passes all the current cvs testcases including dynamic-pipeline.
2001-12-20 02:41:34 +00:00
Andy Wingo
5212116302 gstreamer.m4 extra_dist removal
Original commit message from CVS:
gstreamer.m4 extra_dist removal
2001-12-20 01:27:13 +00:00
Andy Wingo
e8e87fe956 removed gstreamer.m4 (packages should use pkg.m4) guilaunch depends only on gtk, not libglade-gnome removed an unnece...
Original commit message from CVS:
* removed gstreamer.m4 (packages should use pkg.m4)
* guilaunch depends only on gtk, not libglade-gnome
* removed an unnecessary check in dynamic-pipeline.c
* attempted to avoid a spurious autoheader run
* gtk2 fixes
* killed a lot of files that automake brings in for us
* killed acinclude.m4, it's autogenerated
2001-12-20 01:20:22 +00:00
Andy Wingo
51bb2b1c4c fix to get guilaunch to build properly with gnome2
Original commit message from CVS:
fix to get guilaunch to build properly with gnome2
2001-12-19 22:16:01 +00:00
Wim Taymans
59d1e1d051 The test apps I'm using to track down cleanup issues.
Original commit message from CVS:
The test apps I'm using to track down cleanup issues.
2001-12-19 19:25:06 +00:00
Wim Taymans
34f05211c2 Added object cleanup at the end of -launch, report all problems please.
Original commit message from CVS:
Added object cleanup at the end of -launch, report all problems
please.
2001-12-19 19:23:51 +00:00
Wim Taymans
5ad018148c Some more work on cleanup.
Original commit message from CVS:
Some more work on cleanup.
- added two functions in the scheduler _setup and _reset to initialize
the context. In the case of the cothread context we have to map the
cothread stack space onto the threads stack.
- setup/reset the scheduler context in the threads context.
- fix the ghostpad cleanup.
- slightly changed the scheduler code to cleanly remove connections.
2001-12-19 19:22:53 +00:00
Wim Taymans
23eb626391 include gstevent.h
Original commit message from CVS:
include gstevent.h
2001-12-19 02:19:00 +00:00
Wim Taymans
7992d58179 Include it all
Original commit message from CVS:
Include it all
2001-12-19 02:05:59 +00:00
Wim Taymans
2c9d646895 Moved the typedef to gsttypes.h as stock rh 7.2 gcc doesn't seem to like it otherwise.
Original commit message from CVS:
Moved the typedef to gsttypes.h as stock rh 7.2 gcc doesn't seem to like
it otherwise.
2001-12-19 01:50:11 +00:00
Zaheer Abbas Merali
eb45d89cfb Added capsnego to the Tee Element
Original commit message from CVS:
Added capsnego to the Tee Element
2001-12-19 01:17:54 +00:00
Wim Taymans
4cbf01a7f0 Small g_print additions
Original commit message from CVS:
Small g_print additions
2001-12-18 19:45:31 +00:00
Wim Taymans
7dd1fb647b Remove the unref untill it works :(
Original commit message from CVS:
Remove the unref untill it works :(
2001-12-18 19:33:34 +00:00
Wim Taymans
b9e1c437bb Make launch catch pipeline events and print them out.
Original commit message from CVS:
Make launch catch pipeline events and print them out.
2001-12-18 19:07:06 +00:00
Wim Taymans
56d3cdf64a - Elements can now send events to their parent.
Original commit message from CVS:
- Elements can now send events to their parent.
- remove the g_signals from the core for parent<->child communication
- the application can easily get element info by listening for an event
signal from the toplevel bin.
- added gst_element_info()/_error().
- fakesrc and fakesink use the info event instead of g_print.
- GST_TYPE_* causes segfaults with elect fence, rever to G_TYPE_POINTER
until we know what's wrong.
- various leaks fixed wrt element destroy.
- The object that created the event is now stored as GST_EVENT_SRC
2001-12-18 19:03:07 +00:00
Wim Taymans
19bb74b352 Added IRIX compatibility code for dladdr
Original commit message from CVS:
Added IRIX compatibility code for dladdr
2001-12-18 17:02:02 +00:00
Wim Taymans
46ac5c55c2 free the entries and strings
Original commit message from CVS:
free the entries and strings
2001-12-18 16:56:40 +00:00
Wim Taymans
9a011a79c0 Reset the offset when going to READY
Original commit message from CVS:
Reset the offset when going to READY
2001-12-18 16:54:11 +00:00
Wim Taymans
741051f00d Clean to cothread context when destroyed
Original commit message from CVS:
Clean to cothread context when destroyed
2001-12-18 16:52:01 +00:00
Wim Taymans
4771e9affc Applied a cothread setup patch for IRIX from Nick Blievers
Original commit message from CVS:
Applied a cothread setup patch for IRIX from Nick Blievers
<nick.blievers@adacel.com>
2001-12-18 16:50:05 +00:00
Wim Taymans
e279738a3f Adde cothread context cleanup code
Original commit message from CVS:
Adde cothread context cleanup code
2001-12-18 16:49:13 +00:00
Wim Taymans
7cfd7c6d09 Added the testsuite
Original commit message from CVS:
Added the testsuite
2001-12-18 14:36:26 +00:00
Wim Taymans
b48a02d635 Added a testsuite for pipeline cleanup etc..
Original commit message from CVS:
Added a testsuite for pipeline cleanup etc..
2001-12-18 14:34:39 +00:00
Christian Schaller
5bdbee5a89 more // fixes
Original commit message from CVS:
more // fixes
2001-12-17 22:43:03 +00:00
Christian Schaller
8ebaaa0049 // fix
Original commit message from CVS:
// fix
2001-12-17 22:41:31 +00:00
Christian Schaller
3f55af9bb4 Ok, all // comments removed except the bloddy nested ones
Original commit message from CVS:
Ok, all // comments removed except the bloddy nested ones
2001-12-17 22:26:56 +00:00
Christian Schaller
b92cdd41c4 just one bad comment here
Original commit message from CVS:
just one bad comment here
2001-12-17 18:52:27 +00:00
Christian Schaller
ec729a5888 ok, one big bad file fixed for // comments almost, darn those nested comments irritate me
Original commit message from CVS:
ok, one big bad file fixed for // comments almost, darn those nested comments irritate me
2001-12-17 18:51:40 +00:00
Christian Schaller
7886394507 more of the popular // fixes
Original commit message from CVS:
more of the popular // fixes
2001-12-17 18:14:51 +00:00
Thomas Vander Stichele
1776717a40 xing and xaudio cleanup
Original commit message from CVS:
xing and xaudio cleanup
2001-12-17 16:50:20 +00:00
Wim Taymans
ceef45b80b Some help for playing both audio in video with -launch
Original commit message from CVS:
Some help for playing both audio in video with -launch
2001-12-17 14:24:26 +00:00
Wim Taymans
17649a6679 Added parallel pipeline syntex to the parser. ./gstreamer-launch filesrc location=/opt/data/AlienSong.mpg ! mpegdemux...
Original commit message from CVS:
Added parallel pipeline syntex to the parser.

./gstreamer-launch filesrc location=/opt/data/AlienSong.mpg ! mpegdemux
name=foo video_00! { queue ! mpeg2dec ! sdlvideosink } foo.audio_00! { queue
! mad ! osssink }

should do the trick :)
2001-12-17 14:18:03 +00:00
Wrobell
18ae9a069d - use GST_CFLAGS and GST_LIBS only
Original commit message from CVS:
- use GST_CFLAGS and GST_LIBS only
2001-12-17 12:47:39 +00:00
Thomas Vander Stichele
3235eb853d applied zilch's patch
Original commit message from CVS:
applied zilch's patch
2001-12-17 10:07:04 +00:00
Andrew Mitchell
f518f8e795 Re-add fix from the branch
Original commit message from CVS:
Re-add fix from the branch
2001-12-17 04:22:11 +00:00
Wim Taymans
209747879b also set the plugin builddir to pwd
Original commit message from CVS:
also set the plugin builddir to pwd
2001-12-16 23:46:50 +00:00
Andy Wingo
644940125e fixed CONFIG_DIR issues
Original commit message from CVS:
fixed CONFIG_DIR issues
2001-12-16 23:36:12 +00:00
Thomas Vander Stichele
2abe84ac12 fix GST_CONFIG_DIR
Original commit message from CVS:
fix GST_CONFIG_DIR
2001-12-16 22:37:17 +00:00
Thomas Vander Stichele
886cbe19ec try fixing GST_CONFIG_DIR
Original commit message from CVS:
try fixing GST_CONFIG_DIR
2001-12-16 22:15:02 +00:00
David I. Lehn
b343c988b6 merge fixup: guilaunch got removed, add it back
Original commit message from CVS:
merge fixup: guilaunch got removed, add it back
2001-12-16 20:02:53 +00:00
Wim Taymans
e567fed741 Remove the --help arg and don't quit
Original commit message from CVS:
Remove the --help arg and don't quit
2001-12-16 19:14:12 +00:00