Commit graph

103 commits

Author SHA1 Message Date
Benjamin Otte 568de85efc fix threading on non-optimized atomic architectures. This unfortunately requires initializing threading in init_pre b...
Original commit message from CVS:
fix threading on non-optimized atomic architectures. This unfortunately requires initializing threading in init_pre because the debugging subsystem needs this. Therefore the --gst-nothreads command line option does not work anymore. So I erased it. You can however still call gst_use_threads (FALSE); before calling gst_init
2003-07-03 18:34:36 +00:00
Benjamin Otte 803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
Colin Walters 28fbd2e87b Add --gst-disable-cpu-opt argument.
Original commit message from CVS:
Add --gst-disable-cpu-opt argument.
2003-05-31 02:04:59 +00:00
Thomas Vander Stichele 6cf83f6d8b applying http://bugzilla.gnome.org/show_bug.cgi?id=110707 patch, should fix testsuite issues
Original commit message from CVS:
applying
http://bugzilla.gnome.org/show_bug.cgi?id=110707
patch, should fix testsuite issues
2003-05-18 22:59:51 +00:00
David Schleef ac8e84fb8e change from sscanf to strtol
Original commit message from CVS:
change from sscanf to strtol
2003-05-18 22:41:25 +00:00
Benjamin Otte 50351bc28d remove unnecessary check for registries - registry gets rebuilt automagically anyway
Original commit message from CVS:
remove unnecessary check for registries - registry gets rebuilt automagically anyway
2003-05-02 21:13:19 +00:00
Benjamin Otte ca0fb4bea5 fix for forte
Original commit message from CVS:
fix for forte
2003-05-01 16:54:09 +00:00
Benjamin Otte fe9a0a6d05 silence forte warnings
Original commit message from CVS:
silence forte warnings
2003-05-01 15:16:17 +00:00
Benjamin Otte 6ddd676a02 ok, this is my nomination for idiot of the week
Original commit message from CVS:
ok, this is my nomination for idiot of the week
2003-04-04 19:52:46 +00:00
Benjamin Otte afe37388cb remove old workaround for older popt version.
Original commit message from CVS:
remove old workaround for older popt version.
2003-04-04 17:37:19 +00:00
Benjamin Otte 95b078ac08 many changes to startup handling:
Original commit message from CVS:
many changes to startup handling:
- make gst_init_with_popt_table work like gst_init - exit program on failure, return void
- add gst_init_check_with_popt_table to be the same as gst_init_with_popt_table before - work the same as gst_init_check
- revert an old workaround and apply the proper fix
- do not use g_error to exit the application, g_error causes a segfault. Use exit.
2003-04-04 16:29:37 +00:00
Wim Taymans 188ad57156 Define default scheduler name in just one place.
Original commit message from CVS:
Define default scheduler name in just one place.
2003-02-11 20:41:40 +00:00
Wim Taymans b030b5cef2 - Add more --disable options
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
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
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
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
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 29e2850eff Documentation updates
Original commit message from CVS:
Documentation updates
2002-12-14 13:02:16 +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
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
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
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
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
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
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
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
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 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
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 713d471ddd Small documentation updates
Original commit message from CVS:
Small documentation updates
2002-07-13 23:05:46 +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
Thomas Vander Stichele 61bb83ec4d back to basics
Original commit message from CVS:
back to basics
2002-06-27 11:34:37 +00:00
Wim Taymans 9cfd185748 Small cleanups
Original commit message from CVS:
Small cleanups
2002-06-23 12:42:52 +00:00
Wim Taymans 69b7a292d6 Added a runtime option to use a dummy threading implementation that uses
Original commit message from CVS:
Added a runtime option to use a dummy threading implementation that uses
NOPs for all synchronisation and threading operations.
2002-06-21 14:50:00 +00:00
Wim Taymans 36313bb0c7 Added --gst-version that does nothing else than to print out the core version number the app is using.
Original commit message from CVS:
Added --gst-version that does nothing else than to print out the core
version number the app is using.
2002-06-16 19:08:21 +00:00
Thomas Vander Stichele ac889ced82 changing default scheduler to wingo's spiffy standard one, since it doesn't look up for as many users as basic ;)
Original commit message from CVS:
changing default scheduler to wingo's spiffy standard one, since it
doesn't look up for as many users as basic ;)
2002-06-16 10:33:55 +00:00
Andy Wingo 1f0374782c fix refcounting tests so that they compile and run, but they fail currently: gst leaks obscene amounts of memory ;) f...
Original commit message from CVS:
* fix refcounting tests so that they compile and run, but they fail currently:
gst leaks obscene amounts of memory ;)
* fix plugin loading test so that it only refers to plugins within the gstreamer/
tree
* store gst plugin paths in the registry
* is GST_REGISTRY is set, only use the user registry with the PLUGIN_PATH explictly
specified by the user
* all tests should pass now except refcounting
2002-05-11 20:30:05 +00:00
Andy Wingo fbbdca6996 GST_PLUGIN_PATH gets split into the user registry some debugging output in registry rebuilding don't go into =build, ...
Original commit message from CVS:
* GST_PLUGIN_PATH gets split into the user registry
* some debugging output in registry rebuilding
* don't go into =build, =inst, etc
* i really don't know what the current idiom is for the plugin test suites, disabling for now

