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
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