Commit graph

11295 commits

Author SHA1 Message Date
Wim Taymans
fe82970085 Hide the fact that caps nego doesn't work over a queue.
Original commit message from CVS:
Hide the fact that caps nego doesn't work over a queue.

Can someone fix xvideosink so that it compiles with Xv support again?
2001-12-24 01:04:08 +00:00
Wim Taymans
c05a4511cd Removed the munmap for now
Original commit message from CVS:
Removed the munmap for now
2001-12-23 23:36:44 +00:00
Thomas Vander Stichele
74ad376d0a small fix
Original commit message from CVS:
small fix
2001-12-23 22:33:18 +00:00
Thomas Vander Stichele
7f14b49641 removing all plugin checks
Original commit message from CVS:
removing all plugin checks
2001-12-23 21:06:48 +00:00
Thomas Vander Stichele
3c95e4f3a2 plugins should be gotten from the separate gst-plugins module from now on we're fixing bugs there all over the place
Original commit message from CVS:
plugins should be gotten from the separate gst-plugins module from now on
we're fixing bugs there all over the place
2001-12-23 20:59:46 +00:00
Thomas Vander Stichele
9fe4587856 more changes
Original commit message from CVS:
more changes
2001-12-23 18:12:12 +00:00
Thomas Vander Stichele
7b61bb6f74 moving around
Original commit message from CVS:
moving around
2001-12-23 17:27:58 +00:00
Wim Taymans
93b782b643 Added a drawing of a possible player architecture added plugin guidelines
Original commit message from CVS:
Added a drawing of a possible player architecture
added plugin guidelines
2001-12-23 17:18:27 +00:00
Thomas Vander Stichele
02c10c5005 changing stuff
Original commit message from CVS:
changing stuff
2001-12-23 17:14:13 +00:00
Thomas Vander Stichele
be277c79e0 moving libs around
Original commit message from CVS:
moving libs around
2001-12-23 17:12:25 +00:00
Andy Wingo
b9f6bb9c0e no plugins builds by default
Original commit message from CVS:
no plugins builds by default
2001-12-23 16:51:07 +00:00
Wim Taymans
6c538d527b Fix an event leak
Original commit message from CVS:
Fix an event leak
Ne need to save signals on longjmp
2001-12-23 14:50:44 +00:00
Wim Taymans
bdd6df925e Better cothread cleanup
Original commit message from CVS:
Better cothread cleanup
2001-12-23 14:27:48 +00:00
Andy Wingo
6bb3f78a0c added --disable-plugins option; useful if you are making the switch to gst-plugins
Original commit message from CVS:
added --disable-plugins option; useful if you are making the switch to
gst-plugins
2001-12-23 05:59:38 +00:00
Andy Wingo
7aa5885df5 pkg-config related fixes note that a relative path in your PKG_CONFIG_PATH will show up as ${pcfiledir}, unfortunately
Original commit message from CVS:
pkg-config related fixes
note that a relative path in your PKG_CONFIG_PATH will show up as ${pcfiledir},
unfortunately
2001-12-23 03:24:17 +00:00
Thomas Vander Stichele
af1edc5413 added new libs stuff
Original commit message from CVS:
added new libs stuff
2001-12-23 00:11:14 +00:00
Thomas Vander Stichele
2b20b7178f moving bytestream in the same way as in gst-plugins since ac3parse needs it
Original commit message from CVS:
moving bytestream in the same way as in gst-plugins since ac3parse needs it
2001-12-23 00:07:59 +00:00
Wim Taymans
467035ce70 Never destroy the current cothread.
Original commit message from CVS:
Never destroy the current cothread.
Don't try to signal the scheduler if we don't have one
2001-12-22 23:19:17 +00:00
Wim Taymans
6cdaf3fa84 Including pad.h should be enough.
Original commit message from CVS:
Including pad.h should be enough.
2001-12-22 21:57:24 +00:00
Wim Taymans
37ef20dd0f Fixed the typefind function
Original commit message from CVS:
Fixed the typefind function
2001-12-22 21:28:16 +00:00
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