platform/upstream/gstreamer.git
21 years agoAdded indexers testsuite
Wim Taymans [Fri, 13 Dec 2002 17:40:56 +0000 (17:40 +0000)]
Added indexers testsuite

Original commit message from CVS:
Added indexers testsuite

21 years agofixes a jhbuild bug
Thomas Vander Stichele [Fri, 13 Dec 2002 15:33:42 +0000 (15:33 +0000)]
fixes a jhbuild bug

Original commit message from CVS:
fixes a jhbuild bug

21 years agocache->index
Wim Taymans [Thu, 12 Dec 2002 22:16:11 +0000 (22:16 +0000)]
cache->index

Original commit message from CVS:
cache->index

21 years agoRenamed GstCache to GstIndex
Wim Taymans [Thu, 12 Dec 2002 22:14:36 +0000 (22:14 +0000)]
Renamed GstCache to GstIndex

Original commit message from CVS:
Renamed GstCache to GstIndex

21 years agoAdded missing image
Wim Taymans [Thu, 12 Dec 2002 21:02:51 +0000 (21:02 +0000)]
Added missing image

Original commit message from CVS:
Added missing image

21 years agofix nonvalidation, now for the png problems !
Thomas Vander Stichele [Thu, 12 Dec 2002 18:03:16 +0000 (18:03 +0000)]
fix nonvalidation, now for the png problems !

Original commit message from CVS:
fix nonvalidation, now for the png problems !

21 years agofix validation
Thomas Vander Stichele [Thu, 12 Dec 2002 16:51:45 +0000 (16:51 +0000)]
fix validation

Original commit message from CVS:
fix validation

21 years agooops, too much revert
Thomas Vander Stichele [Wed, 11 Dec 2002 22:22:35 +0000 (22:22 +0000)]
oops, too much revert

Original commit message from CVS:
oops, too much revert

21 years agonot used anymore
Thomas Vander Stichele [Wed, 11 Dec 2002 22:13:27 +0000 (22:13 +0000)]
not used anymore

Original commit message from CVS:
not used anymore

21 years agomerge from release branch
Thomas Vander Stichele [Wed, 11 Dec 2002 21:33:07 +0000 (21:33 +0000)]
merge from release branch

Original commit message from CVS:
merge from release branch

21 years agofixes for solaris
Thomas Vander Stichele [Wed, 11 Dec 2002 16:00:41 +0000 (16:00 +0000)]
fixes for solaris

Original commit message from CVS:
fixes for solaris

21 years agoClean up cothread destruction code
David Schleef [Tue, 10 Dec 2002 04:05:14 +0000 (04:05 +0000)]
Clean up cothread destruction code

Original commit message from CVS:
Clean up cothread destruction code

21 years agoLots of new assertions and debugging
David Schleef [Tue, 10 Dec 2002 04:01:09 +0000 (04:01 +0000)]
Lots of new assertions and debugging

Original commit message from CVS:
Lots of new assertions and debugging

21 years agoAdded setting of _gst_debug_cothread_index for debugging
David Schleef [Tue, 10 Dec 2002 03:59:15 +0000 (03:59 +0000)]
Added setting of _gst_debug_cothread_index for debugging

Original commit message from CVS:
Added setting of _gst_debug_cothread_index for debugging

21 years agoAdded thread-loval variable for cothread index.
David Schleef [Tue, 10 Dec 2002 03:48:15 +0000 (03:48 +0000)]
Added thread-loval variable for cothread index.

Original commit message from CVS:
Added thread-loval variable for cothread index.

21 years agoPartially revert last change, since it breaks things. wtay: FIXME!
David Schleef [Tue, 10 Dec 2002 03:45:03 +0000 (03:45 +0000)]
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!

21 years agoturn off cothreads, fix some typos
Wim Taymans [Mon, 9 Dec 2002 22:31:16 +0000 (22:31 +0000)]
turn off cothreads, fix some typos

Original commit message from CVS:
turn off cothreads, fix some typos

21 years agoDestroying the cothread seems like a good idea here
Wim Taymans [Mon, 9 Dec 2002 20:33:27 +0000 (20:33 +0000)]
Destroying the cothread seems like a good idea here

Original commit message from CVS:
Destroying the cothread seems like a good idea here

21 years agoUse makecontext() as a generic implementation
David Schleef [Mon, 9 Dec 2002 01:41:05 +0000 (01:41 +0000)]
Use makecontext() as a generic implementation

Original commit message from CVS:
Use makecontext() as a generic implementation

21 years agoFix the powerpc atomix swap
David Schleef [Mon, 9 Dec 2002 01:32:37 +0000 (01:32 +0000)]
Fix the powerpc atomix swap