still pending issues: what to do when other plugin paths are passed on the command
line for existing registries. if the existing registries were built against those
paths, the time checks work, but if not they will need to be rebuilt. i have a feeling
they should be rebuilt in any case, but it's a tricky issue.
2002-05-10 03:27:42 +00:00
Andy Wingo d9a656b89b Check to see if the registry is out of date, and if so try to rebuild it.
Original commit message from CVS:
Check to see if the registry is out of date, and if so try to rebuild it.

WIERD THING: trying to run gst-register using system() fails. Apparently child processes
can't link to libs parent processes use? It's wierd, and it could be a libtool issue.

That's probably just as well, it would be better just to use -register's code from within
core and not rely on another binary.
2002-05-10 01:13:40 +00:00
Wim Taymans 086de421dc Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups

I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
2002-05-08 20:40:48 +00:00
Thomas Vander Stichele 4cebbc6821 it's nice to see the core's version when running apps
Original commit message from CVS:
it's nice to see the core's version when running apps
2002-05-01 14:58:22 +00:00
Andy Wingo 057d8ccb89 Added --gst-fatal-warnings, the same as --g-fatal-warnings
Original commit message from CVS:
Added --gst-fatal-warnings, the same as --g-fatal-warnings

It's named differently to avoid conflicting with --g-fatal-warnings, which is parsed
by gtk (which we don't depend on)
2002-04-16 13:47:50 +00:00
Thomas Vander Stichele e00bcd6792 registry handling changes read up on it in docs/random/thomasvs/registry if interested net effect should be transpare...
Original commit message from CVS:
registry handling changes
read up on it in docs/random/thomasvs/registry if interested
net effect should be transparent; ie. it will keep on working, but will
be more flexible than before.  Testing with garnome seems to work now.
Should probably be rewritten completely, together with plugin loading, but
only after we spec it out ;) It's a bit messy.
2002-04-12 09:53:00 +00:00
Andy Wingo b214d35eed commit to make gstreamer follow the gtk function/macro naming conventions:
Original commit message from CVS:
commit to make gstreamer follow the gtk function/macro naming conventions:

GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

and the same for *factory and typefind.
2002-04-11 20:35:18 +00:00
Andy Wingo 70cfc6cb4d new parser that uses flex and bison
Original commit message from CVS:
* new parser that uses flex and bison
- doesn't do dynamic pipelines yet...
* added GErrors to the gst_parse_launch[v] api
* added --gst-mask-help command line option
* fixed -o option for gst-launch
* GstElement api change:
- gst_element_get_pad
- gst_element_get_request_pad, gst_element_get_static_pad
- gst_element_get_compatible_pad
- gst_element_get_compatible_static_pad, gst_element_get_compatible_request_pad
- gst_element_[dis]connect -> gst_element_[dis]connect_pads
- gst_element_[dis]connect_elements -> gst_element_[dis]connect
* manual update
* example, tool, and doc updates for the api changes
- no more plugin docs in the core docs, plugins require a more
extensive doc system
2002-04-07 23:32:16 +00:00
Benjamin Otte 1952e9d714 updated popt stuff:
Original commit message from CVS:
updated popt stuff:
- added 'gst_init_with_popt_table' to gst.h
- added a --silent option to launch to suppress g_object_notify events
2002-02-24 17:08:07 +00:00
Andy Wingo 6ff6eb1017 warning fixes gst_object_set_name (name, NULL) uniquifies the name globally
Original commit message from CVS:
* warning fixes
* gst_object_set_name (name, NULL) uniquifies the name globally
- needs robusticizing
* gst_elementfactory_make can now take NULL as a second argument
2002-02-20 21:31:16 +00:00
Steve Baker 7199c36c7f so that people know about GST_PLUGIN_PATH
Original commit message from CVS:
so that people know about GST_PLUGIN_PATH
2002-02-20 20:17:30 +00:00
Steve Baker cdb7e28513 move GST_PLUGIN_PATH before _gst_plugin_initialize so that it is noticed
Original commit message from CVS:
move GST_PLUGIN_PATH before _gst_plugin_initialize so that it is noticed
2002-02-20 20:04:46 +00:00
Andy Wingo 4ef87d3c5d allow gst_init(NULL, NULL) to work this fix was prompted by testsuite/test_gst_init.c, which thomasvs was running on ...
Original commit message from CVS:
allow gst_init(NULL, NULL) to work
this fix was prompted by testsuite/test_gst_init.c, which thomasvs was running
on the autobuilder. they are good after all :)
2002-02-16 18:27:04 +00:00