Commit graph

1431 commits

Author SHA1 Message Date
Wim Taymans f498068ef7 Fix bogus warning message
Original commit message from CVS:
Fix bogus warning message
2003-02-11 21:03:51 +00:00
Wim Taymans 188ad57156 Define default scheduler name in just one place.
Original commit message from CVS:
Define default scheduler name in just one place.
2003-02-11 20:41:40 +00:00
Wim Taymans 9e1ed8d760 - fix gst_element_unlink, only unlink pads that belong to the dest element. (closes bug #105571)
Original commit message from CVS:
- fix gst_element_unlink, only unlink pads that belong to the dest
element. (closes bug #105571)
2003-02-11 20:28:29 +00:00
Wim Taymans 48c70d75cb Close bug #105570 (added gst_bin_remove_many patch from omega)
Original commit message from CVS:
Close bug #105570 (added gst_bin_remove_many patch from omega)
2003-02-11 20:15:50 +00:00
Wim Taymans 1d8d165f41 Fix recursive clock _get problem
Original commit message from CVS:
Fix recursive clock _get problem
2003-02-11 18:22:34 +00:00
Wim Taymans a6dfa0f792 Documentation updates
Original commit message from CVS:
Documentation updates
2003-02-10 23:01:55 +00:00
Wim Taymans 612d89da34 Added BEGIN_DECLS
Original commit message from CVS:
Added BEGIN_DECLS
2003-02-10 21:24:05 +00:00
Wim Taymans e44705d2c1 include *pool.h
Original commit message from CVS:
include *pool.h
2003-02-10 20:49:12 +00:00
Wim Taymans e462db001d inlcude *pool.h
Original commit message from CVS:
inlcude *pool.h
2003-02-10 20:46:07 +00:00
Wim Taymans 56c560785b - fix load/save
Original commit message from CVS:
- fix load/save
2003-02-10 20:37:21 +00:00
Wim Taymans 8f63a5e155 Removed old files
Original commit message from CVS:
Removed old files
2003-02-10 20:34:45 +00:00
Wim Taymans d555ecf1fd new uritype
Original commit message from CVS:
new uritype
2003-02-10 20:33:50 +00:00
Wim Taymans b030b5cef2 - Add more --disable options
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
Wim Taymans 136e5d254e Small cleanups and portability fixes for GUINT64
Original commit message from CVS:
Small cleanups and portability fixes for GUINT64
2003-02-10 20:16:38 +00:00
Wim Taymans ec6a2c1997 Small cleanups
Original commit message from CVS:
Small cleanups
2003-02-10 20:12:01 +00:00
Wim Taymans a2b7df0911 More sensible name for the scheduler when compiled without cothreads
Original commit message from CVS:
More sensible name for the scheduler when compiled without cothreads
2003-02-10 20:11:14 +00:00
Erik Walthinsen 0da768dacb Fix various inconsistencies discovered while attempting to fix --disable-*.
Original commit message from CVS:
Fix various inconsistencies discovered while attempting to fix --disable-*.
Uraeus: this should fix the bison.simple problem that you've had.
2003-02-10 07:53:58 +00:00
Wim Taymans f85c54a3b8 removed old code, g_object_get is the prefered method to get object properties
Original commit message from CVS:
removed old code, g_object_get is the prefered method to get object
properties
2003-02-08 02:26:15 +00:00
Wim Taymans 3ac27d6cf1 Fix typo spotted by tjansen
Original commit message from CVS:
Fix typo spotted by tjansen
2003-02-06 23:22:03 +00:00
Wim Taymans 50fccd3791 Clear any queued buffers when going to READY.
Original commit message from CVS:
Clear any queued buffers when going to READY.
2003-02-06 20:22:34 +00:00
David Schleef a35e4e7053 Change %lld format to G_INT64_FORMAT
Original commit message from CVS:
Change %lld format to G_INT64_FORMAT
2003-02-06 01:52:26 +00:00
Wim Taymans 69f65800b3 Fix uri function..
Original commit message from CVS:
Fix uri function..
2003-02-05 23:23:41 +00:00
Ronald S. Bultje 637326bc8d older gccs crack here
Original commit message from CVS:
older gccs crack here
2003-02-05 17:09:50 +00:00
Wim Taymans 7f3b5032b4 Only inform scheduler when the element changes scheduling stategy.
Original commit message from CVS:
Only inform scheduler when the element changes scheduling stategy.
2003-02-03 23:13:36 +00:00
Wim Taymans d7e33dd2ce - Use the eventhandler instead of the event function to send events.
Original commit message from CVS:
- Use the eventhandler instead of the event function to send events.
- make the scheduler setup the eventhandlers
- intercept flush events on pads links that can potentially queue data
and flush it.
- some more debugging info in spider.

I can think of one case where this flush might fail: unconnected pads where
the scheduler has not set up the eventhandler yet. I'll come up with a
solution for that soon.
2003-02-03 22:50:55 +00:00
Wim Taymans 6ad8197d61 - implement FLOATING flag on caps/props
Original commit message from CVS:
- implement FLOATING flag on caps/props
- use gstmemchunk for caps/props
- implement remove_entry for props
- various refcounting functions
- fix refcounting on caps/props
- use tracing for caps/props/propsentries
- fix memleak in transform functions
- fix refcounting on elementfactory padtemplates
- add dispose for padtemplates
- shortcut pad negotiation early on
2003-02-02 19:58:11 +00:00
Wim Taymans f05a353f5c gst_object_swap -> gst_object_replace as it's a better name. Wait for next commit to make gstelement.c compile again.
Original commit message from CVS:
gst_object_swap -> gst_object_replace as it's a better name. Wait for
next commit to make gstelement.c compile again.
2003-02-02 19:49:29 +00:00
Wim Taymans fe83917b5c - replace old tracing with common GstTrace
Original commit message from CVS:
- replace old tracing with common GstTrace
2003-02-02 19:40:10 +00:00
Wim Taymans 6b44117681 - Add the trace name
Original commit message from CVS:
- Add the trace name
2003-02-02 19:34:56 +00:00
Wim Taymans 3521cec843 - Added dispose handler
Original commit message from CVS:
- Added dispose handler
- remove unused mutex/cond
- use trace API
2003-02-02 19:21:06 +00:00
Wim Taymans fb663a408f - Small cleanups
Original commit message from CVS:
- Small cleanups
- add dispose handler that spews an error as the systemclock can never
be disposed of.
2003-02-02 19:19:39 +00:00
Wim Taymans b87dbe8c98 Some extra debug info
Original commit message from CVS:
Some extra debug info
2003-02-02 19:14:26 +00:00
Wim Taymans eab16fcf18 Funny how noone noticed that <list> tags are completely ignored, this patch fixes that
Original commit message from CVS:
Funny how noone noticed that <list> tags are completely ignored, this
patch fixes that
2003-02-02 19:13:43 +00:00
Wim Taymans e8395f57a9 Add infrastructure to trace memleaks.
Original commit message from CVS:
Add infrastructure to trace memleaks.
2003-02-02 19:10:44 +00:00
Wim Taymans e671a6ad22 - Small cleanup
Original commit message from CVS:
- Small cleanup
2003-02-02 18:58:51 +00:00
David Schleef 393033c6fa Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Original commit message from CVS:
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT.  Fix
pointer<->int conversion.  Fixes warnings on alpha.
2003-02-01 20:29:27 +00:00
Wim Taymans 2c4d0a7e60 Comment out sparc asm as it's broken.
Original commit message from CVS:
Comment out sparc asm as it's broken.
2003-01-31 17:53:35 +00:00
Brian Cameron d13abb525a + Fixed #includes in gst/cothreads.c so that configure.h before processing #ifdef HAVE_UCONTEXT_H, so it gets handled...
Original commit message from CVS:
+ Fixed #includes in gst/cothreads.c so that configure.h before
processing #ifdef HAVE_UCONTEXT_H, so it gets handled properly.
+ Fixed libs/ext/cothreads so that it doesn't require -Wall/-Werror when
compiling with Forte.
2003-01-31 15:41:45 +00:00
Wim Taymans 1c324a59f0 Small cleanup
Original commit message from CVS:
Small cleanup
2003-01-27 21:37:13 +00:00
Wim Taymans 07e409f402 Added some debug info
Original commit message from CVS:
Added some debug info
2003-01-27 21:31:58 +00:00
Wim Taymans fac7be8705 Faster _dump function
Original commit message from CVS:
Faster _dump function
2003-01-26 23:38:30 +00:00
Wim Taymans 31105a5c6f Some extra debug statement
Original commit message from CVS:
Some extra debug statement
2003-01-23 19:51:26 +00:00
Wim Taymans d0f97d1978 - Proxy the get_caps function slightly differently. This is potentially dangerous as it works quite differently. My t...
Original commit message from CVS:
- Proxy the get_caps function slightly differently. This is potentially
dangerous as it works quite differently. My tests seem to work though and
it fixes the play-multi-file-segfault in the player.
2003-01-23 19:49:18 +00:00
Wim Taymans 84c67b8f69 Also clear cached connection filter when relinking pads with the clear-flag set.
Original commit message from CVS:
Also clear cached connection filter when relinking pads with the clear-flag
set.
2003-01-23 19:46:38 +00:00
Wim Taymans 8a2381a8ad Some more debugging info
Original commit message from CVS:
Some more debugging info
2003-01-23 19:36:47 +00:00
Wim Taymans 50fad82368 Fix the case where a typefind function could not be loaded.
Original commit message from CVS:
Fix the case where a typefind function could not be loaded.
2003-01-23 19:03:02 +00:00
Thomas Vander Stichele 3c7944ed35 there might be a day that it doesn't take me twice to get it right
Original commit message from CVS:
there might be a day that it doesn't take me twice to get it right
2003-01-21 22:58:04 +00:00
Thomas Vander Stichele 42381fcb94 damn
Original commit message from CVS:
damn
2003-01-21 22:53:54 +00:00
David Schleef 32a905da80 Remove 'inline' from a function that is never actually inlined under any circumstances. Some compilers (Forte) don't...
Original commit message from CVS:
Remove 'inline' from a function that is never actually inlined
under any circumstances.  Some compilers (Forte) don't like
non-static inlines, and neither do I.  From Brian Cameron.
2003-01-21 22:13:48 +00:00
David Schleef 7106505492 Hide GCC assembly behind define(__GNUC__). From Brian Cameron.
Original commit message from CVS:
Hide GCC assembly behind define(__GNUC__).  From Brian Cameron.
2003-01-21 22:11:13 +00:00
David Schleef ba1f005623 Patch to remove GCC-ism for local structure initialization. From
Original commit message from CVS:
Patch to remove GCC-ism for local structure initialization.  From
Brian Cameron.
2003-01-21 22:10:07 +00:00
David Schleef fb27bbee37 Remove GCC-ism used to find current stack pointer, and use this opportunity to clean up the code slightly. Based on ...
Original commit message from CVS:
Remove GCC-ism used to find current stack pointer, and use this
opportunity to clean up the code slightly.  Based on patch from
Brian Cameron.
2003-01-21 22:01:37 +00:00
David Schleef fb9d810263 Replace __alignof__() GCC-ism with sizeof(). Should produce exactly the same code on all architectures except perhap...
Original commit message from CVS:
Replace __alignof__() GCC-ism with sizeof().  Should produce exactly
the same code on all architectures except perhaps m68k.
2003-01-21 20:50:27 +00:00
Erik Walthinsen bab7be2c91 revert the revert, switch out the new code for the 'working' code with an #if
Original commit message from CVS:
revert the revert, switch out the new code for the 'working' code with an #if
2003-01-21 20:48:23 +00:00
Wim Taymans 69be241342 Revert 1.66 and 1.67 that seemed to break the unlink scheduler function 1.68 is still added
Original commit message from CVS:
Revert 1.66 and 1.67 that seemed to break the unlink scheduler function
1.68 is still added
2003-01-21 18:39:11 +00:00
Wim Taymans 59a224893a Some more debugging
Original commit message from CVS:
Some more debugging
2003-01-20 23:11:51 +00:00
Wim Taymans 826f848618 - We need to pull UNUSABLE pads too because it might be an event
Original commit message from CVS:
- We need to pull UNUSABLE pads too because it might be an event
2003-01-20 23:10:32 +00:00
Erik Walthinsen de6bcd890a - added 'remove' argument to _chain_recursive_add to remove elements from old chain before adding to new one
Original commit message from CVS:
- added 'remove' argument to _chain_recursive_add to remove elements from
old chain before adding to new one
- reworked _pad_unlink to be simpler and more correct
2003-01-20 22:22:46 +00:00
Erik Walthinsen cbbb8371fe moved recursive exit to the front of the call, to make it easier to add prevchain removal
Original commit message from CVS:
moved recursive exit to the front of the call, to make it easier to add prevchain removal
2003-01-20 22:02:46 +00:00
Erik Walthinsen 590604e430 - some minor whitespace cleanups
Original commit message from CVS:
- some minor whitespace cleanups
- rework _chain_add_element to put the element in either the main or
disabled lists depending on whether the element is PLAYING or not.
2003-01-20 21:23:19 +00:00
David I. Lehn 9139cc81ba comment out unused caps_changed related functions and prototypes
Original commit message from CVS:
comment out unused caps_changed related functions and prototypes
2003-01-18 21:41:34 +00:00
David I. Lehn cfb515579a FIXME "caps_changed" signal no longer exists, commenting out code that attempts to connect to it.
Original commit message from CVS:
FIXME "caps_changed" signal no longer exists, commenting out code that attempts
to connect to it.
2003-01-18 21:29:23 +00:00
Wim Taymans 6e55b3394c Forgot to set the name on a new schedulerfactory, oops
Original commit message from CVS:
Forgot to set the name on a new schedulerfactory, oops
2003-01-18 14:11:36 +00:00
Wim Taymans 8e19b6a4d4 - Error after configurable number of buffers
Original commit message from CVS:
- Error after configurable number of buffers
2003-01-17 20:41:04 +00:00
Wim Taymans acf7e665f3 More refcounting fixes
Original commit message from CVS:
More refcounting fixes
2003-01-17 20:02:27 +00:00
Wim Taymans eadfe716a0 More cleanups and refcount fixage
Original commit message from CVS:
More cleanups and refcount fixage
2003-01-17 18:59:44 +00:00
Wim Taymans 06fe035ae4 - properly ref/unref scheduler and clock in gstelement
Original commit message from CVS:
- properly ref/unref scheduler and clock in gstelement
- ref/unref clock in scheduler
- better cleanup in element factory
2003-01-17 18:50:07 +00:00
Wim Taymans 2268739955 - sink the systemclock
Original commit message from CVS:
- sink the systemclock
- unref scheduler in pipeline with new API
- better ref/unref debug info in gstobject
2003-01-17 18:48:17 +00:00
Wim Taymans 6f2ff2f81e Add helper function to set GstObject pointers with proper ref/unref sequence.
Original commit message from CVS:
Add helper function to set GstObject pointers with proper ref/unref
sequence.
2003-01-17 17:44:07 +00:00
Thomas Vander Stichele 1bce047ddc avoid having to depend on glib 2.2
Original commit message from CVS:
avoid having to depend on glib 2.2
2003-01-17 16:06:23 +00:00
Wim Taymans 5886cb87ab - Added rank to plugin features (for future use)
Original commit message from CVS:
- Added rank to plugin features (for future use)
- update docs in gsturi
2003-01-16 22:03:39 +00:00
Wim Taymans 1ee670cff4 Added infrastructure to register URI to element+property mappings
Original commit message from CVS:
Added infrastructure to register URI to element+property mappings
2003-01-16 21:22:06 +00:00
Thomas Vander Stichele 6550acf9c8 small fixes
Original commit message from CVS:
small fixes
2003-01-15 21:42:30 +00:00
Wim Taymans a722e87b12 Clean up state change
Original commit message from CVS:
Clean up state change
2003-01-15 21:01:58 +00:00
Wim Taymans 90cff65964 Remove bogus inline
Original commit message from CVS:
Remove bogus inline
2003-01-15 18:29:40 +00:00
Wim Taymans a4aa00288b When we unref a caps, don't unref the chained caps
Original commit message from CVS:
When we unref a caps, don't unref the chained caps
2003-01-14 18:45:18 +00:00
Wim Taymans 59bd88118f Added interrupt back in spider, make opt scheduler schedule next chain on interrupt (like basic did)
Original commit message from CVS:
Added interrupt back in spider, make opt scheduler schedule next chain
on interrupt (like basic did)
2003-01-12 20:28:08 +00:00
Wim Taymans b695152ed0 No need to _yield here
Original commit message from CVS:
No need to _yield here
2003-01-12 19:33:18 +00:00
Wim Taymans ca2b17259e Use two GCond vars to work around a problem in NPTL
Original commit message from CVS:
Use two GCond vars to work around a problem in NPTL
2003-01-12 16:33:33 +00:00
Wim Taymans 31f2a95bf4 fix Dispose method by vishnu
Original commit message from CVS:
fix Dispose method by vishnu
2003-01-12 13:22:57 +00:00
Wim Taymans 1f144436cb Avoid reads on freed memory (patch from vishnu)
Original commit message from CVS:
Avoid reads on freed memory (patch from vishnu)
2003-01-12 13:06:44 +00:00
Wim Taymans 2e1e40935f Remove stupid interrupt call
Original commit message from CVS:
Remove stupid interrupt call
2003-01-12 12:39:09 +00:00
Wim Taymans 1ed68c8126 - make add/remove overridable for custom bins
Original commit message from CVS:
- make add/remove overridable for custom bins
2003-01-11 20:08:03 +00:00
Wim Taymans 6dc3e08f51 use the filter on the connection even if the pads don't have caps
Original commit message from CVS:
use the filter on the connection even if the pads don't have caps
2003-01-11 17:07:24 +00:00
Wim Taymans 89bf2733e9 - return boolean in _interrupt to better inform element
Original commit message from CVS:
- return boolean in _interrupt to better inform element
- fix default bufferpool unref
2003-01-11 16:27:45 +00:00
Iain Holmes 7ec295a0cd Don't remove an element from its chain if it doesn't have a chain
Original commit message from CVS:
Don't remove an element from its chain if it doesn't have a chain
2003-01-11 13:44:33 +00:00
David Schleef e85f1bed4e Fix bison build line
Original commit message from CVS:
Fix bison build line
2003-01-10 21:24:36 +00:00
David I. Lehn 41e3108995 reverse compat typedefs
Original commit message from CVS:
reverse compat typedefs
2003-01-10 00:09:06 +00:00
David I. Lehn 5a74101933 more connect -> link updates
Original commit message from CVS:
more connect -> link updates
2003-01-09 22:59:37 +00:00
Thomas Vander Stichele 3f68dd5744 oopsie
Original commit message from CVS:
oopsie
2003-01-09 20:25:35 +00:00
Thomas Vander Stichele f1af3cca60 code cleanups and further deprecation fixes
Original commit message from CVS:
code cleanups and further deprecation fixes
2003-01-09 20:02:34 +00:00
Thomas Vander Stichele 5529bbc7dc first pass of connect->link gst-plugins and other stuff compiles without change at this point
Original commit message from CVS:
first pass of connect->link
gst-plugins and other stuff compiles without change at this point
2003-01-09 14:15:37 +00:00
Wim Taymans 7b087348ac Fix typo connect -> link, you have been warned
Original commit message from CVS:
Fix typo
connect -> link, you have been warned
2003-01-08 22:45:46 +00:00
Wim Taymans e8b63df877 Provide intrastructure to not have to pass NULL buffers on errors and interrupts, this should fix some issues with th...
Original commit message from CVS:
Provide intrastructure to not have to pass NULL buffers on errors and
interrupts, this should fix some issues with the optimal scheduler.
2003-01-08 21:33:20 +00:00
Thomas Vander Stichele 16870983fb merge back from release branch
Original commit message from CVS:
merge back from release branch
2003-01-08 16:03:49 +00:00
Wim Taymans 9f92f33025 And now it's inlined again :)
Original commit message from CVS:
And now it's inlined again :)
2003-01-06 23:59:04 +00:00
Wim Taymans 27d52ae402 Make sure we implement the inlines too for when __inline__ doesn't work
Original commit message from CVS:
Make sure we implement the inlines too for when __inline__ doesn't work
2003-01-06 23:48:59 +00:00
Wim Taymans fd1b4e1ce9 patch 13364 from vishnu
Original commit message from CVS:
patch 13364 from vishnu
2003-01-05 22:58:42 +00:00
Wim Taymans 481d542823 - Added property to select predefined resolver functions
Original commit message from CVS:
- Added property to select predefined resolver functions
- Added GType resolver
2003-01-05 20:34:24 +00:00
Wim Taymans acd487b478 Patch 13357 and 13358 from vishnu
Original commit message from CVS:
Patch 13357 and 13358 from vishnu
2003-01-05 16:51:46 +00:00