Original commit message from CVS:
Fix the powerpc atomix swap

21 years agoback to cvs
Thomas Vander Stichele [Sun, 8 Dec 2002 20:30:03 +0000 (20:30 +0000)]
back to cvs

Original commit message from CVS:
back to cvs

21 years agosmall fix BRANCH-RELEASE-0_5_0-ROOT
Thomas Vander Stichele [Sun, 8 Dec 2002 20:13:22 +0000 (20:13 +0000)]
small fix

Original commit message from CVS:
small fix

21 years agoBetter debugging
Wim Taymans [Sun, 8 Dec 2002 20:09:42 +0000 (20:09 +0000)]
Better debugging

Original commit message from CVS:
Better debugging

21 years agoASYNC state changes are not an error.
Wim Taymans [Sun, 8 Dec 2002 20:08:39 +0000 (20:08 +0000)]
ASYNC state changes are not an error.

Original commit message from CVS:
ASYNC state changes are not an error.

21 years agoFix broken __PRETY_FUNCTION__
Wim Taymans [Sun, 8 Dec 2002 20:06:04 +0000 (20:06 +0000)]
Fix broken __PRETY_FUNCTION__

Original commit message from CVS:
Fix broken __PRETY_FUNCTION__

21 years agofix uninstalled
Thomas Vander Stichele [Sun, 8 Dec 2002 19:34:34 +0000 (19:34 +0000)]
fix uninstalled

Original commit message from CVS:
fix uninstalled

21 years agosmall fix
Thomas Vander Stichele [Sun, 8 Dec 2002 18:21:32 +0000 (18:21 +0000)]
small fix

Original commit message from CVS:
small fix

21 years agoA little more debugging info and error checking
Wim Taymans [Sun, 8 Dec 2002 16:43:27 +0000 (16:43 +0000)]
A little more debugging info and error checking

Original commit message from CVS:
A little more debugging info and error checking

21 years agofix for leif
Thomas Vander Stichele [Sun, 8 Dec 2002 16:16:20 +0000 (16:16 +0000)]
fix for leif

Original commit message from CVS:
fix for leif

21 years agooopsie
Thomas Vander Stichele [Sun, 8 Dec 2002 16:07:13 +0000 (16:07 +0000)]
oopsie

Original commit message from CVS:
oopsie

21 years agorevert last commit
Thomas Vander Stichele [Sun, 8 Dec 2002 15:54:28 +0000 (15:54 +0000)]
revert last commit

Original commit message from CVS:
revert last commit

21 years agomove gst-register from post core to post tools
Christian Schaller [Sun, 8 Dec 2002 15:49:40 +0000 (15:49 +0000)]
move gst-register from post core to post tools

Original commit message from CVS:
move gst-register from post core to post tools

21 years agomore fixes
Thomas Vander Stichele [Sun, 8 Dec 2002 15:25:53 +0000 (15:25 +0000)]
more fixes

Original commit message from CVS:
more fixes

21 years agofix for parallel installability
Thomas Vander Stichele [Sun, 8 Dec 2002 14:39:38 +0000 (14:39 +0000)]
fix for parallel installability

Original commit message from CVS:
fix for parallel installability

21 years agooops
Thomas Vander Stichele [Sun, 8 Dec 2002 02:08:47 +0000 (02:08 +0000)]
oops

Original commit message from CVS:
oops

21 years agofix bug #96751
Wim Taymans [Sun, 8 Dec 2002 01:26:02 +0000 (01:26 +0000)]
fix bug #96751

Original commit message from CVS:
fix bug #96751

21 years agochanged to macros
Thomas Vander Stichele [Sun, 8 Dec 2002 01:13:09 +0000 (01:13 +0000)]
changed to macros

Original commit message from CVS:
changed to macros

21 years agomove these to macros
Thomas Vander Stichele [Sat, 7 Dec 2002 22:18:17 +0000 (22:18 +0000)]
move these to macros

Original commit message from CVS:
move these to macros

21 years agovariety is spicy
Thomas Vander Stichele [Sat, 7 Dec 2002 14:16:52 +0000 (14:16 +0000)]
variety is spicy

Original commit message from CVS:
variety is spicy

21 years agotypos
Thomas Vander Stichele [Sat, 7 Dec 2002 14:15:52 +0000 (14:15 +0000)]
typos

Original commit message from CVS:
typos

21 years agofix a warning
Thomas Vander Stichele [Sat, 7 Dec 2002 14:13:50 +0000 (14:13 +0000)]
fix a warning

Original commit message from CVS:
fix a warning

