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
Wim Taymans
2ef7c8b385
I think this makes a little more sense
...
Original commit message from CVS:
I think this makes a little more sense
2003-01-04 21:57:28 +00:00
Wim Taymans
e720f95202
Make sure we call the app resolved before passing the final id/string to the index implemention.
...
Original commit message from CVS:
Make sure we call the app resolved before passing the final id/string
to the index implemention.
2003-01-04 16:57:31 +00:00
Wim Taymans
d093fb3fa4
Register the two indexers
...
Original commit message from CVS:
Register the two indexers
2003-01-04 16:26:58 +00:00
Wim Taymans
411642197f
Added fileindex
...
Original commit message from CVS:
Added fileindex
2003-01-04 16:06:05 +00:00
David I. Lehn
0d3e4d08af
make GstPropsEntry a boxed type
...
Original commit message from CVS:
make GstPropsEntry a boxed type
2003-01-03 23:34:43 +00:00
David I. Lehn
4ec698fa6c
remove redundant flag set
...
Original commit message from CVS:
remove redundant flag set
2003-01-03 23:33:57 +00:00
Wim Taymans
7462cb8787
Documentation updates
...
Original commit message from CVS:
Documentation updates
2003-01-02 18:56:09 +00:00
Wim Taymans
6653167f11
- Remove annoying \n from cothread INFO/DEBUG messages
...
Original commit message from CVS:
- Remove annoying \n from cothread INFO/DEBUG messages
- only set an element to PAUSED when it gave an error during PLAYING
- ensure internal consistency of opt scheduler structures
- Added mex_recursion to opt scheduler
2003-01-01 04:28:33 +00:00
Wim Taymans
eb6c33fb23
- Added PAD_NEGOTIATING flag, remove PAD_EOS flag
...
Original commit message from CVS:
- Added PAD_NEGOTIATING flag, remove PAD_EOS flag
- Try to avoid negotiation in state change if pad were already negotiating
- Added gstquery.c for completeness (maybe merge common functions with
gstformat.c?)
2003-01-01 03:09:39 +00:00
David I. Lehn
624f4bf24d
don't need atomic ops here
...
Original commit message from CVS:
don't need atomic ops here
2002-12-31 18:42:17 +00:00
Wim Taymans
e20cb9265c
IS_USABLE is only for PLAYING elements
...
Original commit message from CVS:
IS_USABLE is only for PLAYING elements
2002-12-31 15:37:36 +00:00
Wim Taymans
177bf4bfbc
Negotiation can happen even on disabled pads (in READY state)
...
Original commit message from CVS:
Negotiation can happen even on disabled pads (in READY state)
2002-12-31 15:34:21 +00:00
Wim Taymans
d315eee490
- Fix PAD_IS_USABLE on ghostpads
...
Original commit message from CVS:
- Fix PAD_IS_USABLE on ghostpads
- fix typos in gstindex.h flags
- conditional lock in trashstack asm
2002-12-31 14:51:54 +00:00
Thomas Vander Stichele
f87c7929d4
revert usability test
...
Original commit message from CVS:
revert usability test
2002-12-31 10:52:09 +00:00
Thomas Vander Stichele
efebf989ff
some more debug output
...
Original commit message from CVS:
some more debug output
2002-12-31 10:34:35 +00:00
Wim Taymans
132bab1098
- copy kernel headers (waiting for libatomic..)
...
Original commit message from CVS:
- copy kernel headers (waiting for libatomic..)
- Make sure the atomic stuff is never seen by the app
- inline atomic stuff for core only, expose non-inlined version to apps.
hoping this one works... please test
2002-12-31 03:21:08 +00:00
Wim Taymans
aea79e82e1
Added comments to asm
...
Original commit message from CVS:
Added comments to asm
2002-12-30 23:59:59 +00:00
Wim Taymans
347505bcb9
- major API breakage (one of the last, I promise...)
...
Original commit message from CVS:
- major API breakage (one of the last, I promise...)
- GST_PAD_QUERY -> GST_QUERY
- GstPadQuery -> GstQuery
- Move query definitions to gstquery.h to allow for future dynamic
query types.
- remove _pad_handles_* in favour of extra format/event functions to
make the same checks.
- fix elements
- Implemented missing query/event/formats functions in gstelement
2002-12-30 17:42:11 +00:00
Wim Taymans
8854eac118
- First pass at cleaning up the atomic mess
...
Original commit message from CVS:
- First pass at cleaning up the atomic mess
- moved weird asm to datastructure that makes sense
- this should also make the trasition to libatomic less painful
2002-12-29 19:19:45 +00:00
Wim Taymans
a09fefa6a6
asm doesn't work on ppc
...
Original commit message from CVS:
asm doesn't work on ppc
2002-12-29 04:15:06 +00:00
Wim Taymans
a03425c8b3
- disable pads when going to PAUSED, we want to make sure no data is passing when an element is not PLAYING.
...
Original commit message from CVS:
- disable pads when going to PAUSED, we want to make sure no data is
passing when an element is not PLAYING.
- changed the clock sync API, element should now get a ClockID first and
sync on that. This makes it possible to cancel clock requests.
2002-12-27 22:57:13 +00:00
Wim Taymans
3b210c32e6
_IS_USABLE also checks for the peer pad, IS_ACTIVE is correct in this case.
...
Original commit message from CVS:
_IS_USABLE also checks for the peer pad, IS_ACTIVE is correct in this
case.
2002-12-27 04:24:56 +00:00
Wim Taymans
290a082d53
- Keep track of pending clock waits so we can unlock them
...
Original commit message from CVS:
- Keep track of pending clock waits so we can unlock them
- don't wait when diff bigger than configurable max to avoid clock lockups
2002-12-27 04:11:59 +00:00
Wim Taymans
fb9970d85a
- Added flags to lookup method so that one can search for keyframes too
...
Original commit message from CVS:
- Added flags to lookup method so that one can search for keyframes too
- Updated memindex
2002-12-26 22:35:58 +00:00
Wim Taymans
2694db659d
Fix merge_groups
...
Original commit message from CVS:
Fix merge_groups
2002-12-26 22:11:04 +00:00
Wim Taymans
a067031e72
Also display buffer flags
...
Original commit message from CVS:
Also display buffer flags
2002-12-26 19:15:06 +00:00
Wim Taymans
483e647a76
This got accidently removed and screws up seeking a lot
...
Original commit message from CVS:
This got accidently removed and screws up seeking a lot
2002-12-26 19:01:41 +00:00
Wim Taymans
8b63056472
Commited a bit too much..
...
Original commit message from CVS:
Commited a bit too much..
2002-12-24 12:48:35 +00:00
Wim Taymans
cfeeeee2cf
- Added commit
...
Original commit message from CVS:
- Added commit
- Added flags to make index readonly
2002-12-23 00:31:14 +00:00
Wim Taymans
4bbde846e3
Forgot .h file..
...
Original commit message from CVS:
Forgot .h file..
2002-12-23 00:30:08 +00:00
Wim Taymans
0f930b062b
- Move common function to gstformat
...
Original commit message from CVS:
- Move common function to gstformat
- sending events on disabled pad is allowed, buffers isn't...
2002-12-22 20:21:27 +00:00
Wim Taymans
155369d80c
Added pad_query with percent format on filesrc and some constants
...
Original commit message from CVS:
Added pad_query with percent format on filesrc and some constants
2002-12-22 14:03:09 +00:00
Wim Taymans
74d9fe06f9
- offset is supposed to be a uint64
...
Original commit message from CVS:
- offset is supposed to be a uint64
2002-12-21 14:28:42 +00:00
Wim Taymans
f8feed18a0
- queue can change state only when not connected
...
Original commit message from CVS:
- queue can change state only when not connected
- bufferpools can only be requested from srcpads
2002-12-21 14:21:15 +00:00
Wim Taymans
abfc7a0ed8
implemented yield/interrupt
...
Original commit message from CVS:
implemented yield/interrupt
2002-12-21 02:25:54 +00:00
Wim Taymans
4a63ac4d02
Destroy cothreads first before destroying context
...
Original commit message from CVS:
Destroy cothreads first before destroying context
2002-12-20 18:49:17 +00:00
Wim Taymans
68b53ac4ab
- Cleanups
...
Original commit message from CVS:
- Cleanups
- Added padding to structs
- fixed typechecking/casts
- reduced casts
- implemented remove_element in gstbin
- implemented set index on bin
2002-12-19 21:31:03 +00:00
Wim Taymans
bcec5c6c6f
Added float transform
...
Original commit message from CVS:
Added float transform
2002-12-19 19:59:21 +00:00
Wim Taymans
7e16eb73de
Delete chains only once..
...
Original commit message from CVS:
Delete chains only once..
2002-12-19 19:45:13 +00:00
Wim Taymans
61763adf68
Small cleanup, fix fixed caps detection even on XML load
...
Original commit message from CVS:
Small cleanup, fix fixed caps detection even on XML load
2002-12-18 23:00:34 +00:00
Thomas Vander Stichele
7c84581a90
patch from brian cameron for iso c compliance
...
Original commit message from CVS:
patch from brian cameron for iso c compliance
2002-12-18 21:44:57 +00:00
Wim Taymans
e7ccc2ec08
- Factor out some error functions
...
Original commit message from CVS:
- Factor out some error functions
- handle the cases where multipad get to multi-sink loop/chain based
elements are connected.
2002-12-16 21:21:02 +00:00
Thomas Vander Stichele
84e121f4dd
don't do queries on error, we don't get many errors these days for which it is useful tell us which scheduler we're n...
...
Original commit message from CVS:
don't do queries on error, we don't get many errors these days for which
it is useful
tell us which scheduler we're not finding
2002-12-16 09:50:40 +00:00
Wim Taymans
103d810e2c
Decoupled elements needs special case when we look for grouped elements.
...
Original commit message from CVS:
Decoupled elements needs special case when we look for grouped elements.
2002-12-15 22:52:48 +00:00
Wim Taymans
bd9dc3604f
Some cleanups, added FIXMEs
...
Original commit message from CVS:
Some cleanups, added FIXMEs
2002-12-15 22:02:20 +00:00
Wim Taymans
8f06b55c38
- Removed old deprecated fastscheduler
...
Original commit message from CVS:
- Removed old deprecated fastscheduler
- ifdef out cothread specific code in optimalscheduler
- added more g_asserts to optimalscheduler
- create separate scheduler called "opt", removed property from scheduler
- fixed iterations property
2002-12-15 18:21:43 +00:00
Wim Taymans
14031db6be
Fix silent property
...
Original commit message from CVS:
Fix silent property
2002-12-15 12:22:11 +00:00
Wim Taymans
11b376c838
Improve the optimal scheduler, mainly element remove and pad disconnect
...
Original commit message from CVS:
Improve the optimal scheduler, mainly element remove and pad disconnect
2002-12-15 12:18:04 +00:00
Wim Taymans
8c5466095f
Renamed the thread argument to cothread to avoid confusion
...
Original commit message from CVS:
Renamed the thread argument to cothread to avoid confusion
Documentation updates
2002-12-14 16:20:41 +00:00
Wim Taymans
29e2850eff
Documentation updates
...
Original commit message from CVS:
Documentation updates
2002-12-14 13:02:16 +00:00
Thomas Vander Stichele
593079820a
fixes a jhbuild bug
...
Original commit message from CVS:
fixes a jhbuild bug
2002-12-13 15:33:42 +00:00
Wim Taymans
8de25d9aff
cache->index
...
Original commit message from CVS:
cache->index
2002-12-12 22:16:11 +00:00
Wim Taymans
fcd8d12069
Renamed GstCache to GstIndex
...
Original commit message from CVS:
Renamed GstCache to GstIndex
2002-12-12 22:14:36 +00:00
Thomas Vander Stichele
2ced1a341f
oops, too much revert
...
Original commit message from CVS:
oops, too much revert
2002-12-11 22:22:35 +00:00
Thomas Vander Stichele
a022e03e98
not used anymore
...
Original commit message from CVS:
not used anymore
2002-12-11 22:13:27 +00:00
Thomas Vander Stichele
65d35489ac
merge from release branch
...
Original commit message from CVS:
merge from release branch
2002-12-11 21:33:07 +00:00
David Schleef
af978603db
Clean up cothread destruction code
...
Original commit message from CVS:
Clean up cothread destruction code
2002-12-10 04:05:14 +00:00
David Schleef
384d119c72
Lots of new assertions and debugging
...
Original commit message from CVS:
Lots of new assertions and debugging
2002-12-10 04:01:09 +00:00
David Schleef
29f657f52e
Added setting of _gst_debug_cothread_index for debugging
...
Original commit message from CVS:
Added setting of _gst_debug_cothread_index for debugging
2002-12-10 03:59:15 +00:00
David Schleef
b423eeb18c
Added thread-loval variable for cothread index.
...
Original commit message from CVS:
Added thread-loval variable for cothread index.
2002-12-10 03:48:15 +00:00
David Schleef
a818246c70
Partially revert last change, since it breaks things. wtay: FIXME!
...
Original commit message from CVS:
Partially revert last change, since it breaks things. wtay: FIXME!
2002-12-10 03:45:03 +00:00
Wim Taymans
0d994e41ad
turn off cothreads, fix some typos
...
Original commit message from CVS:
turn off cothreads, fix some typos
2002-12-09 22:31:16 +00:00
Wim Taymans
f07281a771
Destroying the cothread seems like a good idea here
...
Original commit message from CVS:
Destroying the cothread seems like a good idea here
2002-12-09 20:33:27 +00:00
David Schleef
fff07e9420
Use makecontext() as a generic implementation
...
Original commit message from CVS:
Use makecontext() as a generic implementation
2002-12-09 01:41:05 +00:00
David Schleef
62c16b78c8
Fix the powerpc atomix swap
...
Original commit message from CVS:
Fix the powerpc atomix swap
2002-12-09 01:32:37 +00:00
Wim Taymans
d8dc45098d
Better debugging
...
Original commit message from CVS:
Better debugging
2002-12-08 20:09:42 +00:00
Wim Taymans
8549904056
Fix broken __PRETY_FUNCTION__
...
Original commit message from CVS:
Fix broken __PRETY_FUNCTION__
2002-12-08 20:06:04 +00:00
Wim Taymans
a2f011e446
A little more debugging info and error checking
...
Original commit message from CVS:
A little more debugging info and error checking
2002-12-08 16:43:27 +00:00
Thomas Vander Stichele
7eea6a04b7
fix for parallel installability
...
Original commit message from CVS:
fix for parallel installability
2002-12-08 14:39:38 +00:00
Thomas Vander Stichele
9a796e2cb5
oops
...
Original commit message from CVS:
oops
2002-12-08 02:08:47 +00:00
Wim Taymans
9e8e9385cb
fix bug #96751
...
Original commit message from CVS:
fix bug #96751
2002-12-08 01:26:02 +00:00
Thomas Vander Stichele
45a34253ac
move these to macros
...
Original commit message from CVS:
move these to macros
2002-12-07 22:18:17 +00:00
Thomas Vander Stichele
58d2d2798c
typos
...
Original commit message from CVS:
typos
2002-12-07 14:15:52 +00:00
Thomas Vander Stichele
0d32dbb262
fix a warning
...
Original commit message from CVS:
fix a warning
2002-12-07 14:13:50 +00:00
Thomas Vander Stichele
d9efd29627
move some code around to avoid warnings
...
Original commit message from CVS:
move some code around to avoid warnings
2002-12-07 14:13:27 +00:00
David Schleef
2fed56b4a8
Removing unused code related to stack allocation (cothreads_stackquery(), gst_scheduler_get_preferred_stack())
...
Original commit message from CVS:
Removing unused code related to stack allocation (cothreads_stackquery(),
gst_scheduler_get_preferred_stack())
2002-12-06 23:05:26 +00:00
Wim Taymans
e04e9d291e
Make sure we set the reaping flag when going to NULL before we signal the parent.
...
Original commit message from CVS:
Make sure we set the reaping flag when going to NULL before we signal the
parent.
2002-12-06 20:12:38 +00:00
Wim Taymans
07cf2da0c2
Added syntax to make filtered connections like: osssrc src\!audio/raw, channels=int 2, width=int 8\!sink fakesink
...
Original commit message from CVS:
Added syntax to make filtered connections like:
osssrc src\!audio/raw, channels=int 2, width=int 8\!sink fakesink
2002-12-06 20:06:06 +00:00
Wim Taymans
0539bc2b87
Make sure we don't set caps that violate the (app)filter
...
Original commit message from CVS:
Make sure we don't set caps that violate the (app)filter
2002-12-06 20:03:57 +00:00
Wim Taymans
a58c54c2ee
Fix valloc bug found by jmi25@cam.ac.uk, closes bug #100553 . removed dead code
...
Original commit message from CVS:
Fix valloc bug found by jmi25@cam.ac.uk , closes bug #100553 .
removed dead code
2002-12-06 20:02:24 +00:00
Thomas Vander Stichele
2aaf59bad0
looks like a silly typo
...
Original commit message from CVS:
looks like a silly typo
2002-12-06 13:37:43 +00:00
David Schleef
aff80e14d7
refactor cothread stack mmap code. Add makecontext() as an option for initial stack preparation.
...
Original commit message from CVS:
refactor cothread stack mmap code. Add makecontext() as an option
for initial stack preparation.
2002-12-05 01:50:31 +00:00
David Schleef
89994cf808
Add some assertions to check that we're running inside the correct thread when playing with that thread's cothreads
...
Original commit message from CVS:
Add some assertions to check that we're running inside the correct
thread when playing with that thread's cothreads
2002-12-04 00:07:13 +00:00
David Schleef
f161e16a44
Change GPrivate usage to GStaticPrivate, assuming it's more trustworthy
...
Original commit message from CVS:
Change GPrivate usage to GStaticPrivate, assuming it's more trustworthy
2002-12-03 22:44:49 +00:00
Wim Taymans
2dd7336e68
Reset the scheduler when going to NULL
...
Original commit message from CVS:
Reset the scheduler when going to NULL
2002-12-03 21:33:29 +00:00
David Schleef
83bc63d787
Add assertion in cothread_get_context()
...
Original commit message from CVS:
Add assertion in cothread_get_context()
2002-12-03 21:02:55 +00:00
Wim Taymans
b3cef553cf
More cache updates
...
Original commit message from CVS:
More cache updates
2002-12-02 22:39:56 +00:00
Wim Taymans
1ce6deb624
Added current status of memcache
...
Original commit message from CVS:
Added current status of memcache
2002-12-02 20:20:13 +00:00
Gerhard Tonn
52cc556b97
I'm too lazy to comment this
...
Original commit message from CVS:
Patch from Gerhard Tonn <GerhardTonn@gammatau.de> for s390
2002-12-02 19:09:47 +00:00
Jeremy Simon
c0e293f689
Initialize buf with NULL ... should compile now
...
Original commit message from CVS:
Initialize buf with NULL ... should compile now
2002-12-01 18:32:34 +00:00
Steve Baker
6c751c7cd4
remove debug
...
Original commit message from CVS:
remove debug
2002-12-01 01:42:48 +00:00
Steve Baker
5b920bb458
this debugging would have borked
...
Original commit message from CVS:
this debugging would have borked
2002-12-01 01:39:35 +00:00
Steve Baker
7fec8602c3
first phase of spider cleanup
...
Original commit message from CVS:
first phase of spider cleanup
- get rid of the buffer cache for type finding
- do type finding within spider identity instead of in seperate element
- currently doing type finding with the first buffer only. will eventually merge buffer until there is "enough" data to typefind with
- spider now only has 1 sink instead of many. I don't believe it would be possible to mux with spider anyway
- if type finding fails, gst_element_error is called. Its up to the app to catch the error signal and stop the pipeline
2002-12-01 01:37:58 +00:00
Wim Taymans
ff1a2e8f7b
Make forte heppy
...
Original commit message from CVS:
Make forte heppy
2002-11-29 19:19:32 +00:00
Wim Taymans
fa3381146a
More forte compiler fixes, added a .h file to store commonly used macros that have to ifdefed out on non-gcc compilers
...
Original commit message from CVS:
More forte compiler fixes, added a .h file to store commonly used macros
that have to ifdefed out on non-gcc compilers
2002-11-29 19:08:47 +00:00
Wim Taymans
95d4c6fdf1
Add a little cast to make forte happy
...
Original commit message from CVS:
Add a little cast to make forte happy
2002-11-29 18:34:32 +00:00
Wim Taymans
91df0963a7
Index caches dir too, add caches to Makefile.am
...
Original commit message from CVS:
Index caches dir too, add caches to Makefile.am
2002-11-29 18:16:58 +00:00
Wim Taymans
a02dcd9779
Added memory cache
...
Original commit message from CVS:
Added memory cache
2002-11-29 18:16:06 +00:00
Wim Taymans
9178bdcfd1
- Save longdesc
...
Original commit message from CVS:
- Save longdesc
- Save caches
2002-11-29 18:15:01 +00:00
Wim Taymans
bf0c285d5f
Make caches plugable
...
Original commit message from CVS:
Make caches plugable
2002-11-29 18:13:54 +00:00
Wim Taymans
9c90317f9f
Make the cache plugable
...
Original commit message from CVS:
Make the cache plugable
2002-11-29 18:13:29 +00:00
Wim Taymans
d8712f073b
Used glib macros for no_intrument
...
Original commit message from CVS:
Used glib macros for no_intrument
2002-11-29 18:10:21 +00:00
Thomas Vander Stichele
009e8bb2b4
applied fixed patch from Brian
...
Original commit message from CVS:
applied fixed patch from Brian
2002-11-29 17:05:13 +00:00
Thomas Vander Stichele
7cd8540542
revert fix because GST_DEBUG_LEAVE("") doesn't work with it
...
Original commit message from CVS:
revert fix because GST_DEBUG_LEAVE("") doesn't work with it
2002-11-29 14:20:53 +00:00
Thomas Vander Stichele
35387bca47
random cleanups and paranoia checks
...
Original commit message from CVS:
random cleanups and paranoia checks
2002-11-29 13:59:30 +00:00
Christian Schaller
54cbcd0c18
commit Brian's patch with AC fix from thomas
...
Original commit message from CVS:
commit Brian's patch with AC fix from thomas
2002-11-29 11:10:35 +00:00
Wim Taymans
431fba3939
Fix stupid bug
...
Original commit message from CVS:
Fix stupid bug
2002-11-28 21:30:13 +00:00
Thomas Vander Stichele
18f9761afc
cleanups
...
Original commit message from CVS:
cleanups
2002-11-28 21:24:01 +00:00
Christian Schaller
63a4cb67c2
commit the fdsrc fix from Pedro Corte-Real
...
Original commit message from CVS:
commit the fdsrc fix from Pedro Corte-Real
2002-11-28 14:13:51 +00:00
Christian Schaller
2d9c2e484b
commiting Leifs registry to /var/cache patch, works well for me :)
...
Original commit message from CVS:
commiting Leifs registry to /var/cache patch, works well for me :)
2002-11-28 13:29:52 +00:00
Christian Schaller
e6d279fc4d
added vishnu's doc patch
...
Original commit message from CVS:
added vishnu's doc patch
2002-11-28 00:10:38 +00:00
Wim Taymans
c925bc7de0
Small cleanups
...
Original commit message from CVS:
Small cleanups
2002-11-27 23:14:33 +00:00
Wim Taymans
cc7cebbead
Fix stupid compiler warning
...
Original commit message from CVS:
Fix stupid compiler warning
2002-11-27 22:37:57 +00:00
Wim Taymans
9fa136e479
Removed old timecache
...
Original commit message from CVS:
Removed old timecache
2002-11-27 21:10:20 +00:00
Thomas Vander Stichele
58855aa95b
gst_init modeled upon gtk_init code cleanups
...
Original commit message from CVS:
gst_init modeled upon gtk_init
code cleanups
2002-11-27 21:08:06 +00:00
Wim Taymans
a48bce0ad6
- Added first attempt at general caching mechanism (GstTimeCache renamed to GstCache)
...
Original commit message from CVS:
- Added first attempt at general caching mechanism (GstTimeCache renamed
to GstCache)
- Some more clocking checks and updates (waiting on GST_CLOCK_TIME_NONE
returns immediatly instead of blocking forever)
- Moved clock get/set functions to element class instead of instance.
- Added cache methods on elements.
- Renamed GST_PROPS_BOOL_TYPE to GST_PROPS_BOOLEAN_TYPE to make it more
consistent with gst_props_get/set_boolean and GST_PROPS_BOOLEAN.
- Give short stats about plugins in gst-inspect.
2002-11-27 20:47:39 +00:00
Wim Taymans
86376a2402
Make different names for the different cothreads implementations
...
Original commit message from CVS:
Make different names for the different cothreads implementations
2002-11-25 00:20:52 +00:00
Wim Taymans
ce5f3238d2
Make sure to unset the scheduler
...
Original commit message from CVS:
Make sure to unset the scheduler
2002-11-22 23:17:39 +00:00
Wim Taymans
b7ee3bebf5
Added g_return_if_fail
...
Original commit message from CVS:
Added g_return_if_fail
2002-11-22 23:15:14 +00:00
Wim Taymans
a003b87f10
Only setup the scheduler when going to READY so that one can create a pipeline in another thread than that where it w...
...
Original commit message from CVS:
Only setup the scheduler when going to READY so that one can create a
pipeline in another thread than that where it will eventually iterate in.
2002-11-22 22:10:06 +00:00
Wim Taymans
12490346d0
Small cleanups, more descriptive properties
...
Original commit message from CVS:
Small cleanups, more descriptive properties
2002-11-21 23:52:30 +00:00
David Schleef
774edda66b
Add assertion to make sure that we're in the thread containing the cothread we're trying to switch to.
...
Original commit message from CVS:
Add assertion to make sure that we're in the thread containing the
cothread we're trying to switch to.
2002-11-21 00:54:32 +00:00
Wim Taymans
e09a7f841a
Better error recovery when the mmap fails.
...
Original commit message from CVS:
Better error recovery when the mmap fails.
2002-11-20 21:31:05 +00:00
Wim Taymans
20e44c6f57
Use full object path string in default error/notify handlers.
...
Original commit message from CVS:
Use full object path string in default error/notify handlers.
2002-11-20 21:13:07 +00:00
Wim Taymans
3fc8ad0842
- an element also has a failed state change if the scheduler setup failed.
...
Original commit message from CVS:
- an element also has a failed state change if the scheduler setup failed.
- set a thread to _STATE_NULL before destroying it.
2002-11-19 23:15:23 +00:00
David Schleef
eaba0a07e8
Added gst_buffer[_pool]_needs_copy_on_write()
...
Original commit message from CVS:
Added gst_buffer[_pool]_needs_copy_on_write()
2002-11-19 02:30:45 +00:00
David Schleef
f42d7e6ac8
Added gst_data_needs_copy_on_write()
...
Original commit message from CVS:
Added gst_data_needs_copy_on_write()
2002-11-19 02:29:18 +00:00
David Schleef
edd2819c89
Added atomic code for PowerPC
...
Original commit message from CVS:
Added atomic code for PowerPC
2002-11-19 02:28:09 +00:00
David Schleef
2b647a953c
Cleaned up cothread_create(), added comments, added code to unmap a guard page.
...
Original commit message from CVS:
Cleaned up cothread_create(), added comments, added code to unmap a
guard page.
2002-11-19 02:25:52 +00:00
Thomas Vander Stichele
8fbc440cc3
a little cleanup also, clear the global we use here so we can reuse cothreads
...
Original commit message from CVS:
a little cleanup
also, clear the global we use here so we can reuse cothreads
2002-11-18 22:44:47 +00:00
David Schleef
179a63446c
Move stack_top code from cothread_create() to cothread_context_init(), since we only need to calculate it once.
...
Original commit message from CVS:
Move stack_top code from cothread_create() to cothread_context_init(),
since we only need to calculate it once.
2002-11-15 09:51:41 +00:00
Thomas Vander Stichele
eb5368cbf7
on the negative side, I have to add the mmap back or else it segfaults on the positive side, with ds's fix for stack_...
...
Original commit message from CVS:
on the negative side, I have to add the mmap back or else it segfaults
on the positive side, with ds's fix for stack_top, I haven't had a
segfault in any of the thread tests since ;)
Let's cross fingers here
2002-11-14 13:35:13 +00:00
David Schleef
5fa7e059eb
Fix up allocation of stack space for a cothread. Previous code did not allow for the underlying threading model to i...
...
Original commit message from CVS:
Fix up allocation of stack space for a cothread. Previous code did
not allow for the underlying threading model to insert an unmapped
guard page.
2002-11-14 11:14:52 +00:00
Thomas Vander Stichele
ede132c69c
add some debug info
...
Original commit message from CVS:
add some debug info
2002-11-10 14:28:25 +00:00
Thomas Vander Stichele
2db9dfdb45
adding formats
...
Original commit message from CVS:
adding formats
2002-11-09 18:16:27 +00:00
Wim Taymans
9955ea95b9
Remove groups from chains and elements from groups when they are destroyed.
...
Original commit message from CVS:
Remove groups from chains and elements from groups when they are destroyed.
2002-11-07 18:50:06 +00:00
Wim Taymans
535d8911aa
Do some more checking on the input paramaters
...
Original commit message from CVS:
Do some more checking on the input paramaters
2002-11-03 15:48:31 +00:00
Wim Taymans
936c0aff15
Remove bogus free
...
Original commit message from CVS:
Remove bogus free
2002-11-03 00:13:40 +00:00
Thomas Vander Stichele
7e6550818f
small fix
...
Original commit message from CVS:
small fix
2002-11-02 14:06:43 +00:00
Wim Taymans
91b824a34c
- Reworked the clock to prepare for async notifications
...
Original commit message from CVS:
- Reworked the clock to prepare for async notifications
- moved some common scheduler checking to gstbin
- added some vmethods to gstbin for future use
- more fixes to the optimal scheduler
- use new clock api in the schedulers
2002-11-02 13:54:34 +00:00
Wim Taymans
83380aa595
- Added caps as a property
...
Original commit message from CVS:
- Added caps as a property
- Removed signals in favour of property notification
- Use probes instead of event_received signal
- Small cleanups
2002-11-02 13:31:31 +00:00
Wim Taymans
d5ba1b6a4c
Added padprobe to makefile
...
Original commit message from CVS:
Added padprobe to makefile
2002-11-02 13:28:14 +00:00
Wim Taymans
7eda531ad0
Removed annoying notify messages and removed properties that are better handled with query
...
Original commit message from CVS:
Removed annoying notify messages and removed properties that are
better handled with query
2002-11-02 13:25:18 +00:00
Wim Taymans
4514d28486
Small cleanups
...
Original commit message from CVS:
Small cleanups
2002-11-02 13:22:31 +00:00
Wim Taymans
93d794c494
We might use this in the future
...
Original commit message from CVS:
We might use this in the future
2002-11-02 13:21:07 +00:00
Wim Taymans
580a572044
Flashed out transform function
...
Original commit message from CVS:
Flashed out transform function
2002-11-02 13:20:26 +00:00
Wim Taymans
6637a949e7
Moved deep notify to GstObject
...
Original commit message from CVS:
Moved deep notify to GstObject
2002-11-02 13:19:30 +00:00
Wim Taymans
4992cb5838
Added the long awaited gst_buffer_set_data
...
Original commit message from CVS:
Added the long awaited gst_buffer_set_data
2002-11-02 13:15:55 +00:00
Wim Taymans
a92661f761
Small cleanup
...
Original commit message from CVS:
Small cleanup
2002-11-02 13:15:10 +00:00
Wim Taymans
cc59aa1770
Added first stab at probes.
...
Original commit message from CVS:
Added first stab at probes.
2002-11-02 13:14:33 +00:00
David Schleef
81c1506cd4
remove debugging message
...
Original commit message from CVS:
remove debugging message
2002-11-02 00:41:11 +00:00
David I. Lehn
86fddd8349
use plugin feature api vs gstobject api
...
Original commit message from CVS:
use plugin feature api vs gstobject api
2002-11-01 22:05:28 +00:00
David Schleef
e7db7a70ad
Change from pthreads to GThreads
...
Original commit message from CVS:
Change from pthreads to GThreads
2002-11-01 21:38:39 +00:00
Thomas Vander Stichele
ec02fff666
fix up autoplug test a little
...
Original commit message from CVS:
fix up autoplug test a little
2002-11-01 15:07:46 +00:00
David Schleef
5c1230f6d1
Fix parsing of negative numbers. Note that parsing of floating point numbers is broken in exponential form (1.0e6 or...
...
Original commit message from CVS:
Fix parsing of negative numbers. Note that parsing of floating point
numbers is broken in exponential form (1.0e6 or 1.0E6).
2002-10-31 20:06:44 +00:00
Wim Taymans
ac94f1f879
- A regular seek event sets the endoffset to -1 to indicate that the value should be ignored.
...
Original commit message from CVS:
- A regular seek event sets the endoffset to -1 to indicate
that the value should be ignored.
- A segment seek only takes start < stop
2002-10-31 18:41:18 +00:00
David I. Lehn
96ef7028f7
move G_BEGIN_DECLS to after #include
...
Original commit message from CVS:
move G_BEGIN_DECLS to after #include
2002-10-30 09:53:54 +00:00
David I. Lehn
31efa36756
use G_{BEGIN,END}_DECLS
...
Original commit message from CVS:
use G_{BEGIN,END}_DECLS
2002-10-30 09:17:34 +00:00
Thomas Vander Stichele
0933f2df88
how did this get by ?
...
Original commit message from CVS:
how did this get by ?
2002-10-29 21:34:14 +00:00
Thomas Vander Stichele
b75745b109
alp's fix
...
Original commit message from CVS:
alp's fix
2002-10-29 18:39:32 +00:00
Thomas Vander Stichele
da4942aee3
instigated by alp. If this is wrong, let us know.
...
Original commit message from CVS:
instigated by alp. If this is wrong, let us know.
2002-10-29 17:53:42 +00:00
Thomas Vander Stichele
de8df7b917
style stuff
...
Original commit message from CVS:
style stuff
2002-10-29 17:36:41 +00:00
Thomas Vander Stichele
daa9517e02
this is a real programming error
...
Original commit message from CVS:
this is a real programming error
2002-10-27 01:35:51 +00:00
David Schleef
e1b376fb58
Convert from sys_errlist[] to g_strerror()
...
Original commit message from CVS:
Convert from sys_errlist[] to g_strerror()
2002-10-25 23:57:12 +00:00
Wim Taymans
bc43ca26f0
This should fix seeking in a non empty cache..
...
Original commit message from CVS:
This should fix seeking in a non empty cache..
2002-10-25 23:24:56 +00:00
Wim Taymans
2030bd0eb1
A discont event should not flush the queue
...
Original commit message from CVS:
A discont event should not flush the queue
2002-10-25 19:14:57 +00:00