Commit graph

1343 commits

Author SHA1 Message Date
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
Thomas Vander Stichele
517829a0d4 still killing comma's
Original commit message from CVS:
still killing comma's
2002-10-24 09:02:11 +00:00
Thomas Vander Stichele
03c68402d8 can you guess what I've been reading ?
Original commit message from CVS:
can you guess what I've been reading ?
2002-10-24 09:01:22 +00:00
Thomas Vander Stichele
82ae865ddb fixing ANSI C compliance issues
Original commit message from CVS:
fixing ANSI C compliance issues
2002-10-24 09:00:12 +00:00
David Schleef
d91bb1bca4 Fix for HPPA asm code
Original commit message from CVS:
Fix for HPPA asm code
2002-10-17 23:02:59 +00:00
Wim Taymans
99315ab3a6 Add an fd param to set the file descriptor as an int
Original commit message from CVS:
Add an fd param to set the file descriptor as an int
2002-10-17 22:32:55 +00:00
David Schleef
0f02673d3e After the third time of calling GST_PROPS_FLOAT with an integer and wondering why it didn't work, I add an explicit c...
Original commit message from CVS:
After the third time of calling GST_PROPS_FLOAT with an integer and
wondering why it didn't work, I add an explicit cast.
2002-10-17 00:53:13 +00:00
Thomas Vander Stichele
731b554fd8 code cleanup and API change (gst_caps_check_compatibility -> gst_caps_is_always_compatible)
Original commit message from CVS:
code cleanup and API change
(gst_caps_check_compatibility -> gst_caps_is_always_compatible)
2002-10-02 07:51:54 +00:00
Thomas Vander Stichele
8b8026589e can somebody who understands this comment this more
Original commit message from CVS:
can somebody who understands this comment this more
2002-10-01 20:33:42 +00:00
Thomas Vander Stichele
4e42be7934 small fix
Original commit message from CVS:
small fix
2002-10-01 13:03:23 +00:00
Thomas Vander Stichele
0321f03994 code cleanup and better debug output
Original commit message from CVS:
code cleanup and better debug output
2002-10-01 13:02:22 +00:00
Thomas Vander Stichele
a21e2a2187 the big autoplag coverup plus some further cleaning.
Original commit message from CVS:
the big autoplag coverup plus some further cleaning.
Can someone tell me if this change violates some sort of API stability, or
was this meant to be an internal function anyway (and thus should it be
somehow removed from the .h) ?
2002-10-01 12:14:13 +00:00
Thomas Vander Stichele
8e96015d95 code cleanup and more debug output
Original commit message from CVS:
code cleanup and more debug output
2002-10-01 11:42:32 +00:00
Thomas Vander Stichele
b4394102e6 make exit conditions give debug info
Original commit message from CVS:
make exit conditions give debug info
2002-10-01 10:00:39 +00:00
Thomas Vander Stichele
929f37fab1 I ran into this and had to hunt for it
Original commit message from CVS:
I ran into this and had to hunt for it
2002-09-30 10:58:40 +00:00
Andy Wingo
c92874adad licenses, ugg
Original commit message from CVS:
licenses, ugg
2002-09-29 18:12:52 +00:00
Andy Wingo
7820d80e33 adding ::license field to core plugins
Original commit message from CVS:
adding ::license field to core plugins
2002-09-29 17:52:31 +00:00
Iain Holmes
4b93f5a554 Use some hashtables instead of a linked list
Original commit message from CVS:
Use some hashtables instead of a linked list
2002-09-29 17:17:28 +00:00
Thomas Vander Stichele
ac320f6bcc some debug additions and doc fixes
Original commit message from CVS:
some debug additions and doc fixes
2002-09-23 08:36:05 +00:00
Thomas Vander Stichele
1944240a98 backport fixes
Original commit message from CVS:
backport fixes
2002-09-23 06:04:32 +00:00
Thomas Vander Stichele
d03ae7914e even more obvious
Original commit message from CVS:
even more obvious
2002-09-23 05:03:38 +00:00
David Schleef
296e8bb244 Got tired of FOURCCs being printed backwards on big-endian machines.
Original commit message from CVS:
Got tired of FOURCCs being printed backwards on big-endian machines.
2002-09-22 04:28:33 +00:00
David Schleef
1e17763c6e Add -p and -P flags to bison and flex, to prefix yy* symbols with _gst_parse_yy. This fixes symbol conflict with oth...
Original commit message from CVS:
Add -p and -P flags to bison and flex, to prefix yy* symbols with
_gst_parse_yy.  This fixes symbol conflict with other libs.
(Should go into 0.4.1.)
2002-09-18 23:23:41 +00:00
Christian Schaller
7abafd429a fix tab vs space
Original commit message from CVS:
fix tab vs space
2002-09-18 19:11:56 +00:00
Christian Schaller
08ca250525 gstreamer part of new license field in element factory
Original commit message from CVS:
gstreamer part of new license field in element factory
2002-09-18 18:58:39 +00:00
David Schleef
4da8cc062b Fix for compiler warnings on PowerPC. Compiler complains about longjmp() clobbering local variables, which appear to...
Original commit message from CVS:
Fix for compiler warnings on PowerPC.  Compiler complains about longjmp()
clobbering local variables, which appear to be bogus.
2002-09-18 06:21:58 +00:00
Wim Taymans
b38e8d3905 I'm sure you'll appreciate my getting out of bed for this..
Original commit message from CVS:
I'm sure you'll appreciate my getting out of bed for this..
2002-09-17 23:46:52 +00:00
Wim Taymans
1debaf2b59 Added vmethod for when an element changes scheduling behaviour (like switching from chain based to loop based etc)
Original commit message from CVS:
Added vmethod for when an element changes scheduling behaviour (like
switching from chain based to loop based etc)
2002-09-17 21:23:33 +00:00
Wim Taymans
8b3c7040d4 - Added value transform functions for caps and props boxed types
Original commit message from CVS:
- Added value transform functions for caps and props boxed types
- implement gst_props_new with a GList
- fixed silly typo in _gst_type_*
2002-09-17 21:22:31 +00:00
Thomas Vander Stichele
f0c104309d better warning (?)
Original commit message from CVS:
better warning (?)
2002-09-15 18:20:41 +00:00
Wim Taymans
a70416bcd8 State change cleanups
Original commit message from CVS:
State change cleanups
2002-09-15 13:53:08 +00:00
Wim Taymans
c2e64f65da Small cleanups and leak fixes
Original commit message from CVS:
Small cleanups and leak fixes
2002-09-15 13:45:26 +00:00
Wim Taymans
e6e1dc2e0e - some cleanups
Original commit message from CVS:
- some cleanups
- revert a patch that needs more thinking..
- move common code and sanity checks in gstscheduler.c instead of the
real schedulers.
- remove sanity checks from the schedulers
2002-09-13 23:02:54 +00:00
Wim Taymans
1e4b4cf6c2 Reverted scheduler change
Original commit message from CVS:
Reverted scheduler change
2002-09-13 21:55:35 +00:00
Wim Taymans
912e4ef0f9 Maybe this fixes rhythmbox again
Original commit message from CVS:
Maybe this fixes rhythmbox again
2002-09-13 21:41:31 +00:00
Ronald S. Bultje
fc6ac17dc1 Dont give a warning on unconnected pads (bugzilla ID 93218) - thanks Iain
Original commit message from CVS:
Dont give a warning on unconnected pads (bugzilla ID 93218) - thanks Iain
2002-09-13 13:32:28 +00:00
Wim Taymans
3443f74f10 Added optimal scheduler to build and call it optomega
Original commit message from CVS:
Added optimal scheduler to build and call it optomega
2002-09-12 21:00:57 +00:00
Wim Taymans
37a127d9ed - Make the return GList of gst_element_get_pad_list as const
Original commit message from CVS:
- Make the return GList of gst_element_get_pad_list as const
- Pad scheduler refactoring
- Remove gst_pad_set/unset_scheduler as it's not needed
- Reimplement gst_pad_get_scheduler using the parent scheduler
- Remove gst_pad_peek as it cannot work reliably
- Remove the pad bufpen, replace with scheduler private gpointer
- Make queue use the new _get_scheduler implementation
- Remove _pad_unset_scheduler from GstScheduler
- Remove LOOP_SEEK mode from aggregator
- Other fixes for API changes.
2002-09-12 20:52:03 +00:00
Thomas Vander Stichele
a0537fd60f revert this comment
Original commit message from CVS:
revert this comment
2002-09-12 20:13:21 +00:00
Thomas Vander Stichele
17d01b5d21 scheduler renaming
Original commit message from CVS:
scheduler renaming
- wingo or omega for cothreads package
- basic or fast or optimal for algorithms
2002-09-12 19:23:41 +00:00
Wim Taymans
27301abdb3 More updates to the non-cothread scheduler
Original commit message from CVS:
More updates to the non-cothread scheduler
2002-09-12 19:22:03 +00:00
Thomas Vander Stichele
3a5b408709 useful comments change thread -> cothread in varnames where it's applicable code cleanups
Original commit message from CVS:
* useful comments
* change thread -> cothread in varnames where it's applicable
* code cleanups
2002-09-12 18:56:31 +00:00
Thomas Vander Stichele
b5b28a3c8b cleanups
Original commit message from CVS:
cleanups
2002-09-12 18:55:21 +00:00
Thomas Vander Stichele
dd9d93d295 code cleanup
Original commit message from CVS:
code cleanup
2002-09-12 18:54:16 +00:00
Thomas Vander Stichele
01c9750b48 makes for nicer looking code
Original commit message from CVS:
makes for nicer looking code
2002-09-12 18:51:17 +00:00
Thomas Vander Stichele
a1b9526640 Uraeus bought the rights to this patch it makes spideridentity be a real element and thus show up in the editor
Original commit message from CVS:
Uraeus bought the rights to this patch
it makes spideridentity be a real element and thus show up in the editor
2002-09-12 18:49:22 +00:00
Thomas Vander Stichele
eec0875bd2 one simple fix in the madness that spider is
Original commit message from CVS:
one simple fix in the madness that spider is
2002-09-12 09:19:00 +00:00
Ronald S. Bultje
5b5274daf2 This changes an important part of the plugin API, gst_pad_try_set_caps() no longer returns a boolean, it now returns ...
Original commit message from CVS:
This changes an important part of the plugin API, gst_pad_try_set_caps() no longer returns a boolean, it now returns a GstPadConnectReturn, which makes much more sense than a boolean. All plugins have also been changed, so don't worry ;)
2002-09-10 08:52:58 +00:00
Thomas Vander Stichele
1cbfc22ca4 one extra check
Original commit message from CVS:
one extra check
2002-09-10 07:56:06 +00:00
Thomas Vander Stichele
5f562239ea give an error only at the end (when it couldn't load some plug-ins definitively)
Original commit message from CVS:
give an error only at the end (when it couldn't load some plug-ins
definitively)
2002-09-09 23:28:29 +00:00
Wim Taymans
09051e110b Added comments
Original commit message from CVS:
Added comments
Added _show
Special cased wrapper functions to minimize checks at runtime
2002-09-08 22:42:29 +00:00
Christian Schaller
b9b6c6890a committing many nice little memleaks fixes from Iain, great work dude
Original commit message from CVS:
committing many nice little memleaks fixes from Iain, great work dude
2002-09-08 18:27:36 +00:00
Wim Taymans
d5d1387153 A new scheduler that tries to minimize the number of cothreads, still needs a lot of work.
Original commit message from CVS:
A new scheduler that tries to minimize the number of cothreads,
still needs a lot of work.
2002-09-08 17:58:00 +00:00
Wim Taymans
6fc49a76a1 Let's take the performance hit (cache flush) on UP and make it work on SMP too. (thanks to Cameron Hutchison)
Original commit message from CVS:
Let's take the performance hit (cache flush) on UP and make it work
on SMP too. (thanks to Cameron Hutchison)
2002-09-05 22:21:45 +00:00
Andy Wingo
16787e78c0 don't pass pointers to automatic variables
Original commit message from CVS:
don't pass pointers to automatic variables
2002-09-02 18:49:40 +00:00
Thomas Vander Stichele
f876b446b0 crap
Original commit message from CVS:
crap
2002-09-01 21:11:18 +00:00
Thomas Vander Stichele
a6fb424589 forgot this one
Original commit message from CVS:
forgot this one
2002-09-01 20:31:45 +00:00
Thomas Vander Stichele
715b449a35 big ass set of useless dog fixes [1] changes to pad code so that NULL names are allowed and useful [1] some API chang...
Original commit message from CVS:

big ass set of useless dog fixes [1]
changes to pad code so that NULL names are allowed and useful [1]
some API changes [2]
lots of code cleanup

[1] approved by wtay [3]
[2] approved by wingo
[3] how long can we keep blaming that code guy that's not back from holidays
yet for everything we commit ?
2002-09-01 20:11:14 +00:00
Andy Wingo
aec2e3353e when going READY->PAUSED, allow try_set_caps on a READY element.
Original commit message from CVS:
when going READY->PAUSED, allow try_set_caps on a READY element.

(approved by wtay ;)
2002-09-01 19:43:06 +00:00
Wim Taymans
d9123d8468 Don't doe EOS in a state change function
Original commit message from CVS:
Don't doe EOS in a state change function
2002-09-01 12:55:57 +00:00
Andy Wingo
52ec4f4e5b add core elements to the registry pool plugin list fix python check
Original commit message from CVS:
* add core elements to the registry pool plugin list
* fix python check
2002-08-31 18:17:02 +00:00
Thomas Vander Stichele
56c8649f39 doc updates
Original commit message from CVS:
doc updates
2002-08-30 14:54:58 +00:00
Thomas Vander Stichele
f2a11148a8 typo fix
Original commit message from CVS:
typo fix
2002-08-30 14:30:55 +00:00
Thomas Vander Stichele
7f47c0507c code cleanups and doc fixes
Original commit message from CVS:
code cleanups and doc fixes
2002-08-30 14:02:15 +00:00
Thomas Vander Stichele
f3fdcea578 clearer code and debug info
Original commit message from CVS:
clearer code and debug info
2002-08-29 10:29:51 +00:00
Thomas Vander Stichele
84085a7943 get the type number before showing it
Original commit message from CVS:
get the type number before showing it
2002-08-28 16:07:34 +00:00
Thomas Vander Stichele
789b347d71 code cleanup fixes
Original commit message from CVS:
code cleanup fixes
2002-08-28 10:45:57 +00:00
Thomas Vander Stichele
de527dd234 nicer looking
Original commit message from CVS:
nicer looking
2002-08-28 10:11:26 +00:00
Thomas Vander Stichele
5921d35a67 more nonsrcdir build fixes
Original commit message from CVS:
more nonsrcdir build fixes
2002-08-13 22:30:46 +00:00
Thomas Vander Stichele
d6f5464ba6 fixing recursive make problem and nonscrdir builds
Original commit message from CVS:
fixing recursive make problem and nonscrdir builds
2002-08-13 17:38:48 +00:00
Thomas Vander Stichele
075b9aed73 fixing nonsrcdir builds
Original commit message from CVS:
fixing nonsrcdir builds
2002-08-13 16:30:58 +00:00
Thomas Vander Stichele
76d31f5af1 readable cleanups
Original commit message from CVS:
readable cleanups
2002-08-13 14:11:33 +00:00
Thomas Vander Stichele
c1e2b0009b fix for older glibc's
Original commit message from CVS:
fix for older glibc's
2002-08-13 13:56:05 +00:00
Thomas Vander Stichele
1f212d7a8f fixes bug http://bugzilla.gnome.org/show_bug.cgi?id=90333 and similar.
Original commit message from CVS:
fixes bug
http://bugzilla.gnome.org/show_bug.cgi?id=90333
and similar.
I'd like to also do s/guchar/gchar/ in the xml functions, any reason not to ?
please comment ;)
2002-08-12 16:59:39 +00:00
Thomas Vander Stichele
2532399423 fixes bug http://bugzilla.gnome.org/show_bug.cgi?id=90332
Original commit message from CVS:
fixes bug
http://bugzilla.gnome.org/show_bug.cgi?id=90332
2002-08-12 16:40:50 +00:00
Thomas Vander Stichele
f797817a95 small cleanups clarifications don't try reloading xml reg when it isn't writable
Original commit message from CVS:
small cleanups
clarifications
don't try reloading xml reg when it isn't writable
2002-08-11 21:50:37 +00:00
Thomas Vander Stichele
cf4d566d0b adding EXISTS flag
Original commit message from CVS:
adding EXISTS flag
2002-08-11 21:00:18 +00:00
Thomas Vander Stichele
791650ba54 adding EXISTS check so we can build it if it doesn't exist on startup
Original commit message from CVS:
adding EXISTS check so we can build it if it doesn't exist on startup
2002-08-11 20:57:48 +00:00
Thomas Vander Stichele
62deade97d better error handling, still needs improvement
Original commit message from CVS:
better error handling, still needs improvement
2002-08-11 19:33:47 +00:00
Wim Taymans
1dea23cf36 Implemented segment seeking in fakesrc
Original commit message from CVS:
Implemented segment seeking in fakesrc
2002-08-02 11:45:20 +00:00
Wim Taymans
cadff5e813 Some more event flags some more padquery types
Original commit message from CVS:
Some more event flags
some more padquery types
Better debugging in _pad_get_caps
ref the caps before adding them to a padtemplate
2002-08-02 11:40:27 +00:00
Thomas Vander Stichele
92119614be make dist fix
Original commit message from CVS:
make dist fix
2002-07-31 14:28:15 +00:00
Thomas Vander Stichele
b3621c3f63 fix name and comment
Original commit message from CVS:
fix name and comment
2002-07-31 14:27:22 +00:00
Wim Taymans
992f55fe4c Some debug info
Original commit message from CVS:
Some debug info
2002-07-30 19:21:13 +00:00
Wim Taymans
f332559461 Use fancy macros
Original commit message from CVS:
Use fancy macros
2002-07-30 19:19:15 +00:00
Wim Taymans
67b8fe63cf Add default deep_notify and error signal callbacks to core.
Original commit message from CVS:
Add default deep_notify and error signal callbacks to core.
2002-07-30 19:17:25 +00:00
Thomas Vander Stichele
af8689298f this triggers a regen of the autogenned source files
Original commit message from CVS:
this triggers a regen of the autogenned source files
2002-07-28 13:09:35 +00:00
Wim Taymans
972a98a112 Added include for strcmp
Original commit message from CVS:
Added include for strcmp
2002-07-28 13:04:33 +00:00
Wim Taymans
d9e856160f Increment counter when registering standard formats
Original commit message from CVS:
Increment counter when registering standard formats
2002-07-28 02:05:45 +00:00
Wim Taymans
c8d3e2e9a9 Make the formats dynamic so that plugins can register new seek/query formats
Original commit message from CVS:
Make the formats dynamic so that plugins can register new seek/query
formats
2002-07-28 01:54:42 +00:00
Wim Taymans
a444a6ccc5 - move the state_change signal emit to a better place, before changing the parent state
Original commit message from CVS:
- move the state_change signal emit to a better place, before changing
the parent state
- also call the parent state change handler in a bin
2002-07-28 01:46:38 +00:00
Wim Taymans
e3c9576f3c Fix some wrong prototypes and funtion args
Original commit message from CVS:
Fix some wrong prototypes and funtion args
2002-07-28 01:06:16 +00:00
Wim Taymans
1975b199d2 Turn some g_prints into g_warnings as that's what they really are
Original commit message from CVS:
Turn some g_prints into g_warnings as that's what they really are
2002-07-28 01:04:33 +00:00
Wim Taymans
3044995848 Only connect dynamic pads if with the right template name
Original commit message from CVS:
Only connect dynamic pads if with the right template name
2002-07-26 21:49:32 +00:00
Wim Taymans
c2a0080f90 Also handle READONLY buffers in the copy_on_write function
Original commit message from CVS:
Also handle READONLY buffers in the copy_on_write function
2002-07-25 18:47:48 +00:00
Wim Taymans
12fddba0bd Added some convenience macros for creating format/querytype and eventmask functions
Original commit message from CVS:
Added some convenience macros for creating format/querytype and eventmask
functions
2002-07-25 18:12:12 +00:00
Wim Taymans
a33c875057 Don't try to pull on disabled pads in the scheduler
Original commit message from CVS:
Don't try to pull on disabled pads in the scheduler
2002-07-24 21:09:46 +00:00
Wim Taymans
6db19b953c - Implemented seekmasks, query types and formats in various plugins
Original commit message from CVS:
- Implemented seekmasks, query types and formats in various plugins
- use GST_PAD_IS_USABLE if possible
2002-07-24 21:08:43 +00:00
Wim Taymans
a1a3d3455f - More element API docs.
Original commit message from CVS:
- More element API docs.
- more nego changes for READY->PAUSED
2002-07-24 21:06:17 +00:00
Wim Taymans
58377870e8 - some pad.h reorg, better grouping of function
Original commit message from CVS:
- some pad.h reorg, better grouping of function
- added methods and default implementations to get supported formats,
seek methods/flags and query types.
- implemented pad activation/disabling
- start negotiation in the READY->PAUSED state
- added GST_PAD_IS_USABLE (better name?) to check if a pad can be used
for data transport (check if connected and peerpad is active)
- added query for segment end
2002-07-24 21:04:50 +00:00
Wim Taymans
d73b8fff36 Added parent_unset signal to gstobject for completeness
Original commit message from CVS:
Added parent_unset signal to gstobject for completeness
2002-07-24 20:42:13 +00:00
Wim Taymans
cb04a141e3 - added GstEventMask to specify event masks (next set of commits)
Original commit message from CVS:
- added GstEventMask to specify event masks (next set of commits)
- use flags for seek methods (for use in masks)
- removed #if 0 from gstmemchunk.h
2002-07-24 20:41:08 +00:00
Wim Taymans
de12c3557a Removed gst_bin_change_state_type it doesn't work and the concept is outdated, we'll find something better soon..
Original commit message from CVS:
Removed gst_bin_change_state_type it doesn't work and the concept is
outdated, we'll find something better soon..
2002-07-24 20:37:09 +00:00
Wim Taymans
29ae46b307 Fixed the missing .h file and some reorg (not sure what's best)
Original commit message from CVS:
Fixed the missing .h file and some reorg (not sure what's best)
2002-07-24 20:20:50 +00:00
Andy Wingo
74eba3a615 add default bufferpool, clean up some code, add bufferpool testing to fakesrc
Original commit message from CVS:
add default bufferpool, clean up some code, add bufferpool testing to fakesrc
2002-07-24 18:31:12 +00:00
Wim Taymans
e9f84e2738 - Documentation updates, renamed some _ methods because gtkdoc didn't want to generate docs for them.
Original commit message from CVS:
- Documentation updates, renamed some _ methods because gtkdoc didn't
want to generate docs for them.
- Add some more events for future use.
2002-07-13 23:12:22 +00:00
Wim Taymans
b43cf3886a Make sizeof(GstBuffer) independent of config.h and HAVE_ATOMIC_H. This still needs a more fundamental solution though.
Original commit message from CVS:
Make sizeof(GstBuffer) independent of config.h and HAVE_ATOMIC_H. This still
needs a more fundamental solution though.
2002-07-13 23:08:04 +00:00
Wim Taymans
713d471ddd Small documentation updates
Original commit message from CVS:
Small documentation updates
2002-07-13 23:05:46 +00:00
Andy Wingo
efafdb2aa6 be more lenient when loading unconnected pads
Original commit message from CVS:
be more lenient when loading unconnected pads
2002-07-12 19:13:19 +00:00
Thomas Vander Stichele
45d414338b Makefile.am portability fix better error handling, this solves the g_error_free assert error some people had
Original commit message from CVS:
Makefile.am portability fix
better error handling, this solves the g_error_free assert error some people
had
2002-07-12 14:14:30 +00:00
Thomas Vander Stichele
a64e400a97 lioux's virtual patch
Original commit message from CVS:
lioux's virtual patch
2002-07-11 21:38:23 +00:00
Thomas Vander Stichele
92de697c34 I'm too lazy to comment this
Original commit message from CVS:
combined patch by me and lioux@FreeBSD.org
2002-07-11 21:22:55 +00:00
David Schleef
ac47ece0a2 Fix GstBufferFlag so it's really an enum typedef, not a declaration.
Original commit message from CVS:
Fix GstBufferFlag so it's really an enum typedef, not a declaration.
2002-07-10 18:16:44 +00:00
Wim Taymans
4b1379455d Fix the g_mutex_free in the fallback case
Original commit message from CVS:
Fix the g_mutex_free in the fallback case
2002-07-09 15:45:14 +00:00
Thomas Vander Stichele
ecca9fa96a oops fix
Original commit message from CVS:
oops fix
2002-07-09 11:08:01 +00:00
Thomas Vander Stichele
dcb3cec6a0 merge from BRANCH-RELEASE-0_4_0
Original commit message from CVS:
merge from BRANCH-RELEASE-0_4_0
2002-07-09 10:27:22 +00:00
Wim Taymans
fcb10a6c85 - Removed bufferpool code and move that to gstbuffer.c
Original commit message from CVS:
- Removed bufferpool code and move that to gstbuffer.c
- implemented refcounting on GstData
- implemented new buffer code based on Company's work in the EVENTS2 branch
- added boxed types for GstData/GstEvent/GstBuffer/GstBufferPool
- added refcounting to bufferpools and events
- use lockfree allocation for buffers
- simplified the clock, use lockfree allocation
- use GQueue in GstQueue for faster access to the tail element
- update core plugins to the new event API
2002-07-08 19:22:02 +00:00
Wim Taymans
74b6b732f1 - Added a bunch of fast atomic operations on x86 with C fallbacks
Original commit message from CVS:
- Added a bunch of fast atomic operations on x86 with C fallbacks
- Added the code for refcounting in GstData
- Added a gstmemchunk allocator using atomic operations
2002-07-08 19:12:38 +00:00
Wim Taymans
80c371342b This one removes the unused code..
Original commit message from CVS:
This one removes the unused code..
2002-07-08 19:10:11 +00:00
Wim Taymans
ae87d97cb2 - Removed unused locking from the cothreads
Original commit message from CVS:
- Removed unused locking from the cothreads
- use G_*_DECLS in .h files
- remove gstlog.h include from gstobject.h, add to .c files
- removed unused refcounting code from gstobject
- small fixes in #includes
- Added Scheduling policy and priority properties to gstthread so that
SCHED_FIFO and SCHED_RR threads can be constructed.
2002-07-08 19:07:30 +00:00
Andy Wingo
160f5b168d if you can't write to the registry (ie it is root-owned and you are user) and it is out of date, just ignore it; plug...
Original commit message from CVS:
if you can't write to the registry (ie it is root-owned and you are user) and it
is out of date, just ignore it; plugin state will get written to the user reg
2002-07-05 16:18:18 +00:00
Wim Taymans
83f2253007 Set the scheduler to NULL in all cases.
Original commit message from CVS:
Set the scheduler to NULL in all cases.
2002-07-02 18:42:00 +00:00
David I. Lehn
202c3ac637 ignore generated enumtypes files.
Original commit message from CVS:
ignore generated enumtypes files.
2002-07-02 13:38:01 +00:00