21 years agomove some code around to avoid warnings
Thomas Vander Stichele [Sat, 7 Dec 2002 14:13:27 +0000 (14:13 +0000)]
move some code around to avoid warnings

Original commit message from CVS:
move some code around to avoid warnings

21 years agoRemoving unused code related to stack allocation (cothreads_stackquery(), gst_schedul...
David Schleef [Fri, 6 Dec 2002 23:05:26 +0000 (23:05 +0000)]
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())

21 years agoMake sure we set the reaping flag when going to NULL before we signal the parent.
Wim Taymans [Fri, 6 Dec 2002 20:12:38 +0000 (20:12 +0000)]
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.

21 years agoAdded syntax to make filtered connections like: osssrc src\!audio/raw, channels=int...
Wim Taymans [Fri, 6 Dec 2002 20:06:06 +0000 (20:06 +0000)]
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

21 years agoMake sure we don't set caps that violate the (app)filter
Wim Taymans [Fri, 6 Dec 2002 20:03:57 +0000 (20:03 +0000)]
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

21 years agoFix valloc bug found by jmi25@cam.ac.uk, closes bug #100553. removed dead code
Wim Taymans [Fri, 6 Dec 2002 20:02:24 +0000 (20:02 +0000)]
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

21 years agolooks like a silly typo
Thomas Vander Stichele [Fri, 6 Dec 2002 13:37:43 +0000 (13:37 +0000)]
looks like a silly typo

Original commit message from CVS:
looks like a silly typo

21 years ago+ fixing compile warnings about uninitialized variable
Leif Johnson [Thu, 5 Dec 2002 23:43:49 +0000 (23:43 +0000)]
+ fixing compile warnings about uninitialized variable

Original commit message from CVS:
+ fixing compile warnings about uninitialized variable

21 years agorefactor cothread stack mmap code. Add makecontext() as an option for initial stack...
David Schleef [Thu, 5 Dec 2002 01:50:31 +0000 (01:50 +0000)]
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.

21 years agoAdd some assertions to check that we're running inside the correct thread when playin...
David Schleef [Wed, 4 Dec 2002 00:07:13 +0000 (00:07 +0000)]
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

21 years agoCheck state changes before going into enless loops
Wim Taymans [Tue, 3 Dec 2002 23:46:16 +0000 (23:46 +0000)]
Check state changes before going into enless loops

Original commit message from CVS:
Check state changes before going into enless loops

21 years agoChange GPrivate usage to GStaticPrivate, assuming it's more trustworthy
David Schleef [Tue, 3 Dec 2002 22:44:49 +0000 (22:44 +0000)]
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

21 years agouse AM_CFLAGS dummy NULL init for vars to deal with warnings
David I. Lehn [Tue, 3 Dec 2002 21:55:39 +0000 (21:55 +0000)]
use AM_CFLAGS dummy NULL init for vars to deal with warnings

Original commit message from CVS:
use AM_CFLAGS
dummy NULL init for vars to deal with warnings

21 years agoDo some error checking to make this test succeed
Wim Taymans [Tue, 3 Dec 2002 21:40:49 +0000 (21:40 +0000)]
Do some error checking to make this test succeed

Original commit message from CVS:
Do some error checking to make this test succeed

21 years agoMake sure the thread goes back to NULL before leaving the thread context
Wim Taymans [Tue, 3 Dec 2002 21:34:18 +0000 (21:34 +0000)]
Make sure the thread goes back to NULL before leaving the thread context

Original commit message from CVS:
Make sure the thread goes back to NULL before leaving the thread context

21 years agoReset the scheduler when going to NULL
Wim Taymans [Tue, 3 Dec 2002 21:33:29 +0000 (21:33 +0000)]
Reset the scheduler when going to NULL

Original commit message from CVS:
Reset the scheduler when going to NULL

21 years agoAdd assertion in cothread_get_context()
David Schleef [Tue, 3 Dec 2002 21:02:55 +0000 (21:02 +0000)]
Add assertion in cothread_get_context()

Original commit message from CVS:
Add assertion in cothread_get_context()

21 years agoAdd small cache testsuite
Wim Taymans [Mon, 2 Dec 2002 22:41:15 +0000 (22:41 +0000)]
Add small cache testsuite

Original commit message from CVS:
Add small cache testsuite

21 years agoMore cache updates
Wim Taymans [Mon, 2 Dec 2002 22:39:56 +0000 (22:39 +0000)]
More cache updates

Original commit message from CVS:
More cache updates

21 years agoAdded current status of memcache
Wim Taymans [Mon, 2 Dec 2002 20:20:13 +0000 (20:20 +0000)]
Added current status of memcache

Original commit message from CVS:
Added current status of memcache

21 years agoI'm too lazy to comment this
Gerhard Tonn [Mon, 2 Dec 2002 19:09:47 +0000 (19:09 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
Patch from Gerhard Tonn <GerhardTonn@gammatau.de> for s390

21 years agoInitialize buf with NULL ... should compile now
Jeremy Simon [Sun, 1 Dec 2002 18:32:34 +0000 (18:32 +0000)]
Initialize buf with NULL ... should compile now

Original commit message from CVS:
Initialize buf with NULL ... should compile now

21 years agoremove debug
Steve Baker [Sun, 1 Dec 2002 01:42:48 +0000 (01:42 +0000)]
remove debug

Original commit message from CVS:
remove debug

21 years agothis debugging would have borked
Steve Baker [Sun, 1 Dec 2002 01:39:35 +0000 (01:39 +0000)]
this debugging would have borked

Original commit message from CVS:
this debugging would have borked

21 years agofirst phase of spider cleanup
Steve Baker [Sun, 1 Dec 2002 01:37:58 +0000 (01:37 +0000)]
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

21 years agoadd libgstcaches.so
Christian Schaller [Fri, 29 Nov 2002 22:30:20 +0000 (22:30 +0000)]
add libgstcaches.so

Original commit message from CVS:
add libgstcaches.so

21 years agofix > to &lt
Christian Schaller [Fri, 29 Nov 2002 22:04:55 +0000 (22:04 +0000)]
fix > to &lt

Original commit message from CVS:
fix > to &lt

21 years agoAdded caches dir
Wim Taymans [Fri, 29 Nov 2002 20:50:10 +0000 (20:50 +0000)]
Added caches dir

Original commit message from CVS:
Added caches dir

21 years agoMake forte heppy
Wim Taymans [Fri, 29 Nov 2002 19:19:32 +0000 (19:19 +0000)]
Make forte heppy

Original commit message from CVS:
Make forte heppy

21 years agoMore forte compiler fixes, added a .h file to store commonly used macros that have...
Wim Taymans [Fri, 29 Nov 2002 19:08:47 +0000 (19:08 +0000)]
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

21 years agoAdd a little cast to make forte happy
Wim Taymans [Fri, 29 Nov 2002 18:34:32 +0000 (18:34 +0000)]
Add a little cast to make forte happy

Original commit message from CVS:
Add a little cast to make forte happy

21 years agoPrint cache info too
Wim Taymans [Fri, 29 Nov 2002 18:18:34 +0000 (18:18 +0000)]
Print cache info too

Original commit message from CVS:
Print cache info too

21 years agoIndex caches dir too, add caches to Makefile.am
Wim Taymans [Fri, 29 Nov 2002 18:16:58 +0000 (18:16 +0000)]
Index caches dir too, add caches to Makefile.am

Original commit message from CVS:
Index caches dir too, add caches to Makefile.am

21 years agoAdded memory cache
Wim Taymans [Fri, 29 Nov 2002 18:16:06 +0000 (18:16 +0000)]
Added memory cache

Original commit message from CVS:
Added memory cache

21 years ago- Save longdesc
Wim Taymans [Fri, 29 Nov 2002 18:15:01 +0000 (18:15 +0000)]
- Save longdesc

Original commit message from CVS:
- Save longdesc
- Save caches

21 years agoMake caches plugable
Wim Taymans [Fri, 29 Nov 2002 18:13:54 +0000 (18:13 +0000)]
Make caches plugable

Original commit message from CVS:
Make caches plugable

21 years agoMake the cache plugable
Wim Taymans [Fri, 29 Nov 2002 18:13:29 +0000 (18:13 +0000)]
Make the cache plugable

Original commit message from CVS:
Make the cache plugable

21 years agoUsed glib macros for no_intrument
Wim Taymans [Fri, 29 Nov 2002 18:10:21 +0000 (18:10 +0000)]
Used glib macros for no_intrument

Original commit message from CVS:
Used glib macros for no_intrument

21 years agoapplied fixed patch from Brian
Thomas Vander Stichele [Fri, 29 Nov 2002 17:05:13 +0000 (17:05 +0000)]
applied fixed patch from Brian

Original commit message from CVS:
applied fixed patch from Brian

21 years agorevert fix because GST_DEBUG_LEAVE("") doesn't work with it
Thomas Vander Stichele [Fri, 29 Nov 2002 14:20:53 +0000 (14:20 +0000)]
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

21 years agorandom cleanups and paranoia checks
Thomas Vander Stichele [Fri, 29 Nov 2002 13:59:30 +0000 (13:59 +0000)]
random cleanups and paranoia checks

Original commit message from CVS:
random cleanups and paranoia checks

21 years agofaq updates metadata/mediainfo
Thomas Vander Stichele [Fri, 29 Nov 2002 13:56:23 +0000 (13:56 +0000)]
faq updates metadata/mediainfo

Original commit message from CVS:
faq updates
metadata/mediainfo

21 years agocode cleanup and make it work
Thomas Vander Stichele [Fri, 29 Nov 2002 13:55:16 +0000 (13:55 +0000)]
code cleanup and make it work

Original commit message from CVS:
code cleanup and make it work

21 years agoundo commit to this makefile as I am not sure yet that the fix is ok
Christian Schaller [Fri, 29 Nov 2002 11:28:51 +0000 (11:28 +0000)]
undo commit to this makefile as I am not sure yet that the fix is ok

Original commit message from CVS:
undo commit to this makefile as I am not sure yet that the fix is ok

21 years agocommit Brian's patch with AC fix from thomas
Christian Schaller [Fri, 29 Nov 2002 11:10:35 +0000 (11:10 +0000)]
commit Brian's patch with AC fix from thomas

Original commit message from CVS:
commit Brian's patch with AC fix from thomas

21 years agoFix stupid bug
Wim Taymans [Thu, 28 Nov 2002 21:30:13 +0000 (21:30 +0000)]
Fix stupid bug

Original commit message from CVS:
Fix stupid bug

21 years agocleanups
Thomas Vander Stichele [Thu, 28 Nov 2002 21:24:01 +0000 (21:24 +0000)]
cleanups

Original commit message from CVS:
cleanups

21 years agocommit the fdsrc fix from Pedro Corte-Real
Christian Schaller [Thu, 28 Nov 2002 14:13:51 +0000 (14:13 +0000)]
commit the fdsrc fix from Pedro Corte-Real

Original commit message from CVS:
commit the fdsrc fix from Pedro Corte-Real

21 years agocommiting Leifs registry to /var/cache patch, works well for me :)
Christian Schaller [Thu, 28 Nov 2002 13:29:52 +0000 (13:29 +0000)]
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 :)

21 years ago+ small updates to plugin writer's guide
Leif Johnson [Thu, 28 Nov 2002 08:37:12 +0000 (08:37 +0000)]
+ small updates to plugin writer's guide

Original commit message from CVS:
+ small updates to plugin writer's guide

21 years agoadded vishnu's doc patch
Christian Schaller [Thu, 28 Nov 2002 00:10:38 +0000 (00:10 +0000)]
added vishnu's doc patch

Original commit message from CVS:
added vishnu's doc patch

21 years agoSmall cleanups
Wim Taymans [Wed, 27 Nov 2002 23:14:33 +0000 (23:14 +0000)]
Small cleanups

Original commit message from CVS:
Small cleanups

21 years agoremoved gsttimecache html from docs section
Christian Schaller [Wed, 27 Nov 2002 22:42:26 +0000 (22:42 +0000)]
removed gsttimecache html from docs section

Original commit message from CVS:
removed gsttimecache html from docs section

21 years agoFix stupid compiler warning
Wim Taymans [Wed, 27 Nov 2002 22:37:57 +0000 (22:37 +0000)]
Fix stupid compiler warning

Original commit message from CVS:
Fix stupid compiler warning

21 years agoFix GstTimeCache leftover
Wim Taymans [Wed, 27 Nov 2002 22:24:22 +0000 (22:24 +0000)]
Fix GstTimeCache leftover

Original commit message from CVS:
Fix GstTimeCache leftover

21 years agoremove indexing again, wrong module :)
Christian Schaller [Wed, 27 Nov 2002 22:08:59 +0000 (22:08 +0000)]
remove indexing again, wrong module :)

Original commit message from CVS:
remove indexing again, wrong module :)

21 years agoadded indexing makefile
Christian Schaller [Wed, 27 Nov 2002 21:30:03 +0000 (21:30 +0000)]
added indexing makefile

Original commit message from CVS:
added indexing makefile

21 years agoRemoved old timecache
Wim Taymans [Wed, 27 Nov 2002 21:10:20 +0000 (21:10 +0000)]
Removed old timecache

Original commit message from CVS:
Removed old timecache

21 years agogst_init modeled upon gtk_init code cleanups
Thomas Vander Stichele [Wed, 27 Nov 2002 21:08:06 +0000 (21:08 +0000)]
gst_init modeled upon gtk_init code cleanups

Original commit message from CVS:
gst_init modeled upon gtk_init
code cleanups