Commit graph

1415 commits

Author SHA1 Message Date
Wim Taymans
816275f8ad Make clock use nanoseconds
Original commit message from CVS:
Make clock use nanoseconds
2002-06-02 13:24:35 +00:00
Wim Taymans
ee7c28d455 Remove the media specific types, the unit type is now defined by the caps (frames/samples/etc..)
Original commit message from CVS:
Remove the media specific types, the unit type is now defined by the
caps (frames/samples/etc..)
2002-06-02 11:54:36 +00:00
Wim Taymans
54580cf3fb unlock the queue
Original commit message from CVS:
unlock the queue
2002-06-02 11:51:26 +00:00
Wim Taymans
0a2c1e9c61 Some cleanups
Original commit message from CVS:
Some cleanups
Add a KEY_UNIT flag for a seek event.
2002-06-02 11:49:57 +00:00
Wim Taymans
71e51b171c This is needed after all..
Original commit message from CVS:
This is needed after all..
2002-06-02 11:21:35 +00:00
Wim Taymans
9940947219 Remove crappy event code from tee
Original commit message from CVS:
Remove crappy event code from tee
Some more debugging info in filesrc
2002-05-31 21:36:11 +00:00
Wim Taymans
6f8ddd3043 Set the element to eos after all EOS events are pushed
Original commit message from CVS:
Set the element to eos after all EOS events are pushed
2002-05-31 21:34:45 +00:00
Thomas Vander Stichele
ea74061a18 fix and comment
Original commit message from CVS:
fix and comment
2002-05-31 08:51:32 +00:00
Steve Baker
6712bc3afa only use ranked element factories for autoplugging. This is the only commit that needs to be backed out to reinstate ...
Original commit message from CVS:
only use ranked element factories for autoplugging. This is the only commit that needs to be backed out to reinstate previous behaviour.

Before your spider will work again, you will have to update/rebuild plugins and run gst-register.
2002-05-31 08:32:49 +00:00
Steve Baker
c4cd6b8381 save/load the elementfactory rank
Original commit message from CVS:
save/load the elementfactory rank
2002-05-31 08:18:13 +00:00
Steve Baker
5d902beab8 add a rank to elementfactory for autoplugging
Original commit message from CVS:
add a rank to elementfactory for autoplugging
2002-05-31 08:17:15 +00:00
Wim Taymans
a599a5b1df Created an overridable method for seeking on an element, along with a default implementation.
Original commit message from CVS:
Created an overridable method for seeking on an element, along with a default
implementation.
make queue flush on discont (not entirely correct)
removed the new_media from the discont event.
2002-05-30 19:03:30 +00:00
Thomas Vander Stichele
0aa7b2db8c show file
Original commit message from CVS:
show file
2002-05-30 16:31:36 +00:00
Andy Wingo
24b89ebfd6 allow colons in indentifier names (for jack: " ... !alsa_pcm:out_1 jacksink")
Original commit message from CVS:
allow colons in indentifier names (for jack: " ... !alsa_pcm:out_1 jacksink")
2002-05-30 04:50:46 +00:00
Andy Wingo
c6446629ef fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any data)
Original commit message from CVS:
fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any data)
2002-05-30 04:33:01 +00:00
Steve Baker
52af47c5e4 fix from wingo so that get functions inside threads won't be locked twice
Original commit message from CVS:
fix from wingo so that get functions inside threads won't be locked twice
2002-05-29 15:33:46 +00:00
Wim Taymans
b07791a06b Handle the case where the pad change mid-switch.
Original commit message from CVS:
Handle the case where the pad change mid-switch.
Handle the case where the entry poin is removed from the scheduler.
2002-05-29 15:09:36 +00:00
Wim Taymans
fddb92b5e2 Error checking in pthread creation more info in gst_util_dump_mem
Original commit message from CVS:
Error checking in pthread creation
more info in gst_util_dump_mem
2002-05-29 15:01:50 +00:00
Wim Taymans
e4637a0a82 Some cleanups, more debugging info
Original commit message from CVS:
Some cleanups, more debugging info
2002-05-29 14:59:48 +00:00
Thomas Vander Stichele
d7a095654b added format.h
Original commit message from CVS:
added format.h
2002-05-28 09:18:04 +00:00
Andy Wingo
c887de8332 fixups in the prop view/controller compilation fixes in the player add gst-editor to gst-all fixes to adder to comply...
Original commit message from CVS:
* fixups in the prop view/controller
* compilation fixes in the player
* add gst-editor to gst-all
* fixes to adder to comply with new osssink sync issues
* alsa fixes, although still 100% cpu is used, yum
* reenable locking of threaded elements, seems to work fine here
* fix a makefile in examples/plugins
2002-05-27 04:48:57 +00:00
Wim Taymans
6f96a24d2e - The clock_wait now returns the difference between requested time and unlock time.
Original commit message from CVS:
- The clock_wait now returns the difference between requested time and
unlock time.
- Misc defines like GST_SECOND in gstclock.h
- remove pre/post in gstelement.c until fixed.
- added release_locks to gstelement so that the element can unlock itself
- added some more predefined events.
- added folowing functions to gstpad:
- convert function: get the relation between formats on this pad
- query function: get stats about the pad (position/total/latency)
- internal connect function: find out how this pad connects to other
pad internally to the element.
- generic pad_dispatcher.
- removed the last bits of pullregion
- use release_locks on the queue.
- added some events to queue
- make gstthread use the new release_locks function
- make the scheduler use the new clock_wait functions
- added events to fakesink
- added query functions to filesrc
- swap type and offset in the bytestream seek API to match fseek
- added some event handling in bytestream.
2002-05-26 21:54:27 +00:00
Wim Taymans
692b076459 Added g_malloc instead of a memchunk when using memprof
Original commit message from CVS:
Added g_malloc instead of a memchunk when using memprof
2002-05-26 21:22:50 +00:00
Andy Wingo
23d2701aa5 get rid of some debug printouts
Original commit message from CVS:
get rid of some debug printouts
2002-05-26 16:02:45 +00:00
Andy Wingo
d2ed0906a6 implemented threadsafe property set/get system as discussed in docs/random/wingo/threadsafe-properties some cleanups ...
Original commit message from CVS:
* implemented threadsafe property set/get system as discussed in
docs/random/wingo/threadsafe-properties
* some cleanups
* this change will cause binary incompatibilities, better rebuild them plugins

now, off to drink :-)
2002-05-26 03:23:25 +00:00
Andy Wingo
631c8f5ca5 re-enable thread test, although it does not work but passes right now warn for bizarre behavior in plugin loading
Original commit message from CVS:
re-enable thread test, although it does not work but passes right now
warn for bizarre behavior in plugin loading
2002-05-25 17:45:51 +00:00
Thomas Vander Stichele
e8982eaf0f API cleanup: (s/g)et_sched -> _scheduler
Original commit message from CVS:
API cleanup: (s/g)et_sched -> _scheduler
2002-05-25 15:36:59 +00:00
Thomas Vander Stichele
417a7f9408 typos
Original commit message from CVS:
typos
2002-05-25 15:25:47 +00:00
Andy Wingo
ad88770782 add gerror to gstplugin.c -- not fully propagated to periphery apis fix recursive dir creation in the xml registry co...
Original commit message from CVS:
* add gerror to gstplugin.c -- not fully propagated to periphery apis
* fix recursive dir creation in the xml registry
* comment identity props
* fix dependency resolution in lib loading
2002-05-20 23:11:10 +00:00
David I. Lehn
37d29b584f formatting
Original commit message from CVS:
formatting
2002-05-14 00:40:15 +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
Wim Taymans
2314c02f42 Small fixes for testsuite/plugin
Original commit message from CVS:
Small fixes for testsuite/plugin
2002-05-10 19:23:18 +00:00
Andy Wingo
e0a3d5eaf8 added a get_perms_func to gstxmlregistry that will set _WRITABLE and _READABLE as appropriate added an object propert...
Original commit message from CVS:
* added a get_perms_func to gstxmlregistry that will set _WRITABLE and _READABLE
as appropriate
* added an object property for location so that we can do some cleanup and initialization
2002-05-10 18:26:14 +00:00
David I. Lehn
01f172bedc poor error checking, should do something better
Original commit message from CVS:
poor error checking, should do something better
2002-05-10 08:10:14 +00:00
David I. Lehn
9151cbc830 remove duplicate gst_registry_pool_add declaration
Original commit message from CVS:
remove duplicate gst_registry_pool_add declaration
2002-05-10 06:49:18 +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
246b03c75d Funny how doing things the right way takes less code...
Original commit message from CVS:
Funny how doing things the right way takes less code...
2002-05-10 01:24:08 +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
de2a7b9ee8 Compile fix.
Original commit message from CVS:
Compile fix.
2002-05-09 17:45:49 +00:00
Andy Wingo
b7fad3dc5e add registries to gst/Makefile.am:DIST_SUBDIRS
Original commit message from CVS:
add registries to gst/Makefile.am:DIST_SUBDIRS
2002-05-09 17:28:22 +00:00
Wim Taymans
92a284110b Unconnected pad errors are detected elsewhere
Original commit message from CVS:
Unconnected pad errors are detected elsewhere
ERROR has higher priority than CHANGED.
2002-05-09 15:15:49 +00:00
Ronald S. Bultje
96667dfb24 At least check whether the directory exists when creating the registry file
Original commit message from CVS:
At least check whether the directory exists when creating the registry file
2002-05-08 21:16:41 +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
Wim Taymans
720ee1f361 Added gst_props_get_safe
Original commit message from CVS:
Added gst_props_get_safe
2002-05-08 20:00:35 +00:00
Andy Wingo
e559ea8a64 virtual patch from taaz
Original commit message from CVS:
virtual patch from taaz
2002-05-08 01:44:03 +00:00
Andy Wingo
cb5ca2ffb5 fix distcheck issue
Original commit message from CVS:
fix distcheck issue
2002-05-07 20:24:56 +00:00
Benjamin Otte
72dd13b5bd merged schedulers
Original commit message from CVS:
merged schedulers
- new file cothreads_compat.h to provide linking to desired cothreads package
- changes in basic and fast scheduler to use cothreads_compat.h
- updated Makefile to build the basic and the fast scheduler from both packages
- removed gststandardscheduler.c - it is not needed anymore

Available schedulers are now 'basic', 'standard', 'fastbasic' and 'faststandard' where the basic ones are built with old cothreads and the standard ones with the new cothreads.
2002-05-06 19:23:37 +00:00
Andy Wingo
2b12a668da use contents of GST_REGISTRY variable if --gst-registry is not set
Original commit message from CVS:
use contents of GST_REGISTRY variable if --gst-registry is not set
2002-05-05 17:45:41 +00:00
Andy Wingo
6691120451 gst_scheduler_factory_make () can accept NULL as the first arg now _create () sets the element sched and refcounts th...
Original commit message from CVS:
* gst_scheduler_factory_make () can accept NULL as the first arg now
*                      _create () sets the element sched and refcounts the scheduler
* corresponding touchups to gstpipeline and gstthread
2002-05-04 18:59:24 +00:00
Benjamin Otte
19bd060114 fix segfault when using unsafe get_props
Original commit message from CVS:
fix segfault when using unsafe get_props
2002-05-04 18:12:11 +00:00
Ronald S. Bultje
56bd6b1eb4 Header file fix (these ## are needed for multi-arguments) and a fix for gst_props_get() if safe = FALSE (we still nee...
Original commit message from CVS:
Header file fix (these ## are needed for multi-arguments) and a fix for gst_props_get() if safe = FALSE (we still need three arguments per fetch)
2002-05-03 09:34:07 +00:00
Wim Taymans
df159cbf0d Small cleanups
Original commit message from CVS:
Small cleanups
2002-05-01 20:02:40 +00:00
Wim Taymans
befa05b4cd Small cleanup
Original commit message from CVS:
Small cleanup
2002-05-01 19:43:18 +00:00
Wim Taymans
c78119cf6e Added some more useful functions to create props
Original commit message from CVS:
Added some more useful functions to create props
2002-05-01 19:38:58 +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
Thomas Vander Stichele
651f3262ab rename operation
Original commit message from CVS:
rename operation
2002-04-28 17:08:59 +00:00
Wim Taymans
7000e8852e Added method for releasing request pads.
Original commit message from CVS:
Added method for releasing request pads.
Fix state changes.
2002-04-28 13:27:32 +00:00
Andy Wingo
1b9686776c set the "name" property on pad templates
Original commit message from CVS:
set the "name" property on pad templates
2002-04-26 15:02:34 +00:00
Thomas Vander Stichele
54486bc893 doc fixes
Original commit message from CVS:
doc fixes
2002-04-23 15:02:35 +00:00
Thomas Vander Stichele
0f1422a0d6 doc changes
Original commit message from CVS:
doc changes
2002-04-23 15:01:56 +00:00
Thomas Vander Stichele
cb245cd3e0 doc fixes s/gst_clock_activate/gst_clock_set_active/g
Original commit message from CVS:

* doc fixes
* s/gst_clock_activate/gst_clock_set_active/g
2002-04-23 14:58:51 +00:00
Thomas Vander Stichele
d38b086c67 api renaming
Original commit message from CVS:
api renaming
2002-04-23 11:15:18 +00:00
Thomas Vander Stichele
6a9527a4d7 doc changes
Original commit message from CVS:
doc changes
2002-04-23 10:32:16 +00:00
Thomas Vander Stichele
28b5fbad9d code cleanup
Original commit message from CVS:
code cleanup
2002-04-23 09:48:48 +00:00
Andy Wingo
16867f27e6 let's not clobber our local variables -- i think this is a good short-term fix until i get to hacking on the standard...
Original commit message from CVS:
let's not clobber our local variables -- i think this is a good short-term
fix until i get to hacking on the standard scheduler again.
2002-04-22 04:43:28 +00:00
Thomas Vander Stichele
bede14df34 give useful warning when not unique
Original commit message from CVS:
give useful warning when not unique
2002-04-21 14:16:36 +00:00
Thomas Vander Stichele
100cd3ca19 adapted docs
Original commit message from CVS:
adapted docs
2002-04-21 14:06:14 +00:00
Thomas Vander Stichele
130adf2b93 makes no sense as INFO
Original commit message from CVS:
makes no sense as INFO
2002-04-21 13:32:35 +00:00
Andy Wingo
8d198fed21 a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br...
Original commit message from CVS:
* a hack to work around intltool's brokenness
* a current check for mpeg2dec
* details->klass reorganizations
* an element browser that uses details->klass
* separated cdxa parse out from the avi directory
2002-04-20 21:42:53 +00:00
Benjamin Otte
cd8a89261c fix 'invalid cast' warning
Original commit message from CVS:
fix 'invalid cast' warning
2002-04-20 12:31:41 +00:00
Benjamin Otte
8cd991a9d6 - make all _get_list functions return a const reference to original lists and no copy
Original commit message from CVS:
- make all _get_list functions return a const reference to original lists and no copy
- redo code accordingly
- fix compile issue in dparam stuff
2002-04-19 19:49:41 +00:00
Thomas Vander Stichele
de6c6bcc5d doc fixes
Original commit message from CVS:
doc fixes
2002-04-19 10:26:56 +00:00
Thomas Vander Stichele
f6721ace69 fix doc warnings
Original commit message from CVS:
fix doc warnings
2002-04-18 19:30:55 +00:00
Thomas Vander Stichele
0e140428ed more doc fixes
Original commit message from CVS:
more doc fixes
2002-04-17 15:19:56 +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
43a68fd149 merged back fixes from release branch
Original commit message from CVS:
merged back fixes from release branch
2002-04-15 09:21:14 +00:00
Benjamin Otte
b2d503d528 declare those stuff extern. My windec doesn't like it without :)
Original commit message from CVS:
declare those stuff extern. My windec doesn't like it without :)
2002-04-14 23:02:41 +00:00
Benjamin Otte
ce8e4a8879 we don't use // in code we commit :)
Original commit message from CVS:
hi wtay (and some others): we don't use // in code we commit :)
2002-04-14 14:59:34 +00:00
Wim Taymans
bac184e6fb This is all a quick hack...
Original commit message from CVS:
This is all a quick hack...
2002-04-14 13:39:15 +00:00
Wim Taymans
73f7bf6677 Added more funky cases
Original commit message from CVS:
Added more funky cases
2002-04-14 11:35:03 +00:00
Wim Taymans
52e2ba6b1e Made dynamic pads work for sinkpads with no padtemplate
Original commit message from CVS:
Made dynamic pads work for sinkpads with no padtemplate
2002-04-14 11:06:20 +00:00
Steve Baker
1da7fc3498 fixed d'oh error
Original commit message from CVS:
fixed d'oh error
2002-04-14 10:01:54 +00:00
Steve Baker
2d5f9bf48f ARG_LOCATIONS is a pointer
Original commit message from CVS:
ARG_LOCATIONS is a pointer
2002-04-14 10:00:21 +00:00
Steve Baker
c70bfc60b6 ARG_ERROR_AFTER is an int
Original commit message from CVS:
ARG_ERROR_AFTER is an int
2002-04-14 09:59:13 +00:00
Steve Baker
adddd11e71 offset is an int64
Original commit message from CVS:
offset is an int64
2002-04-14 09:58:14 +00:00
Steve Baker
de355109ae make the NULL check silent since it might be valid.
Original commit message from CVS:
make the NULL check silent since it might be valid.
2002-04-14 09:57:15 +00:00
Andy Wingo
157e961c26 quote spaces in tokens passed to gst_parse_launchv. this restores the old (shell-friendly) quoting behavior.
Original commit message from CVS:
quote spaces in tokens passed to gst_parse_launchv. this restores the old
(shell-friendly) quoting behavior.
2002-04-13 17:11:42 +00:00
Andy Wingo
9ec888681f feeble attempts to handle dynamic connections
Original commit message from CVS:
feeble attempts to handle dynamic connections
2002-04-12 20:06:14 +00:00
Thomas Vander Stichele
580fc5d003 silly me
Original commit message from CVS:
silly me
2002-04-12 18:55:16 +00:00
Thomas Vander Stichele
98611ba214 more registry fixes
Original commit message from CVS:
more registry fixes
2002-04-12 18:50:48 +00:00
Thomas Vander Stichele
4013bb45d6 reg.xml to registry.xml adding spaces
Original commit message from CVS:
* reg.xml to registry.xml
* adding spaces
2002-04-12 18:26:17 +00:00
David I. Lehn
6bf4bfdc93 include gstqueue.h and gsttypefind.h
Original commit message from CVS:
include gstqueue.h and gsttypefind.h
2002-04-12 17:08:48 +00:00
Thomas Vander Stichele
0f779bafa2 add clocking stuff to gst.h
Original commit message from CVS:
add clocking stuff to gst.h
2002-04-12 13:46:59 +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
Thomas Vander Stichele
5a6cf24c16 code review
Original commit message from CVS:
code review
2002-04-12 09:38:47 +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
Thomas Vander Stichele
3a41065234 distcheck fixes
Original commit message from CVS:
distcheck fixes
2002-04-10 17:16:05 +00:00
Thomas Vander Stichele
318739272c -Werror fix
Original commit message from CVS:
-Werror fix
2002-04-10 16:50:00 +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
3cbe1bacd0 added 'extern C' stuff to some headers
Original commit message from CVS:
added 'extern C' stuff to some headers
2002-04-06 18:59:39 +00:00
Benjamin Otte
8ae7350492 fix all compiler warnings
Original commit message from CVS:
fix all compiler warnings
2002-04-04 19:28:23 +00:00
Wim Taymans
ffe760e476 GST_DEBUG and _INFO should have no trailing \n
Original commit message from CVS:
GST_DEBUG and _INFO should have no trailing \n
2002-04-03 18:26:03 +00:00
Wim Taymans
c14adca257 Fix a compile error.
Original commit message from CVS:
Fix a compile error.
2002-04-03 06:27:25 +00:00
jim thornton
d43b8925f4 add useful debugging output
Original commit message from CVS:
patch from jim thornton <jthornton@parc.com>:

add useful debugging output
2002-04-02 16:38:05 +00:00
jim thornton
7fb5bcfdff Buffer flag symbols are enum values, so |'ing together doesn't do the right thing, must use GST_BUFFER_FLAG_SET macro
Original commit message from CVS:
patch from jim thornton <jthornton@parc.com>:

Buffer flag symbols are enum values, so |'ing together doesn't do the right
thing, must use GST_BUFFER_FLAG_SET macro
2002-04-02 16:33:21 +00:00
Andy Wingo
66107d8717 form a semantic representation of the pipeline in preparation for actual instantiation.
Original commit message from CVS:
* form a semantic representation of the pipeline in preparation for
actual instantiation.

the parser is shaping up quite nicely; it should, in theory, be able to create
all types of pipelines that gstreamer supports
2002-04-01 06:30:39 +00:00
Andy Wingo
f6112a24bb the parser works properly, but it doesn't do anything yet
Original commit message from CVS:
* the parser works properly, but it doesn't do anything yet
2002-04-01 04:36:56 +00:00
Andy Wingo
832f0a7852 add (incomplete) flex/bison-based parser to cvs the tokenizer is functional, but the grammar definition is bad. this ...
Original commit message from CVS:
add (incomplete) flex/bison-based parser to cvs

the tokenizer is functional, but the grammar definition is bad. this
probably breaks distcheck somehow, but hey.
2002-03-31 21:09:17 +00:00
Wim Taymans
d7a5d173c8 Documentation updates
Original commit message from CVS:
Documentation updates
Added dump to identity
Fix some warnings in gstelement
2002-03-31 14:04:50 +00:00
Andy Wingo
cfb228b0f9 add notify back to filesrc, it's needed for MVC applications remove notify printouts from gst-launch cleanup in gst-p...
Original commit message from CVS:
* add notify back to filesrc, it's needed for MVC applications
* remove notify printouts from gst-launch
* cleanup in gst-plugins configure.ac
* some jack updates
* remove SELF_ITERATING flag in favor of SEF_SCHEDULABLE (not a clear name,
but it's what we have for the moment)
* improve parsing of request pad names, no more sscanf
* fixes to the fastscheduler Makefile.am
2002-03-30 19:31:14 +00:00
Wim Taymans
f0326eea55 - Remove the propsprivate header file
Original commit message from CVS:
- Remove the propsprivate header file
- Added new API for properties.
- Moved the clock distribution to the scheduler.
- Removed the lock from GstCaps
- Added boxed types for Caps/Props
- Simplified the clock, new systemclock implementation
- Removed deprecated element_info/send_event functions
- First step at exposing more info in the pad_connect functions
- Queue cleanup
- Make the scheduler aware of other schedulers inside it
- Added the _SELF_SCHEDULABLE flag to gstthread
- Removed _get_widget from _utils, changed to new props API
- Make fakesink sync on timestamps when requested
- Removed the offset notify from filesrc
- Added a fast scheduler
- some scheduler cleanups.
2002-03-30 17:05:03 +00:00
jim thornton
2ed5aa240c "bugfix for intersecting int list with int range: the proper intersection should be those ints in the list that lie w...
Original commit message from CVS:
apply patch from jim thornton <jthornton@parc.com>:

"bugfix for intersecting int list with int range: the proper intersection
should be those ints in the list that lie within the range (rather than an
empty intersection)."

the reverse of this case doesn't exist, because if the entry1 is a list,
the members are broken out and tested seperately, therefore the intersection
would be int <-> int range, which does work.
2002-03-27 04:29:46 +00:00
Andy Wingo
862538e9ac added a bunch of cvsignore stuff off of a fresh checkout and build i will win the race to max LOC changed ;-)
Original commit message from CVS:
added a bunch of cvsignore stuff off of a fresh checkout and build

i will win the race to max LOC changed ;-)
2002-03-25 05:01:02 +00:00
Andy Wingo
ed9b628168 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:09 +00:00
Andy Wingo
c12c39d37c added plugin_desc structures to libs, which makes their locations cached in the registry. this speeds plugin loading ...
Original commit message from CVS:
* added plugin_desc structures to libs, which makes their locations cached in the registry. this
speeds plugin loading considerably, especially on uninstalled versions.

* put the lib path before all others, for speed reasons.

* some fixes to adder's caps.

* added linefeeds (\n) to GST_DEBUG strings to match GST_INFO behavior. this is more sane. all
code will need to be converted. i think some perl can do this.
2002-03-24 20:55:45 +00:00
David I. Lehn
fa08c5c11c s/POINTER/OBJECT/ in g_signal_new for NEW_PAD and PAD_REMOVED.
Original commit message from CVS:
s/POINTER/OBJECT/ in g_signal_new for NEW_PAD and PAD_REMOVED.
Very important for python bindings to know it's getting an GObject
vs a boxed anonymous pointer.
2002-03-24 11:32:03 +00:00
Andy Wingo
4d1a23903d s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:09 +00:00
Andy Wingo
25184d6017 do the genmarshalling to temp files, then move the temp files over
Original commit message from CVS:
do the genmarshalling to temp files, then move the temp files over
2002-03-19 17:07:20 +00:00
Andy Wingo
d6b07866ca let's not give our plugins -release versioning make clean before rebuilding after you update on this one...
Original commit message from CVS:
let's not give our plugins -release versioning
make clean before rebuilding after you update on this one...
2002-03-19 05:46:38 +00:00
Andy Wingo
0067d17205 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:13 +00:00
Andy Wingo
6ae5f15064 s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...
Original commit message from CVS:
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/

@-substitued variables variables are defined as make variables automagically,
and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
2002-03-19 01:39:45 +00:00
Andy Wingo
a43fadec2e s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way added jack ...
Original commit message from CVS:
* s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way
* added jack element, doesn't quite work right yet but i didn't want to lose the work -- it does build, register,
and attempt to run though
* imposed some restrictions on the naming of request pads to better allow for reverse parsing
* added '%s' to reverse parsing
* added new bin flag to indicate that it is self-iterating, and some lame code in gst-launch to test it out
* fixen on launch-gui
* added pkg-config stuff for the editor's libs
2002-03-18 04:41:37 +00:00
Benjamin Otte
8087b55e47 bugfix for gst_element_request_pad_by_name returning NULL even though a template was available
Original commit message from CVS:
bugfix for gst_element_request_pad_by_name returning NULL even though a template was available
2002-03-18 00:09:10 +00:00
Benjamin Otte
cd9f4cb49b we don't want to run _dispose twice on the scheduler, do we?
Original commit message from CVS:
we don't want to run _dispose twice on the scheduler, do we?
2002-03-17 00:41:46 +00:00
Thomas Vander Stichele
8a39e98f8b G_BREAKPOINT is x86-only
Original commit message from CVS:
G_BREAKPOINT is x86-only
2002-03-14 16:01:14 +00:00
David Schleef
b7d0645e36 Add inclusion of errno.h, so it compiles on PowerPC.
Original commit message from CVS:
Add inclusion of errno.h, so it compiles on PowerPC.
2002-03-10 20:45:11 +00:00
Andy Wingo
660621ca99 fix bug when requesting pads by name
Original commit message from CVS:
* fix bug when requesting pads by name
* added api: gst_element_get_managing_bin ()
2002-03-06 16:14:34 +00:00
Benjamin Otte
fbe0d0ba6b warning: passing arg 1 of 'gst_caps_unref' from incompatible pointer type
Original commit message from CVS:
warning: passing arg 1 of 'gst_caps_unref' from incompatible pointer type
2002-03-06 08:30:05 +00:00
Benjamin Otte
05d1d0cfd2 warning: unused variable 'templist'
Original commit message from CVS:
warning: unused variable 'templist'
2002-03-06 08:20:10 +00:00
Benjamin Otte
e1347f2974 warning: unused variable 'oclass'
Original commit message from CVS:
warning: unused variable 'oclass'
2002-03-05 08:35:37 +00:00
Benjamin Otte
5df336f7ef warning: int format, GType arg (arg 3)
Original commit message from CVS:
warning: int format, GType arg (arg 3)
2002-03-05 08:30:51 +00:00
Benjamin Otte
9cc2acfe9b warning: unused variable 'oldstate'
Original commit message from CVS:
warning: unused variable 'oldstate'
2002-03-05 08:28:22 +00:00
Benjamin Otte
aa7fef46d4 warning: initialization from incompatible pointer type
Original commit message from CVS:
warning: initialization from incompatible pointer type
2002-03-05 08:26:13 +00:00
Benjamin Otte
35aea80ded warning: deprecated use of label at end of compound statement
Original commit message from CVS:
warning: deprecated use of label at end of compound statement
2002-03-05 08:13:55 +00:00
Benjamin Otte
a7ae86114a fix warning (yes, I'm using -Werror now :)
Original commit message from CVS:
fix warning (yes, I'm using -Werror now :)
2002-03-04 22:01:42 +00:00
Andy Wingo
f42c6f238f let's not increment in GST_DEBUG code...
Original commit message from CVS:
let's not increment in GST_DEBUG code...
2002-03-04 05:37:26 +00:00
Andy Wingo
ac9df4e988 object naming will start with 0 (it was one before)
Original commit message from CVS:
object naming will start with 0 (it was one before)
2002-03-03 19:30:10 +00:00
Steve Baker
e10f510ce2 added gst_util_set_value_from_string.
Original commit message from CVS:
added gst_util_set_value_from_string.
this could probably be refactored with gst_util_set_object_arg at a later date.
2002-03-03 18:41:25 +00:00
Andy Wingo
ca375e93a0 some doc and aesthetic fixes make the filter actually do something
Original commit message from CVS:
* some doc and aesthetic fixes
* make the filter actually do something
2002-03-03 02:08:17 +00:00
Andy Wingo
0c6802533c document gst_caps_debug change gst_caps_debug to accept a label argument, assists greatly in debugging capsnego bette...
Original commit message from CVS:
* document gst_caps_debug
* change gst_caps_debug to accept a label argument, assists greatly
in debugging capsnego
* better names from gst_object_name_default
* some more debugging in gstpad.c
* require caps to match padtemplates on both side of a connection
* gstspider uses default naming so that names are globally unique
* moved filesrc offset arg to the top -- show up first in a prop list.
in the future we should have flags on props indicating which ones
it might be interesting for the end-user to change.
* initialize cothreads in the more standard way, and provide some more debugging
2002-03-03 00:44:41 +00:00
Benjamin Otte
aa66954b9a fix: when starting typefinding, make sure we're paused
Original commit message from CVS:
fix: when starting typefinding, make sure we're paused
2002-03-02 18:27:45 +00:00
Wim Taymans
8bb166dace Added last_message.
Original commit message from CVS:
Added last_message.
2002-02-28 23:39:08 +00:00
Benjamin Otte
aadf99137f make sure cothread->priv is NULL when uninited because we now check it (added debugging line to gst_bin_remove while ...
Original commit message from CVS:
make sure cothread->priv is NULL when uninited because we now check it
(added debugging line to gst_bin_remove while debugging)
2002-02-24 19:08:30 +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
Benjamin Otte
24fb9e8282 fixes:
Original commit message from CVS:
fixes:
- g_free accepts NULL
- indenting
- last_message is readable, not writeable
- warn on invalid property id
2002-02-24 13:38:10 +00:00
Wim Taymans
2bcb002772 Iterate until we find the real pad when creating a ghostpad make a copy of the event in the default dispatcher.
Original commit message from CVS:
Iterate until we find the real pad when creating a ghostpad
make a copy of the event in the default dispatcher.
2002-02-23 14:02:29 +00:00
Wim Taymans
b792a2af1f Added gst_event_copy
Original commit message from CVS:
Added gst_event_copy
2002-02-23 13:57:09 +00:00
Wim Taymans
7835b75f0a Store the element in the cothread private field.
Original commit message from CVS:
Store the element in the cothread private field.
If we remove the current entry in the cothread chain, make sure another
cothread is marked as COTHREAD_STOPPING.
2002-02-23 13:42:51 +00:00
Wim Taymans
929b4bd3d1 Added a private field to the cothread state.
Original commit message from CVS:
Added a private field to the cothread state.
2002-02-23 13:41:17 +00:00
Wim Taymans
6bab7412ef Only unset the scheduler on REAL pads. This is a nasty one that causes random memory corruption.
Original commit message from CVS:
Only unset the scheduler on REAL pads. This is a nasty one that causes
random memory corruption.
2002-02-22 23:12:05 +00:00
Andy Wingo
cbc6f66cf4 add two apis: gst_element_connect_elements_many (elem1, elem2, ...)
Original commit message from CVS:
* add two apis:
* gst_element_connect_elements_many (elem1, elem2, ...)
- calls gst_element_connect_elements() in order
- should be called gst_element_connect_many, but we need to rename gst_element_connect_elements first
- simplifies common-case code
* gst_bin_add_many (bin, elem1, ...)
- calls gst_bin_add on all of the elems
- again, simplifying common code
2002-02-21 14:44:27 +00:00
Thomas Vander Stichele
735382108a more debug output used CONNECT_OK because otherwise functions don't get a proper result
Original commit message from CVS:
* more debug output
* used CONNECT_OK because otherwise functions don't get a proper result
2002-02-21 10:38:18 +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
Thomas Vander Stichele
72cae37f93 a warning fix a potential commenting error fix more debug output when trying to set caps so I can actually tell from ...
Original commit message from CVS:
* a warning fix
* a potential commenting error fix
* more debug output when trying to set caps so I can actually tell from it
what's going on
2002-02-20 16:44:46 +00:00
Thomas Vander Stichele
13ebd7f342 before, entering and leaving where invisible now it's a really bleak grey anyone want to suggest a usable color ?
Original commit message from CVS:
before, entering and leaving where invisible
now it's a really bleak grey
anyone want to suggest a usable color ?
2002-02-20 16:42:16 +00:00
Wim Taymans
b6a5737e91 Fixed some warnings
Original commit message from CVS:
Fixed some warnings
Always recalculate caps intersection in perform_negotiate 'cause they
might have changed. (needs better solution probably)
2002-02-19 22:10:37 +00:00
Thomas Vander Stichele
0ef4c46b0e documentation addition
Original commit message from CVS:
documentation addition
2002-02-19 16:08:23 +00:00
Andy Wingo
3114e54dc4 changes to spider: add padtemplates so the connect functions can connect two request-pad elements add a hack in gstel...
Original commit message from CVS:
* changes to spider:
* add padtemplates so the connect functions can connect two request-pad
elements
* add a hack in gstelement.c. please look at this, Company, and see how
we can get around this
* add backwards caps-propagation support in identity, int2float, float2int,
adder, speed, volume
2002-02-19 05:59:07 +00:00
Andy Wingo
2cb0dd9d9b many fixes related to dynamic pipelines.
Original commit message from CVS:
* many fixes related to dynamic pipelines.
* addition of gst_element_disconnect_elements(), as per connect_elements()
* don't have a cow if typefind changes state in its signal handlers
* support of request pad -> request pad in connect_elements()
* some fixes in int2float that will eventually need to be ported to float2int and
adder

the gstelement api is getting bloated, expect a rewrite within the next month.
2002-02-18 00:40:56 +00:00
Benjamin Otte
9c5e022c92 appending caps to themself is not fatal, is it?
Original commit message from CVS:
appending caps to themself is not fatal, is it?
If it is, revert the patch, but please allow gst_caps_append (NULL, NULL);
2002-02-17 21:19:13 +00:00
Andy Wingo
92eb128d0f some object cleanup fixes
Original commit message from CVS:
some object cleanup fixes
2002-02-17 19:58:29 +00:00
Andy Wingo
7e7cf82d70 capsnego fixes in adder, speed, and identity
Original commit message from CVS:
capsnego fixes in adder, speed, and identity
2002-02-17 17:34:23 +00:00
Andy Wingo
b45b280847 convert identity to g_object_notify stuff i hate last-message, it's stupid
Original commit message from CVS:
convert identity to g_object_notify stuff
i hate last-message, it's stupid
2002-02-17 06:00:20 +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
Andy Wingo
21cd0846ee workaround for old popt versions, maybe this is the best way anyway (not alowing for command line args that are not p...
Original commit message from CVS:
workaround for old popt versions, maybe this is the best way anyway (not alowing
for command line args that are not parsed with popt)
2002-02-16 03:24:50 +00:00
Andy Wingo
38b5789e71 --gst-scheduler={basic,standard} :-)))
Original commit message from CVS:
--gst-scheduler={basic,standard} :-)))
2002-02-15 21:17:06 +00:00
Andy Wingo
bae6d1e31b to set default categories for an app, call set_categories before the gst_init restores gst-register to its previous v...
Original commit message from CVS:
to set default categories for an app, call set_categories before the gst_init
restores gst-register to its previous verbosity (but --gst-mask=0 works)
2002-02-15 21:11:46 +00:00
Andy Wingo
e25cb1b156 first pass at integrating popt into gstreamer note: you will need popt 1.6.3 or greater (configure checks for this) -...
Original commit message from CVS:
first pass at integrating popt into gstreamer
note: you will need popt 1.6.3 or greater (configure checks for this) -- debian
people will either need to patch popt 1.6.2 or install 1.6.3 by hand.
2002-02-15 16:14:21 +00:00
Ronald S. Bultje
eaa783598a This is probably cleaner
Original commit message from CVS:
This is probably cleaner
2002-02-13 18:28:21 +00:00
Thomas Vander Stichele
3758abca8d revert part of wingo's patch wingo, I'm not doing this to piss you off ;) but with your change we get the reverse iss...
Original commit message from CVS:
revert part of wingo's patch
wingo, I'm not doing this to piss you off ;)
but with your change we get the reverse issue : stuff in libs/gst needs
gstmarshal.[ch], which are only generated if we go in gst before libs.
So unless we just throw the egg at the chicken we'll have to settle for a
hack.
Alternatively, we could take the egg out of the chicken and put it in
a separate tarball which would then be installed ;)
2002-02-12 22:28:25 +00:00
Andy Wingo
7305565829 fix funny build issue by not linking plugin libraries to gstreamer core. this is because they are plugins, not shared...
Original commit message from CVS:
fix funny build issue by not linking plugin libraries to gstreamer core. this is
because they are plugins, not shared libraries per se, and will only be loaded by
the core itself. this change allows the core elements (schedulers, autopluggers, etc)
to use the core loadable libraries (bytestream, getbits, etc) as well as "ext" libs
like the new cothreads package.
2002-02-12 17:50:22 +00:00
Thomas Vander Stichele
70834db6ad updating tee to use properties
Original commit message from CVS:
updating tee to use properties
2002-02-12 13:57:14 +00:00
Thomas Vander Stichele
db12e3db8a I don't think we wanted to change the include dir to gstreamer as well.
Original commit message from CVS:
I don't think we wanted to change the include dir to gstreamer as well.
If we did, then we need major code cleanups all over so let's hold off for
a second.
2002-02-11 15:35:42 +00:00
Thomas Vander Stichele
211f7c994d this is a really evil hack.
Original commit message from CVS:
this is a really evil hack.
I would like for someone to help wingo and me fixing it properly ;)
and for that I could use a little basic education on some of the LD FLAGS
we need all over because trying to fix it properly got me confused.
2002-02-11 12:08:50 +00:00
Thomas Vander Stichele
4e47d8882e this cothread thing is starting to confuse me which are we using atm ?
Original commit message from CVS:
this cothread thing is starting to confuse me
which are we using atm ?
2002-02-11 10:27:04 +00:00
Benjamin Otte
e149d96faa major rewrite of the spider.
Original commit message from CVS:
major rewrite of the spider.
Now uses GstSpiderConnection to track current connections and remember the way they're plugged.
Advantages of this approach:
- function prototypes are now much cleaner.
- Allow event propagation (EOS) to elements that are not connected but plugged.
- Allow deconstruction of plugged pipes. (not implemented)
Disadvantage:
- I screwed up naming (always get src and sink the wrong way). It's very inconsistent in the gstspider.[ch] files
- a little more time and memory are needed to manage the structs
2002-02-11 08:18:09 +00:00
Andy Wingo
e8b452e27c it still only iterates once, but we're getting there
Original commit message from CVS:
it still only iterates once, but we're getting there
2002-02-11 07:45:30 +00:00
Andy Wingo
8af369ecf6 removed cothread-specific code from gstinfo.c because the new cothreads has no cothread_self()
Original commit message from CVS:
* removed cothread-specific code from gstinfo.c because the new cothreads has no cothread_self()
* added a new scheduler, untested but it does compile :-)
* cothreads links to the scheduler, not core now
* no installation of cothreads headers
2002-02-11 01:38:55 +00:00
Andy Wingo
b47aea64e1 changed libgst -> libgstreamer to comply with namespace issues with gnu smalltalk various other fixes
Original commit message from CVS:
* changed libgst -> libgstreamer to comply with namespace issues with gnu smalltalk
* various other fixes
2002-02-10 17:09:53 +00:00
Thomas Vander Stichele
84261f5080 oopsie
Original commit message from CVS:
oopsie
2002-02-10 10:11:44 +00:00
Thomas Vander Stichele
f985019e4c more build cleanups (using as-version and as-libtool) some release doc notes from the previous release
Original commit message from CVS:
* more build cleanups (using as-version and as-libtool)
* some release doc notes from the previous release
2002-02-09 21:05:12 +00:00
Andy Wingo
a90f908bbf fix spurious libxml warning
Original commit message from CVS:
fix spurious libxml warning
2002-02-08 18:07:25 +00:00
Ronald S. Bultje
c2dc4b26c1 Wim, please upload the header files too next time ;)
Original commit message from CVS:
Wim, please upload the header files too next time ;)
2002-02-07 11:05:27 +00:00
Wim Taymans
19e0ea0458 Converted a few _info events to properties..
Original commit message from CVS:
Converted a few _info events to properties..
2002-02-06 21:57:35 +00:00
Wim Taymans
9009cb0d8a Small cleanups
Original commit message from CVS:
Small cleanups
2002-02-06 21:12:52 +00:00
Benjamin Otte
a2c24524e2 This patch (nearly) completes the removal of vertical events from the core.
Original commit message from CVS:
This patch (nearly) completes the removal of vertical events from the
core.
What it does:
- removal of the EVENT signal of GstElement (to be replaced by
g_object_notify)
- changing of the ERROR signal to allow recursive notification (like
deep_notify)
- implementing recursive notification with error events.
- removal of some functions in gstbin.c that are not used anymore.
- The function gst_element_info and gst_element_send_event now do
nothing but printing a warning, that these functions are gone. This is
done to allow plugins to catch up.
- Some bugfixes in XML saving are included, they simply were in the
file.
2002-02-06 19:05:19 +00:00
Thomas Vander Stichele
ac5bfadbfe sorry, but I'd like this fixed ;)
Original commit message from CVS:
sorry, but I'd like this fixed ;)
2002-02-06 19:02:24 +00:00
Benjamin Otte
fd09a5765a update to do the new error handling and notification
Original commit message from CVS:
update to do the new error handling and notification
2002-02-06 18:58:53 +00:00
Richard Boulton
d8a26dcd5a Use automake's per-target CFLAG functionality to compile cothreads.c with correct flags.
Original commit message from CVS:
Use automake's per-target CFLAG functionality to compile cothreads.c with
correct flags.
2002-02-06 18:53:33 +00:00
Andy Wingo
08d271f4de a couple more ifdefs
Original commit message from CVS:
a couple more ifdefs
2002-02-06 17:29:55 +00:00
Andy Wingo
53c6064f5b Farewell sweet shim,
Original commit message from CVS:
Farewell sweet shim,
Thou hast serv'd us well --
Though not with cherubim
but in the Attic you shall dwell.
2002-02-06 16:45:33 +00:00
Andy Wingo
f7aa64cf33 core is glib2 only now tried to convert to g_strdup_value_contents as much as i could misc other fixes
Original commit message from CVS:
* core is glib2 only now
* tried to convert to g_strdup_value_contents as much as i could
* misc other fixes
2002-02-06 16:35:16 +00:00
Benjamin Otte
5efa475181 initial checkin for the deep_notify signal which replaces INFO events in the long run.
Original commit message from CVS:
initial checkin for the deep_notify signal which replaces INFO events in the long run.
PLEASE do not use gst_element_[info,message,error] anymore. Use g_object_notify instead.
Thank you.
2002-02-05 21:11:43 +00:00
Benjamin Otte
7ec0610594 bugfixing; use the right function to check probable caps compatibility
Original commit message from CVS:
bugfixing; use the right function to check probable caps compatibility
2002-02-05 20:56:11 +00:00
Benjamin Otte
07e4199418 bugfix: nobody knows if the pad will still be there...
Original commit message from CVS:
bugfix: nobody knows if the pad will still be there...
2002-02-05 19:01:45 +00:00
Benjamin Otte
d0a0cdbd9f removed workaround for a bug that is fixed
Original commit message from CVS:
removed workaround for a bug that is fixed
2002-02-05 18:22:37 +00:00
Thomas Vander Stichele
c3ee55473f this fix makes sure that we actually request a pad from the template with an unused name this isn't optimal but gets ...
Original commit message from CVS:
this fix makes sure that we actually request a pad from the template with
an unused name
this isn't optimal but gets the job done

should we move this code fragment to it's own helper function to use
everywhere stuff is requested according to a template ?
2002-02-05 17:42:40 +00:00
Benjamin Otte
b97f4f91c8 - use autoplugging instead of predefined way on sometimes pads
Original commit message from CVS:
- use autoplugging instead of predefined way on sometimes pads
- exchange plugtype with factories in the spider
- revamp the spider, now messier than before...
- bugfixing
- style corrections
2002-02-05 17:08:08 +00:00
Thomas Vander Stichele
9f5ccfc9b4 remove cothreads from the Makefile.am
Original commit message from CVS:
remove cothreads from the Makefile.am
2002-02-05 09:31:57 +00:00
Thomas Vander Stichele
1795cddc9f small compile fix
Original commit message from CVS:
small compile fix
2002-02-04 23:28:55 +00:00
Thomas Vander Stichele
98d9527ac7 similar fix for count ref
Original commit message from CVS:
similar fix for count ref
2002-02-04 22:41:23 +00:00
Thomas Vander Stichele
0631f3a082 this is better
Original commit message from CVS:
this is better
2002-02-04 22:40:30 +00:00
Thomas Vander Stichele
26d7525c14 shouldn't fuss about not needing to ref at all
Original commit message from CVS:
shouldn't fuss about not needing to ref at all
2002-02-04 22:33:48 +00:00
Andy Wingo
7ed9201e06 removed my cothreads dir in favor of the cothreads/ module
Original commit message from CVS:
removed my cothreads dir in favor of the cothreads/ module
2002-02-04 03:23:12 +00:00
Wim Taymans
53b6bb6242 Added a first stab at a better clocking system.
Original commit message from CVS:
Added a first stab at a better clocking system.
It still needs more infrastructure for async notification and custom clock
implementors.
This thing can still deadlock the pipeline.
2002-02-03 20:07:09 +00:00
Ronald S. Bultje
3ea3b8e8ab Some small adjustments for for better open-a-new-file handling
Original commit message from CVS:
Some small adjustments for for better open-a-new-file handling
2002-02-03 15:47:20 +00:00
Andy Wingo
259c8c394c some compile fixes, api changes, and i added the ability to create new chunks on the stack, which can extend the main...
Original commit message from CVS:
some compile fixes, api changes, and i added the ability to create new chunks on the
stack, which can extend the main thread's stack up to 8M under linuxthreads. thanks
to billh for the {set,get}rlimit tip.

on the other hand, there's a nasty bug in cothreads when they are run without gthreads
that i'm still tracking down. that's the last bug though, at this point.

the commit is to syn the repository with my working copy before moving cothreads to a
separate module.
2002-02-02 19:07:10 +00:00
Wim Taymans
a6048ae4d7 Added some more shims
Original commit message from CVS:
Added some more shims
Pointless cleanups..
2002-02-02 13:36:21 +00:00
Wim Taymans
d73903bd22 More pointless cleanups
Original commit message from CVS:
More pointless cleanups
2002-02-02 13:34:44 +00:00
Wim Taymans
24e313c153 Small pointless cleanups
Original commit message from CVS:
Small pointless cleanups
2002-02-02 13:32:32 +00:00
Wim Taymans
991b6231ea Small cleanups
Original commit message from CVS:
Small cleanups
2002-02-02 13:27:33 +00:00
Wim Taymans
f0e4bd3b5c Make filesrc respond to seek
Original commit message from CVS:
Make filesrc respond to seek
2002-02-02 13:24:25 +00:00
Wim Taymans
b37f73757a Fix a serious leak in tee
Original commit message from CVS:
Fix a serious leak in tee
2002-02-02 00:22:34 +00:00
Erik Walthinsen
5684e131de Change soversion back to 0:0:0 and add use of -release flag for libtool.
Original commit message from CVS:
Change soversion back to 0:0:0 and add use of -release flag for libtool.
This means that any program linking against libgst will automatically have
the specific release of libgst encoded into it.  This enforces the fact
that (for the moment), the API/ABI is changing rapidly enough that you
can't link against 0.3.2 originally and have it still work with 0.3.3.  It
might be possible, but highly unlikely.

When we get closer to a stable API/ABI, in the 0.5.0 timeframe most likely,
we will start using soversions as recommended in the libtool docs.  Then
we have to pay more attention to forward and backwards compatiblity, or
rather, we have to *start* paying attention <g>
2002-02-01 22:37:16 +00:00
Ronald S. Bultje
02605b1754 Allow new headers to be written - or we will never create valid second files for avimux
Original commit message from CVS:
Allow new headers to be written - or we will never create valid second files for avimux
2002-01-31 21:03:39 +00:00
Ronald S. Bultje
6db16f9677 Allow multiple files to be created with disksink and integrate a new event for that
Original commit message from CVS:
Allow multiple files to be created with disksink and integrate a new event for that
2002-01-31 15:38:04 +00:00
Benjamin Otte
e9d5cf15ba fix segfault when pushing events twice
Original commit message from CVS:
fix segfault when pushing events twice
2002-01-30 21:54:06 +00:00
Thomas Vander Stichele
a5678b4f06 trying to fall back to glib1 when glib2 isn't there
Original commit message from CVS:
trying to fall back to glib1 when glib2 isn't there
2002-01-30 17:27:46 +00:00
Thomas Vander Stichele
2a75dee620 removing versioning please check ;)
Original commit message from CVS:
removing versioning
please check ;)
2002-01-30 10:15:26 +00:00
Benjamin Otte
7fe00b9485 dude, use glib swap functions
Original commit message from CVS:
dude, use glib swap functions
2002-01-29 20:42:18 +00:00
Benjamin Otte
aaf8407f85 inclusion of GstMD5Sink
Original commit message from CVS:
inclusion of GstMD5Sink
2002-01-29 20:06:07 +00:00
Thomas Vander Stichele
dd61460c4a ... and this one fixes make distcheck for glib2 builds
Original commit message from CVS:
... and this one fixes make distcheck for glib2 builds
2002-01-29 12:08:42 +00:00
Thomas Vander Stichele
a65431489c this fixes the marshal thingy
Original commit message from CVS:
this fixes the marshal thingy
2002-01-29 11:17:44 +00:00
Andy Wingo
9ea4df4ce7 fixed a number of bugs, added support for cothread-private data and functions of the form void (*func) (int argc, voi...
Original commit message from CVS:
fixed a number of bugs, added support for cothread-private data and
functions of the form void (*func) (int argc, void **argv)

the test app demonstrates the thread-safety of the cothreads lib

this is shaping up to be pretty solid.
2002-01-29 05:49:57 +00:00
Thomas Vander Stichele
b7b4eafce7 trying to fix some of the issues here
Original commit message from CVS:
trying to fix some of the issues here
2002-01-28 17:14:41 +00:00
Andy Wingo
ca06615762 it works, yo
Original commit message from CVS:
it works, yo
2002-01-28 01:56:17 +00:00
Benjamin Otte
b0e9344c56 initial import of the spider autoplugger - not to self: Makefile changes must be committed, too
Original commit message from CVS:
initial import of the spider autoplugger - not to self: Makefile changes must be committed, too
2002-01-28 01:48:34 +00:00
Benjamin Otte
475a7acaa3 initial import of the spider autoplugger
Original commit message from CVS:
initial import of the spider autoplugger
2002-01-28 01:47:31 +00:00
Andy Wingo
60b74d0591 removed acinclude.m4
Original commit message from CVS:
removed acinclude.m4
2002-01-28 01:32:02 +00:00
Andy Wingo
45a4d305fd the cothreads library now builds, but it's untested the public api is in cothreads.h
Original commit message from CVS:
the cothreads library now builds, but it's untested
the public api is in cothreads.h
2002-01-28 01:29:10 +00:00
Benjamin Otte
9d34e82b9a add API to make life easier
Original commit message from CVS:
add API to make life easier
2002-01-28 00:51:39 +00:00
Benjamin Otte
780213e23a fix SEGV when connecting chains during an iteration
Original commit message from CVS:
fix SEGV when connecting chains during an iteration
2002-01-28 00:40:11 +00:00
Benjamin Otte
9e1fa5e574 fix bug in _dispose of element/pads
Original commit message from CVS:
fix bug in _dispose of element/pads
2002-01-27 22:35:08 +00:00
Andy Wingo
0a8603e20a a couple of fixen
Original commit message from CVS:
a couple of fixen
2002-01-27 20:11:58 +00:00
Andy Wingo
bf81ebae7c a first pass at cleaning up the configure stuff new cothread library started, some experimental stack allocation code...
Original commit message from CVS:
* a first pass at cleaning up the configure stuff
* new cothread library started, some experimental stack allocation code is in place
2002-01-27 20:03:54 +00:00
Wim Taymans
40724bf5ad Fix padtemplate being unreffed twice on glib2
Original commit message from CVS:
Fix padtemplate being unreffed twice on glib2
2002-01-27 19:21:05 +00:00
Benjamin Otte
6052a8876a make add_ghost_pad return new pad instead of NULL
Original commit message from CVS:
make add_ghost_pad return new pad instead of NULL
2002-01-26 20:55:59 +00:00
Wim Taymans
5290fba98d Do the right thing on SET/CUR/END seek types.
Original commit message from CVS:
Do the right thing on SET/CUR/END seek types.
2002-01-26 18:28:55 +00:00
Wim Taymans
8a9a74d370 Added SET/CUR/END seek types.
Original commit message from CVS:
Added SET/CUR/END seek types.
2002-01-26 18:28:26 +00:00
Andy Wingo
94dac7322d should fix an error in a no-glib2 error message, an error in libxml stuff and silencing a warning in the cothreads stuff
Original commit message from CVS:
should fix an error in a no-glib2 error message, an error in libxml stuff
(newer versions of libxml1 can be included as libxml/parser.h), and silencing
a warning in the cothreads stuff
2002-01-25 04:27:24 +00:00
Andy Wingo
64e3f0a928 this version actually autogens properly and passes make distcheck
Original commit message from CVS:
this version actually autogens properly and passes make distcheck
2002-01-23 20:00:09 +00:00
Andy Wingo
3c798cc8a0 i got it to work. i am the hack-master of the moment. check out test-pth-pthreads2.c.
Original commit message from CVS:
i got it to work. i am the hack-master of the moment. check out test-pth-pthreads2.c.
2002-01-23 03:14:19 +00:00
Andy Wingo
5e48d598ea new, shiny hack uses mutexes to determine the current pthread_descr without resorting to internal header files. muaha...
Original commit message from CVS:
new, shiny hack uses mutexes to determine the current pthread_descr
without resorting to internal header files. muahaha ;)

this is only for linuxthreads, of course.
2002-01-23 01:23:10 +00:00
Andy Wingo
0fd25cc2c3 remove kruft that krept in on previous kommit
Original commit message from CVS:
remove kruft that krept in on previous kommit
2002-01-23 00:11:29 +00:00
Andy Wingo
f58c8f26b4 build system tweaks, and now the cothreads test code will build and configure with the rest of gst.
Original commit message from CVS:
build system tweaks, and now the cothreads test code will build and configure with the rest of gst.
2002-01-23 00:04:33 +00:00
Andy Wingo
f8b0a4dc3a this works, but it sucks
Original commit message from CVS:
this works, but it sucks
2002-01-22 21:48:26 +00:00
Andy Wingo
d9dfbdb8ef added another test
Original commit message from CVS:
added another test
2002-01-22 21:41:14 +00:00
Andy Wingo
fb6379544c further fixes
Original commit message from CVS:
further fixes
2002-01-22 20:50:39 +00:00
Andy Wingo
e395c92f13 forgot to add a file
Original commit message from CVS:
forgot to add a file
2002-01-22 01:32:49 +00:00
Andy Wingo
89627e60d5 attemping to resolve thread_self() problems, unfinished
Original commit message from CVS:
attemping to resolve thread_self() problems, unfinished
2002-01-21 22:21:19 +00:00
Andy Wingo
57aefd0caa added autogen skript
Original commit message from CVS:
added autogen skript
2002-01-21 05:19:49 +00:00
Andy Wingo
d48d5c640a added a test for pth and pthreads. in summary, it doesn't work because in __pthread_find_self() some funny stack poin...
Original commit message from CVS:
added a test for pth and pthreads. in summary, it doesn't work because
in __pthread_find_self() some funny stack pointer math is done that
will result in no matches for __pthread_find_self(). this is dereferenced in
__errno_location, causing a segfault on context switch because of the errno-swapping
on the part of pth. it's a mess and i don't know how to get around it. i'll
have to look into what ngpt does for looking up errno, as it has kernel threads as
well as user threads.
2002-01-21 05:09:17 +00:00
Andy Wingo
1bc541f213 The core code from pth has been taken out and included in gstreamer.
Original commit message from CVS:
The core code from pth has been taken out and included in gstreamer.
This code is documented, more or less, in http://www-124.ibm.com/pthreads/docs/rse-pmt.ps.

This code is designed to replace cothreads.[ch], eventually.
2002-01-21 00:20:29 +00:00
Wim Taymans
debf06d4b9 Small cleanups
Original commit message from CVS:
Small cleanups
Only do capsnego in READY or higher
2002-01-20 16:04:16 +00:00
Wim Taymans
b1bcc1875c Delay pad negotiation until the element is in READY or higher. this will gice the element a chance to open its device...
Original commit message from CVS:
Delay pad negotiation until the element is in READY or higher. this will
gice the element a chance to open its devices before we start calling the
connect functions.
Make sure we use the real pad in the negotiation.
Some other small cleanups.
2002-01-20 11:55:35 +00:00
Andy Wingo
8df3a20716 removed another overzealous check, sigh
Original commit message from CVS:
removed another overzealous check, sigh
2002-01-19 15:22:19 +00:00
Andy Wingo
d4176eac72 removed a check that was too restrictive. any errors that are not caught here will be caught at runtime.
Original commit message from CVS:
removed a check that was too restrictive. any errors that are not caught here will be caught at runtime.
2002-01-19 06:49:06 +00:00
Andy Wingo
a43702feb0 miscellaneous fixes, added gst_pad_unset_sched() api.
Original commit message from CVS:
miscellaneous fixes, added gst_pad_unset_sched() api.

although I unref the old pipeline and the cothread context gets freed in dynamic-pipeline.c,
I still get segfaults.
2002-01-19 06:29:40 +00:00
Andy Wingo
a7c3fc7d6c cleaning up duplicated code in gstbin.c added some sanity checks in gstpad.c added checks for failed connections in g...
Original commit message from CVS:
* cleaning up duplicated code in gstbin.c
* added some sanity checks in gstpad.c
* added checks for failed connections in gstparse.c
* better docs in gstxml.c
2002-01-18 22:44:19 +00:00
Martin Enlund
7b1d5c7abd Previously filesrc would segfault when fed with the name of a directory.
Original commit message from CVS:
Previously filesrc would segfault when fed with the name of a directory.
Added check to ensure that the given file is a regular file.
2002-01-15 22:33:15 +00:00
Andy Wingo
f38969ff25 fix doc build for glib2 remove template files from cvs, they are generated with gtkdoc-mktmpl new, cleaner interface ...
Original commit message from CVS:
* fix doc build for glib2
* remove template files from cvs, they are generated with gtkdoc-mktmpl
* new, cleaner interface to the parser facilities
* cleanups in gstparse.c
2002-01-14 04:09:56 +00:00
Wim Taymans
b2ee38575d Landed the new improved capsnegotiation system.
Original commit message from CVS:
Landed the new improved capsnegotiation system.
The main idea is to keep track of the possible data types that can
pass through a connection. plugins can at any time inspect, adjust and
refine these caps. plugins also get notified when something changes to
the types so that they can reconfigure themselves.
Look at the updated plugins and the soon to be finished doc.
2002-01-13 22:22:42 +00:00
Wim Taymans
4031c2f252 Added EOS to the cache.
Original commit message from CVS:
Added EOS to the cache.
2002-01-13 12:59:23 +00:00
David I. Lehn
8da28910bc s/filter/plugin/ add $(GST_LIBS) to all plugins move Makefile.am things around to a mostly standard layout remove HTT...
Original commit message from CVS:
* s/filter/plugin/
* add $(GST_LIBS) to all plugins
* move Makefile.am things around to a mostly standard layout
* remove HTTP flags/libs from elements since http element moved
2002-01-12 00:47:40 +00:00
Andy Wingo
58ce781c21 fix for libxml1 compatibility
Original commit message from CVS:
fix for libxml1 compatibility
2002-01-11 16:05:06 +00:00
Andy Wingo
d262bea863 summary: fix xml in gstreamer 1) make clear distinction between loading xml that actually creates objects and loading...
Original commit message from CVS:
summary: fix xml in gstreamer

1) make clear distinction between loading xml that actually creates objects and loading xml that just
synchronizes properties with objects. moved most of gst_element_restore_thyself functionality to
gst_xml_make_element. this new function name can change if it sucks.
2) many various fixes. createxml and runxml work now.
3) doc updates.
4) GstSignalObject is stil broken. i have no idea what it's supposed to do.
2002-01-11 15:49:47 +00:00
Andy Wingo
c51e7cd2fe cimpile fix for libxml1
Original commit message from CVS:
cimpile fix for libxml1
2002-01-11 07:21:26 +00:00
Andy Wingo
099074586c added function gst_xml_write_file() which writes a nicely formatted and indented xml representation of an element to ...
Original commit message from CVS:
added function gst_xml_write_file() which writes a nicely formatted and indented
xml representation of an element to a file. you can use stdout or stderr, for
example.
2002-01-11 01:48:17 +00:00
Andy Wingo
35aa5cebdf global s/disksrc/filesrc/, but edited by me
Original commit message from CVS:
global s/disksrc/filesrc/, but edited by me
2002-01-06 04:26:37 +00:00
Andy Wingo
0b08c3f213 finalize conversion to gst-register
Original commit message from CVS:
finalize conversion to gst-register
2002-01-04 19:47:17 +00:00
Thomas Vander Stichele
8a96491618 fixes for make distcheck does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ? and if so, how should it be found by the...
Original commit message from CVS:
fixes for make distcheck
does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ?
and if so, how should it be found by the bytestream test ?
2002-01-02 14:07:46 +00:00
Thomas Vander Stichele
c81314f924 fixes to make distcheck work changed registry out of date to warning to allow tests to continue regardless (any bette...
Original commit message from CVS:
fixes to make distcheck work
changed registry out of date to warning to allow tests to continue regardless (any better suggestions much appreciated)
2002-01-02 12:23:26 +00:00
Wim Taymans
f1827a5697 /me should compile first
Original commit message from CVS:
/me should compile first
2002-01-01 16:01:00 +00:00
Wim Taymans
0a74077dcc API doc updates.
Original commit message from CVS:
API doc updates.
2002-01-01 15:58:51 +00:00
Wim Taymans
a4e4bb5795 Small cleanups
Original commit message from CVS:
Small cleanups
Added a bound to the number of switches, also fix a small bug
2002-01-01 13:51:04 +00:00
Wim Taymans
03391373ef Some small cleanups. added a drop_probaility arg to identity, so it occasionally can drop buffers to simulate network...
Original commit message from CVS:
Some small cleanups.
added a drop_probaility arg to identity, so it occasionally can drop buffers
to simulate network packet loss
2002-01-01 13:46:04 +00:00
Wim Taymans
ad6c7ef940 yes, it does return a gboolean.
Original commit message from CVS:
yes, it does return a gboolean.
2001-12-31 16:02:50 +00:00
Thomas Vander Stichele
d1d3d5344f can someone fix this better than me and remove FIXME's ?
Original commit message from CVS:
can someone fix this better than me and remove FIXME's ?
2001-12-31 15:54:42 +00:00
Wim Taymans
881672937a And remove some of the debugging crap
Original commit message from CVS:
And remove some of the debugging crap
2001-12-29 03:09:23 +00:00
Wim Taymans
7a4596415c And the .h file..
Original commit message from CVS:
And the .h file..
2001-12-29 03:05:34 +00:00
Wim Taymans
893c03f784 Changed to a GList as a GSList seems to have ..uhm.. issues
Original commit message from CVS:
Changed to a GList as a GSList seems to have ..uhm.. issues
2001-12-29 03:02:14 +00:00
Wim Taymans
90355128b5 - Removed deprecated buffer flags.
Original commit message from CVS:
- Removed deprecated buffer flags.
- removed gst_element_signal_eos, replaced with gst_element_set_eos
to set the object to PAUSED, signal an eos event etc..
- small updates to documentation
- repair some plugins
2001-12-28 20:20:26 +00:00
Wim Taymans
01d2b54b37 Fix cleanup for filesrc
Original commit message from CVS:
Fix cleanup for filesrc
2001-12-28 15:19:38 +00:00
Wim Taymans
e7f54b1e74 - Added a function to get the currently executing cothread
Original commit message from CVS:
- Added a function to get the currently executing cothread
- Removed some useless includes
- _interrupt now returns a boolean so the behaviour after the interrupt
can be controlled by the scheduler.
- Added a better way to set/get the default scheduler.
- make thread and pipeline get the default scheduler.
2001-12-27 00:47:41 +00:00
Wim Taymans
2198726630 Added a property to make identity fail after N buffers
Original commit message from CVS:
Added a property to make identity fail after N buffers
2001-12-27 00:40:50 +00:00
Andy Wingo
20485ce50e save the plugin paths in the registry load them back don't look in PLUGIN_DIR ($prefix/lib/gst usually) when PLUGIN_B...
Original commit message from CVS:
* save the plugin paths in the registry
* load them back
* don't look in PLUGIN_DIR ($prefix/lib/gst usually) when PLUGIN_BUILD_DIR
2001-12-25 23:32:01 +00:00
Wim Taymans
bd128c199c Tee Fixes. added cothread_stop (not used) improved the pad event dispatcher.
Original commit message from CVS:
Tee Fixes.
added cothread_stop (not used)
improved the pad event dispatcher.
added an event_received signal on the pad.
do less state changes in the autoplugger.
small scheduler fix.
2001-12-25 02:15:46 +00:00
Andy Wingo
aa9bc272af removed httpsrc from core
Original commit message from CVS:
removed httpsrc from core
2001-12-24 21:33:03 +00:00
Wim Taymans
7ec6702121 Better, cleaner state management of the scheduler by adding scheduler state flags.
Original commit message from CVS:
Better, cleaner state management of the scheduler by adding scheduler state
flags.
typefind has to interrupt instead of yield.
Fix a leak in the queue when it's dropping buffers.
2001-12-24 15:14:03 +00:00
Wim Taymans
c05a4511cd Removed the munmap for now
Original commit message from CVS:
Removed the munmap for now
2001-12-23 23:36:44 +00:00
Wim Taymans
6c538d527b Fix an event leak
Original commit message from CVS:
Fix an event leak
Ne need to save signals on longjmp
2001-12-23 14:50:44 +00:00
Wim Taymans
bdd6df925e Better cothread cleanup
Original commit message from CVS:
Better cothread cleanup
2001-12-23 14:27:48 +00:00
Wim Taymans
467035ce70 Never destroy the current cothread.
Original commit message from CVS:
Never destroy the current cothread.
Don't try to signal the scheduler if we don't have one
2001-12-22 23:19:17 +00:00
Wim Taymans
087dee1f62 This is an attempt at not segfaulting on errors but reporting some usefull info instead.
Original commit message from CVS:
This is an attempt at not segfaulting on errors but reporting some
usefull info instead.
- bin changes so errors can propagate.
- changed the _FAST macros to _CAST because that is what they do.
- removed all references to cothreads out of the core, they are
really a scheduler issue, handler with a sched_private gpointer.
- added a live buffer count, for debugging buffer leaks.
- added error checking in gst_scheduler_state_transition this solves the
"out of cothreads" problem.
- GST_ELEMENT_NO_ENTRY == GST_ELEMENT_INFINITE_LOOP
- added 2 private element flasg for use by the scheduler
(_COTHREAD_STOPPING) is now
- added scheduler entry points:
- _yield : to create possible scheduling points.
- _interrupt: to stop execution of an element.
- _error: to signal en error condition to the scheduler.
- improved error messages for pads.
- signal gst_element_error where appropriate.
- added the a new bin to the parent before entering it so one can reference
its children.
- queue memleak fixes on dispose.
- added possible deadlock detection in queue (turned off be default)
- GstBasicScheduler is a real class of its own now, hiding its internal
variables.
- GST_ELEMENT_IS_COTHREAD_STOPPING is gone. either call explicit _yield
operations, or make a sane loop.
- Better state change handling in filesrc. Better error reporting/recovery
too.
- updated core plugins.
- detect non decoupled elements on scheduler boundries and error.
2001-12-22 21:18:17 +00:00
Wim Taymans
f5affde61c - Reclaim cothread state even if the cothread was never activated after the free.
Original commit message from CVS:
- Reclaim cothread state even if the cothread was never activated after
the free.
- fix the bin state change when there are no more children.
- use a real method to signal the parent bin of a state change.
- move the state change policy in the scheduler.
- remove the unused and ridiculous state change event
- don't free the cothread state when the element is disabled. only free it
when the element is removed from the scheduler.
2001-12-20 20:03:10 +00:00
Wim Taymans
a8b1346857 cothread cleanup.
Original commit message from CVS:
cothread cleanup.
- removed some old code.
- ran the thing through indent
- rename cothread_init/free to cothread_context_init/free
- implement cothread_free/destroy to clear the cothread_state slot
- make cothread_init reuse empty slots.
minor cleanups in error reporting (gstpad, gstelement)
code cleanup in gstthread
make unexpected state changes in gstthread less fatal
free the cothread_state in the scheduler.

This one passes all the current cvs testcases including dynamic-pipeline.
2001-12-20 02:41:34 +00:00
Wim Taymans
5ad018148c Some more work on cleanup.
Original commit message from CVS:
Some more work on cleanup.
- added two functions in the scheduler _setup and _reset to initialize
the context. In the case of the cothread context we have to map the
cothread stack space onto the threads stack.
- setup/reset the scheduler context in the threads context.
- fix the ghostpad cleanup.
- slightly changed the scheduler code to cleanly remove connections.
2001-12-19 19:22:53 +00:00
Wim Taymans
23eb626391 include gstevent.h
Original commit message from CVS:
include gstevent.h
2001-12-19 02:19:00 +00:00
Wim Taymans
2c9d646895 Moved the typedef to gsttypes.h as stock rh 7.2 gcc doesn't seem to like it otherwise.
Original commit message from CVS:
Moved the typedef to gsttypes.h as stock rh 7.2 gcc doesn't seem to like
it otherwise.
2001-12-19 01:50:11 +00:00
Zaheer Abbas Merali
eb45d89cfb Added capsnego to the Tee Element
Original commit message from CVS:
Added capsnego to the Tee Element
2001-12-19 01:17:54 +00:00
Wim Taymans
56d3cdf64a - Elements can now send events to their parent.
Original commit message from CVS:
- Elements can now send events to their parent.
- remove the g_signals from the core for parent<->child communication
- the application can easily get element info by listening for an event
signal from the toplevel bin.
- added gst_element_info()/_error().
- fakesrc and fakesink use the info event instead of g_print.
- GST_TYPE_* causes segfaults with elect fence, rever to G_TYPE_POINTER
until we know what's wrong.
- various leaks fixed wrt element destroy.
- The object that created the event is now stored as GST_EVENT_SRC
2001-12-18 19:03:07 +00:00
Wim Taymans
19bb74b352 Added IRIX compatibility code for dladdr
Original commit message from CVS:
Added IRIX compatibility code for dladdr
2001-12-18 17:02:02 +00:00
Wim Taymans
46ac5c55c2 free the entries and strings
Original commit message from CVS:
free the entries and strings
2001-12-18 16:56:40 +00:00
Wim Taymans
9a011a79c0 Reset the offset when going to READY
Original commit message from CVS:
Reset the offset when going to READY
2001-12-18 16:54:11 +00:00
Wim Taymans
741051f00d Clean to cothread context when destroyed
Original commit message from CVS:
Clean to cothread context when destroyed
2001-12-18 16:52:01 +00:00
Wim Taymans
4771e9affc Applied a cothread setup patch for IRIX from Nick Blievers
Original commit message from CVS:
Applied a cothread setup patch for IRIX from Nick Blievers
<nick.blievers@adacel.com>
2001-12-18 16:50:05 +00:00
Wim Taymans
e279738a3f Adde cothread context cleanup code
Original commit message from CVS:
Adde cothread context cleanup code
2001-12-18 16:49:13 +00:00
Christian Schaller
3f55af9bb4 Ok, all // comments removed except the bloddy nested ones
Original commit message from CVS:
Ok, all // comments removed except the bloddy nested ones
2001-12-17 22:26:56 +00:00
Christian Schaller
b92cdd41c4 just one bad comment here
Original commit message from CVS:
just one bad comment here
2001-12-17 18:52:27 +00:00
Christian Schaller
ec729a5888 ok, one big bad file fixed for // comments almost, darn those nested comments irritate me
Original commit message from CVS:
ok, one big bad file fixed for // comments almost, darn those nested comments irritate me
2001-12-17 18:51:40 +00:00
Christian Schaller
7886394507 more of the popular // fixes
Original commit message from CVS:
more of the popular // fixes
2001-12-17 18:14:51 +00:00
Wim Taymans
17649a6679 Added parallel pipeline syntex to the parser. ./gstreamer-launch filesrc location=/opt/data/AlienSong.mpg ! mpegdemux...
Original commit message from CVS:
Added parallel pipeline syntex to the parser.

./gstreamer-launch filesrc location=/opt/data/AlienSong.mpg ! mpegdemux
name=foo video_00! { queue ! mpeg2dec ! sdlvideosink } foo.audio_00! { queue
! mad ! osssink }

should do the trick :)
2001-12-17 14:18:03 +00:00
Andrew Mitchell
f518f8e795 Re-add fix from the branch
Original commit message from CVS:
Re-add fix from the branch
2001-12-17 04:22:11 +00:00
Wim Taymans
e567fed741 Remove the --help arg and don't quit
Original commit message from CVS:
Remove the --help arg and don't quit
2001-12-16 19:14:12 +00:00
Thomas Vander Stichele
40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Wim Taymans
cbe353a146 Added en axtra include for sys_errlist
Original commit message from CVS:
Added en axtra include for sys_errlist
2001-12-15 22:59:24 +00:00
Wim Taymans
5048fbecd5 Comment this one out until we have a shim
Original commit message from CVS:
Comment this one out until we have a shim
2001-12-15 22:48:38 +00:00
Wim Taymans
68d82dd00c Various cleanups and leak fixage.
Original commit message from CVS:
Various cleanups and leak fixage.
2001-12-15 22:37:35 +00:00
Christian Schaller
47145c507a ok, small fix due to me not considering the problem with nesting of comments
Original commit message from CVS:
ok, small fix due to me not considering the problem with nesting of comments
2001-12-15 21:33:40 +00:00
Christian Schaller
9dca9db01b updated .h files with // fixes
Original commit message from CVS:
updated .h files with // fixes
2001-12-15 18:15:13 +00:00
Christian Schaller
d36e28ce89 recommenting out line I had mistakedly uncommented
Original commit message from CVS:
recommenting out line I had mistakedly uncommented
2001-12-15 15:53:49 +00:00
Thomas Vander Stichele
f972dbb746 fix some of uraeus's commenting fixes can someone also put {} around GST_DEBUG statements after if's ?
Original commit message from CVS:
fix some of uraeus's commenting fixes
can someone also put {} around GST_DEBUG statements after if's ?
2001-12-15 01:01:57 +00:00
Christian Schaller
d6b9ae8b63 aye ladie, no more ugly // comments here, even if Taaz gets upset about it
Original commit message from CVS:
aye ladie, no more ugly // comments here, even if Taaz gets upset about it
2001-12-14 22:59:21 +00:00
Wim Taymans
479d33e30d Added the GINT64 shim
Original commit message from CVS:
Added the GINT64 shim
2001-12-14 21:45:36 +00:00
Michael Meeks
d04099240b gst/gst.c (gst_main, gst_main_quit): upd.
Original commit message from CVS:
2001-12-14  Michael Meeks  <michael@ximian.com>

* gst/gst.c (gst_main, gst_main_quit): upd.

* gst/gstutils.c (gst_util_has_arg): impl.
(gst_util_get_int64_arg): impl.

* plugins/mpeg2/video/gstmpeg2play.c
(gst_mpeg2play_class_init): min frames per sec = 0.

* plugins/mikmod/gstmikmod.c (gst_mikmod_class_init):
s/16bit/use16bit/ properties can't begin with a non
alpha.

* tools/gstreamer-guilaunch.c: fresh from the ministy
of nasty hacks.

* tools/Makefile.am: enable gstreamer-guilaunch for
Gnome 2.0

* tools/gstreamer-launch.c (main): upd.
(idle_func): quit the mainloop.
2001-12-14 18:11:52 +00:00
Wim Taymans
aad4038b10 Added debugging info again.
Original commit message from CVS:
Added debugging info again.
2001-12-14 12:25:12 +00:00
Wim Taymans
04b1c69ce1 Don't wrtie to the page we have mmaped read only.
Original commit message from CVS:
Don't wrtie to the page we have mmaped read only.
2001-12-14 12:15:27 +00:00
Wim Taymans
3fbb463174 Removed code for which we don't have a shim yet.
Original commit message from CVS:
Removed code for which we don't have a shim yet.
2001-12-14 11:56:48 +00:00
Wim Taymans
feefad212e Some leftover fixes from Michael.
Original commit message from CVS:
Some leftover fixes from Michael.
2001-12-14 11:11:54 +00:00
Andy Wingo
dd620071e5 vestigial gstdisksrc removal
Original commit message from CVS:
vestigial gstdisksrc removal
2001-12-14 00:19:12 +00:00
Wim Taymans
d2477f425f Don't try to add NULL psepcs
Original commit message from CVS:
Don't try to add NULL psepcs
2001-12-14 00:02:21 +00:00
Andy Wingo
413a70a342 go away i tell you
Original commit message from CVS:
go away i tell you
2001-12-14 00:00:10 +00:00
Andy Wingo
a1669cdddd bye bye disksrc! c-ya! peace out!
Original commit message from CVS:
bye bye disksrc! c-ya! peace out!
2001-12-13 23:59:05 +00:00
Wim Taymans
e2cb41fed8 More Michael fixage
Original commit message from CVS:
More Michael fixage
2001-12-13 23:37:47 +00:00
Wim Taymans
9f23c76bea Aplied more fixage from Michael Meeks.
Original commit message from CVS:
Aplied more fixage from Michael Meeks.
2001-12-13 23:14:39 +00:00
Michael Meeks
7943a116f6 Aplied a patch from Michael Meeks to add libxml2 support.
Original commit message from CVS:
Aplied a patch from Michael Meeks to add libxml2 support.
2001-12-13 19:00:58 +00:00
Wim Taymans
44896269e5 Small cleanups
Original commit message from CVS:
Small cleanups
2001-12-12 13:37:29 +00:00
Wim Taymans
ca2bc32210 Some small cleanups
Original commit message from CVS:
Some small cleanups
2001-12-12 13:15:32 +00:00
Wim Taymans
946aace685 Some code cleanups.
Original commit message from CVS:
Some code cleanups.
2001-12-12 13:04:05 +00:00
Wim Taymans
84f55bb12a schedule ws renamed to scheduler.
Original commit message from CVS:
schedule ws renamed to scheduler.
2001-12-12 12:13:38 +00:00
Wim Taymans
52c2614f26 Removed dead code
Original commit message from CVS:
Removed dead code
2001-12-12 11:17:02 +00:00
Andy Wingo
e4bba88ae9 minor typographical change to autogen added --with-html-dir option to configure more robust docbook checks convert to...
Original commit message from CVS:
* minor typographical change to autogen
* added --with-html-dir option to configure
* more robust docbook checks
* convert to standard docbook makefiles, at least for the gst/ directory
* added filesrc.h so that docbook can know about filesrc
* updated -sections.txt because docbook is incredibly stupid and requires that at
least one of the lines between <section> and </section> is not an entity
* first pass at possible getting the docs to build on glib2, untested
2001-12-12 06:08:44 +00:00
Erik Walthinsen
e76ac5160b change coloration for group 31
Original commit message from CVS:
change coloration for group 31
2001-12-11 22:50:52 +00:00
Wim Taymans
66d8173f05 Change the prototype too
Original commit message from CVS:
Change the prototype too
2001-12-11 22:24:26 +00:00
Wim Taymans
3ee219faba use connect_swapped
Original commit message from CVS:
use connect_swapped
2001-12-11 22:23:20 +00:00
Wim Taymans
df941a9ca6 Also swap the args in the callback function
Original commit message from CVS:
Also swap the args in the callback function
2001-12-11 16:42:09 +00:00
Christian Schaller
d707f3a0d5 Removed _object from g_signal_connect_object in order for this to compile under GLIB2
Original commit message from CVS:
Removed _object from g_signal_connect_object in order for this to compile under GLIB2
2001-12-11 08:22:32 +00:00
Wim Taymans
970e58ebd3 Update our internal state counters when adding/removing elements.
Original commit message from CVS:
Update our internal state counters when adding/removing elements.
2001-12-10 18:08:35 +00:00
Wim Taymans
f5e46974ef Set the pipeline to the paused state when doing dynimic connects.
Original commit message from CVS:
Set the pipeline to the paused state when doing dynimic connects.
2001-12-09 14:44:48 +00:00
Wim Taymans
f4c17c3ba1 Added some more docs
Original commit message from CVS:
Added some more docs
2001-12-09 13:17:54 +00:00
Thomas Vander Stichele
45333f4b94 more and more
Original commit message from CVS:
more and more
2001-12-08 16:11:10 +00:00
Thomas Vander Stichele
998ea06629 Mama always said : "do one, do them all"
Original commit message from CVS:
Mama always said : "do one, do them all"
2001-12-08 15:40:58 +00:00
Thomas Vander Stichele
5707f12316 and this one
Original commit message from CVS:
and this one
2001-12-08 15:05:38 +00:00
Thomas Vander Stichele
6cf46846e9 added GST_CFLAGS
Original commit message from CVS:
added GST_CFLAGS
2001-12-08 14:18:23 +00:00
Thomas Vander Stichele
fe6ae5be4c added GST_CFLAGS to fix make distcheck
Original commit message from CVS:
added GST_CFLAGS to fix make distcheck
2001-12-08 13:41:52 +00:00
Thomas Vander Stichele
aa96d882b0 does this little tweak fix the make distcheck in gst/types not finding the gst/gst.h header ?
Original commit message from CVS:
does this little tweak fix the make distcheck in gst/types not finding the
gst/gst.h header ?
2001-12-07 18:23:37 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Andy Wingo
d1e9cc692b quoting from the comment i put in gststaticautoplug.c: it is likely that the plugin is not loaded yet. thus when it l...
Original commit message from CVS:
quoting from the comment i put in gststaticautoplug.c:

it is likely that the plugin is not loaded yet. thus when it loads it
will replace the elementfactory that gst built from the cache, and the
GST_OBJECT_NAME will no longer be valid. thus we must g_strdup its name.

this might be an implementation problem, i don't know, if a program keeps
a reference to a cached factory after a factory has been added on plugin
initialization. i really don't know though.
2001-11-24 20:37:40 +00:00
Andy Wingo
04da163496 fixed a double-unreffing problem when disposing of elements
Original commit message from CVS:
fixed a double-unreffing problem when disposing of elements
2001-11-24 02:49:54 +00:00
Andy Wingo
680fdd6ce7 cleaned up mangling of properties and names in ladspa by using g_strcanon added g_strcanon to gobject2gtk.[ch], not t...
Original commit message from CVS:
* cleaned up mangling of properties and names in ladspa by using g_strcanon
* added g_strcanon to gobject2gtk.[ch], not tested though
2001-11-23 04:20:54 +00:00
Wim Taymans
0b263598f0 Call the default handler of the pad
Original commit message from CVS:
Call the default handler of the pad
2001-11-14 21:21:58 +00:00
Wim Taymans
dc435fc930 Direct events to the event handler for non event-ware elements. pass the event to the chain function for event aware ...
Original commit message from CVS:
Direct events to the event handler for non event-ware elements.
pass the event to the chain function for event aware elements.
2001-11-14 21:11:05 +00:00
Wim Taymans
2f60d799a4 Make the queue event aware and make it do something usefull with the events.
Original commit message from CVS:
Make the queue event aware and make it do something usefull with the events.
2001-11-14 21:09:44 +00:00
Wim Taymans
fa78165bcd Added a default handler for the pads.
Original commit message from CVS:
Added a default handler for the pads.
2001-11-14 21:08:44 +00:00
Wim Taymans
8e2530ee1c Added a flag to indicate an element is event aware.
Original commit message from CVS:
Added a flag to indicate an element is event aware.
2001-11-14 21:07:33 +00:00
Wim Taymans
40cdffa6a7 Renamed a local var to better state what its purpose is.
Original commit message from CVS:
Renamed a local var to better state what its purpose is.
2001-11-14 21:06:15 +00:00
Erik Walthinsen
97978f6056 print the pre-operation refcount for ref and unref
Original commit message from CVS:
print the pre-operation refcount for ref and unref
2001-11-08 22:41:43 +00:00
Erik Walthinsen
42ec9085a2 added taaz's threading patch, including queue events
Original commit message from CVS:
added taaz's threading patch, including queue events
2001-10-27 20:28:31 +00:00
Steve Baker
a4e42f7b06 return a negative error code instead of exiting on parse error
Original commit message from CVS:
return a negative error code instead of exiting on parse error
2001-10-27 13:44:18 +00:00
Andy Wingo
f62b6204a7 fix glib2 warning
Original commit message from CVS:
fix glib2 warning
2001-10-25 21:24:09 +00:00
David I. Lehn
2408c618b2 basic statistics element
Original commit message from CVS:
basic statistics element
2001-10-24 22:42:40 +00:00
David I. Lehn
8bcaad11e6 stop printing out readbytes
Original commit message from CVS:
stop printing out readbytes
2001-10-24 22:42:11 +00:00
Wim Taymans
7e5cd5fc38 Add gst_typefactory_get_list to get a list of registered typefactories.
Original commit message from CVS:
Add gst_typefactory_get_list to get a list of registered
typefactories.
2001-10-24 21:35:47 +00:00
Wim Taymans
97032976ae Don't try to build the marshall stuff with the gtk shims
Original commit message from CVS:
Don't try to build the marshall stuff with the gtk shims
2001-10-24 20:29:44 +00:00
Wim Taymans
d784ecc5b9 Reset the name to NULL.
Original commit message from CVS:
Reset the name to NULL.
2001-10-24 19:20:58 +00:00
Wim Taymans
c02219d24a Added the name property
Original commit message from CVS:
Added the name property
2001-10-24 19:11:11 +00:00
Erik Walthinsen
381f7b930f BUILT_SOURCES patch from vishnu
Original commit message from CVS:
BUILT_SOURCES patch from vishnu
2001-10-24 04:44:30 +00:00
Wim Taymans
67c932ef0e Aplied the patches from vishnu to implement seeking in various plugins. bytestream now has an event-aware API.
Original commit message from CVS:
Aplied the patches from vishnu to implement seeking in various plugins.
bytestream now has an event-aware API.
2001-10-23 19:50:41 +00:00
Wim Taymans
5e85a8eb03 Added 64 bit support to filesrc and a gtk+ shim (mapped to ulong unfortunatly) as per vishnus patch.
Original commit message from CVS:
Added 64 bit support to filesrc and a gtk+ shim (mapped to ulong
unfortunatly) as per vishnus patch.
2001-10-22 19:13:24 +00:00
Wim Taymans
eb2791d210 GSearchFunc seems to be glib1.2 only so it was replaced with
Original commit message from CVS:
GSearchFunc seems to be glib1.2 only so it was replaced with
GCompareFunc again.
2001-10-22 13:37:50 +00:00
Wim Taymans
55515f8433 Some compiler warning removed.
Original commit message from CVS:
Some compiler warning removed.
Updated the event handler in filesrc.
2001-10-21 21:58:29 +00:00
Wim Taymans
cccc097ca5 API docs. revived _buffer_ref_by_count fast types for scheduler and bin.
Original commit message from CVS:
API docs.
revived _buffer_ref_by_count
fast types for scheduler and bin.
error checking on plugin features;
removed some prototypes that were not implemented (gst_pipeline_iterate
comes to mind)
remove gst_pad_event until we know what it's supposed to do.
remove sinesrc, it wasn't compiles anymore, so...
updates to various elements that used the old event API.
2001-10-21 18:00:31 +00:00
Erik Walthinsen
de48822104 added empty string for category 31, lest the coloration break
Original commit message from CVS:
added empty string for category 31, lest the coloration break
2001-10-21 02:06:12 +00:00
Erik Walthinsen
455567482c changed names from guchar* to gchar*, which makes C++ happy, and is, um, correct.
Original commit message from CVS:
changed names from guchar* to gchar*, which makes C++ happy, and is, um, correct.
2001-10-20 23:15:29 +00:00
Erik Walthinsen
7095ffbfab made C++ friendly
Original commit message from CVS:
made C++ friendly
2001-10-20 23:12:36 +00:00
Erik Walthinsen
d945cd38c8 convert g_string_printfa to g_string_append_printf and add to the shim
Original commit message from CVS:
convert g_string_printfa to g_string_append_printf and add to the shim
2001-10-20 23:06:49 +00:00
Wim Taymans
4f1f3da896 Removed old, bad bytestream code.
Original commit message from CVS:
Removed old, bad bytestream code.
2001-10-19 19:49:40 +00:00
Erik Walthinsen
c352836abe added another madvise and wrapped them in #ifdef's so they don't break systems without MADV_*
Original commit message from CVS:
added another madvise and wrapped them in #ifdef's so they don't break systems without MADV_*
2001-10-17 20:57:53 +00:00
Erik Walthinsen
d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00
Steve Baker
a0334eba32 remove dparams from core
Original commit message from CVS:
remove dparams from core
2001-10-07 09:41:36 +00:00
Steve Baker
a2107db69a remove ability to set dparams from -launch. this is the only real loss of functionality from moving dparams out of co...
Original commit message from CVS:
remove ability to set dparams from -launch. this is the only real loss of functionality from moving dparams out of core.  Maybe I'll make the parser pluggable ;)
2001-10-07 09:41:08 +00:00
Steve Baker
ef1473b443 remove extra debug info
Original commit message from CVS:
remove extra debug info
2001-10-07 09:38:36 +00:00
Steve Baker
b48fa3d758 gstsinesrc is being moved into plugins/synthesis/sinesrc
Original commit message from CVS:
gstsinesrc is being moved into plugins/synthesis/sinesrc
2001-10-06 12:46:50 +00:00
Steve Baker
b213eab345 also need to ref the template in gst_pad_new_from_template
Original commit message from CVS:
also need to ref the template in gst_pad_new_from_template
2001-09-29 15:39:00 +00:00
Steve Baker
b4a9554f99 shouldn't sink here. that is up to the pad's parent (the element)
Original commit message from CVS:
shouldn't sink here. that is up to the pad's parent (the element)
2001-09-29 11:00:30 +00:00
Steve Baker
409d408336 factory needs a ref to the padtemplate so that the padtemplate doesn't disappear when the plugin element is unreffed
Original commit message from CVS:
factory needs a ref to the padtemplate so that the padtemplate doesn't disappear when the plugin element is unreffed
2001-09-29 09:53:07 +00:00
Steve Baker
b4a9f42c97 reenabled object destruction by renaming shutdown and real_destry to dispose funcs
Original commit message from CVS:
reenabled object destruction by renaming shutdown and real_destry to dispose funcs
2001-09-28 19:16:02 +00:00
Thomas Vander Stichele
d938af0175 g_critical is a glib-2.0-ism, changed them to g_warning and added FIXME's
Original commit message from CVS:
g_critical is a glib-2.0-ism, changed them to g_warning and added FIXME's
2001-09-23 08:26:10 +00:00
Steve Baker
c30947dc3e crashes that only happen when debugging is on aren't very nice
Original commit message from CVS:
crashes that only happen when debugging is on aren't very nice
2001-09-22 12:27:12 +00:00
Joshua N. Pritikin
99335d4c14 glib 1.2 fix minor formatting improvements add gst_print_element_args
Original commit message from CVS:
glib 1.2 fix
minor formatting improvements
add gst_print_element_args
2001-09-18 04:20:04 +00:00
Joshua N. Pritikin
0e9314ac7c revert detailed multi-line error report
Original commit message from CVS:
revert detailed multi-line error report
2001-09-17 23:56:30 +00:00
Joshua N. Pritikin
3aa927ac2f add temporary diagnostic code
Original commit message from CVS:
add temporary diagnostic code
2001-09-17 23:44:58 +00:00
Joshua N. Pritikin
68cecc8700 fix warnings
Original commit message from CVS:
fix warnings
2001-09-17 23:44:07 +00:00
Steve Baker
c4630dfcee init the values when the state hits playing so that we don't do dum things like log(0)
Original commit message from CVS:
init the values when the state hits playing so that we don't do dum things like log(0)
2001-09-17 19:15:53 +00:00
Steve Baker
312e46a540 smooth dparam now does log smooths when it is a log param (like frequency)
Original commit message from CVS:
smooth dparam now does log smooths when it is a log param (like frequency)
2001-09-17 19:14:35 +00:00
Joshua N. Pritikin
59a47966f1 looks like cvs mangled something (?) -- try to repair
Original commit message from CVS:
looks like cvs mangled something (?) -- try to repair
2001-09-17 07:33:04 +00:00
Steve Baker
dc2006465a volume param now uses the direct instead of the callback method to update
Original commit message from CVS:
volume param now uses the direct instead of the callback method to update
2001-09-16 16:54:34 +00:00
Steve Baker
ed02a662ae d'oh
Original commit message from CVS:
d'oh
2001-09-16 16:39:02 +00:00
Steve Baker
5be7eb77cf all info to describe a dparam is now in the GstDParamSpec struct. The resemblance to LADSPA descriptors is intentional
Original commit message from CVS:
all info to describe a dparam is now in the GstDParamSpec struct.  The resemblance to LADSPA descriptors is intentional
2001-09-16 13:00:49 +00:00
Steve Baker
1477b02850 make sure g2g_object_class_find_property returns NULL on error. This fixes LADSPA plugin which is a GoodThing
Original commit message from CVS:
make sure g2g_object_class_find_property returns NULL on error. This fixes LADSPA plugin which is a GoodThing
2001-09-15 14:47:37 +00:00
Erik Walthinsen
557b4281ce Move newbuf creation to the non-copyfunc case, since the copyfunc is now assumed to create the buffer (from a bufferp...
Original commit message from CVS:
Move newbuf creation to the non-copyfunc case, since the copyfunc is now
assumed to create the buffer (from a bufferpool, perhaps).  This solves a
memory leak.
2001-09-15 09:12:39 +00:00
Joshua N. Pritikin
8b29840f55 1. Add more warnings for the gst core only. Various trival fixes to quiet the warnings.
Original commit message from CVS:
1. Add more warnings for the gst core only.  Various trival fixes
to quiet the warnings.

2. Fix GstBufferCopyFunc prototype.

3. Re-apply the reverted type!=0 assertion in gst_elementfactory_new.
2001-09-14 22:16:47 +00:00
Joshua N. Pritikin
4934137e0c comment out unsupressable debugging foo
Original commit message from CVS:
comment out unsupressable debugging foo
2001-09-14 22:13:55 +00:00
Joshua N. Pritikin
6ed590fe49 fix glib2 build
Original commit message from CVS:
fix glib2 build
2001-09-14 21:57:47 +00:00
Joshua N. Pritikin
81cc74c301 doc fix
Original commit message from CVS:
doc fix
2001-09-14 20:02:48 +00:00
Joshua N. Pritikin
75a30f1f61 Nobody checks the return value of gst_pad_connect. This patch renames gst_pad_connect to gst_pad_try_connect and mak...
Original commit message from CVS:
Nobody checks the return value of gst_pad_connect.  This patch
renames gst_pad_connect to gst_pad_try_connect and makes
gst_pad_connect return void.
2001-09-14 19:45:20 +00:00
Steve Baker
7f47be399d generate real timestamps
Original commit message from CVS:
generate real timestamps
2001-09-14 19:18:53 +00:00
Steve Baker
4e4f06b50e add gst_dparam_attach, add a new dparam which smooths linear realtime values to minimise discontinuity artifacts
Original commit message from CVS:
add gst_dparam_attach, add a new dparam which smooths linear realtime values to minimise discontinuity artifacts
2001-09-14 19:17:45 +00:00
Steve Baker
a466301057 use gst_dparam_attach, check for boolean and timestamp before updating
Original commit message from CVS:
use gst_dparam_attach, check for boolean and timestamp before updating
2001-09-14 19:15:32 +00:00
Steve Baker
12ead469ca no reason to lock
Original commit message from CVS:
no reason to lock
2001-09-14 19:11:52 +00:00
Joshua N. Pritikin
6f4cf66e19 be less strict
Original commit message from CVS:
be less strict
2001-09-14 17:32:27 +00:00
Joshua N. Pritikin
ef37a388d0 make gst_thread_change_state more forgiving
Original commit message from CVS:
make gst_thread_change_state more forgiving
2001-09-14 05:02:27 +00:00
Joshua N. Pritikin
ca709618f9 turn assertion into nice error message
Original commit message from CVS:
turn assertion into nice error message
2001-09-14 01:57:09 +00:00
Joshua N. Pritikin
668bbfbe0b fix g_log_domain_gstreamer compile (again)
Original commit message from CVS:
fix g_log_domain_gstreamer compile (again)
2001-09-13 23:49:09 +00:00
Joshua N. Pritikin
02aca4f203 fix compile
Original commit message from CVS:
fix compile
2001-09-13 23:06:47 +00:00
Joshua N. Pritikin
59d6b74a61 1 fix duplicate #define of gst_marshal_VOID__OBJECT_POINTER 2 make g_critical automatically offer to do stack trace
Original commit message from CVS:
1 fix duplicate #define of gst_marshal_VOID__OBJECT_POINTER
2 make g_critical automatically offer to do stack trace
2001-09-13 21:16:25 +00:00
Joshua N. Pritikin
064447edc8 backport wtay's marshal fixes from the EVENT1 branch
Original commit message from CVS:
backport wtay's marshal fixes from the EVENT1 branch
2001-09-13 20:13:51 +00:00
Joshua N. Pritikin
4b88028280 fix memory leaks
Original commit message from CVS:
fix memory leaks
2001-09-13 20:12:17 +00:00
Joshua N. Pritikin
11ff1a3b97 add assertion
Original commit message from CVS:
add assertion
2001-09-13 01:16:45 +00:00
Joshua N. Pritikin
ab5863cba1 1 avoid freeing statically allocated factory->details 2 make assertions more self explanatory
Original commit message from CVS:
1 avoid freeing statically allocated factory->details
2 make assertions more self explanatory
2001-09-13 01:15:25 +00:00
Wim Taymans
d23968983c This should make lots of things work again..
Original commit message from CVS:
This should make lots of things work again..
2001-09-12 22:02:43 +00:00
Steve Baker
4f6ea0a611 added to -launch syntax: if an arg is prefixed with a '@' it will be treated as a dparam. eg sinesrc @volume=1.0 @fr...
Original commit message from CVS:
added to -launch syntax: if an arg is prefixed with a '@' it will be treated as a dparam.  eg sinesrc @volume=1.0 @freq=440.0
2001-09-12 11:28:09 +00:00
Steve Baker
3c51f9cfa7 remove volume and freq args. update to reflect api changes
Original commit message from CVS:
remove volume and freq args. update to reflect api changes
2001-09-12 11:26:31 +00:00
Steve Baker
e4cbf57c8d a bunch of changes including the beginnings of a direct (non-callback) and an array update method
Original commit message from CVS:
a bunch of changes including the beginnings of a direct (non-callback) and an array update method
2001-09-12 11:24:51 +00:00
Steve Baker
205f90dae3 require type in gst_dparam_new, add gst_dparam_set_value_from_string convenience func
Original commit message from CVS:
require type in gst_dparam_new, add gst_dparam_set_value_from_string convenience func
2001-09-12 11:22:43 +00:00
Steve Baker
7cfa1521d9 correct usage of gtk_arg_copy
Original commit message from CVS:
correct usage of gtk_arg_copy
2001-09-12 11:19:57 +00:00
Wim Taymans
8d3ec40f5e Updates to make it compile against gtk1.2 again. mostly marshal stuff.
Original commit message from CVS:
Updates to make it compile against gtk1.2 again. mostly marshal stuff.
2001-09-10 20:11:22 +00:00
Erik Walthinsen
47c7a3c430 fixed a minor annoyance (maybe major flaw) with comments, asm, and escaped newlines
Original commit message from CVS:
fixed a minor annoyance (maybe major flaw) with comments, asm, and escaped newlines
2001-09-10 20:02:12 +00:00
Erik Walthinsen
c6a04366a3 gstinfo.[ch], cothreads.c: added initial support for -finstrument_functions gstbin.c: removed a reference to config.h...
Original commit message from CVS:
gstinfo.[ch], cothreads.c: added initial support for -finstrument_functions
gstbin.c: removed a reference to config.h
gstbuffer.[ch]: added gst_buffer_is_span_fast(), used it in gst_buffer_span
elements/gstfilesrc.c: initial work fleshing out the event handling code

everywhere else: wrapped XML stuff in #ifndef's
2001-09-10 19:46:01 +00:00
Joshua N. Pritikin
8703d88ce7 Sync g_signal_new args with the marshaller (glib2 is very strict).
Original commit message from CVS:
Sync g_signal_new args with the marshaller (glib2 is very strict).
2001-09-10 19:00:42 +00:00
Joshua N. Pritikin
800bf882c3 Change gtk_type_new -> g_object_new.
Original commit message from CVS:
Change gtk_type_new -> g_object_new.
2001-09-10 18:58:27 +00:00
Steve Baker
7dfe156f37 replace GstDparamPoint struct with GValue** (actually that was in the previous commit). Change gst_dparam_new_point t...
Original commit message from CVS:
replace GstDparamPoint struct with GValue** (actually that was in the previous commit). Change gst_dparam_new_point to gst_dparam_new_value_array
2001-09-10 18:51:27 +00:00
Steve Baker
4fefa734d6 s/Dparam/DParam/ <taaz> i'll whine about an irrelevant thing: Dparam vs DParam. though Dparam is more consistantly s...
Original commit message from CVS:
s/Dparam/DParam/ <taaz> i'll whine about an irrelevant thing: Dparam vs DParam.  though Dparam is more consistantly screwed up with everything else ;)
2001-09-10 17:20:45 +00:00
Steve Baker
750e6b8c97 dparams have arrived. see previous mail for an intro
Original commit message from CVS:
dparams have arrived. see previous mail for an intro
2001-09-10 16:28:43 +00:00
Steve Baker
e1798daa79 added GST_CAT_PARAMS
Original commit message from CVS:
added GST_CAT_PARAMS
2001-09-10 16:23:43 +00:00
Steve Baker
967315acac added G_VALUE_HOLDS* macros
Original commit message from CVS:
added G_VALUE_HOLDS* macros
2001-09-08 12:58:53 +00:00
Erik Walthinsen
b1ccfa05fa Added HP-PA for the heck of it. Totally untested, of course.
Original commit message from CVS:
Added HP-PA for the heck of it.  Totally untested, of course.
2001-09-05 21:50:43 +00:00
Erik Walthinsen
1aff968e49 and moved all the architecture- specific code out of the many header files and put them all in gstarch.h.
Original commit message from CVS:
Added MIPS support to cothreads (untested), and moved all the architecture-
specific code out of the many header files and put them all in gstarch.h.
2001-09-05 21:36:24 +00:00
Erik Walthinsen
b368687c6c added docs for _span and _merge, set pool_private to NULL on create
Original commit message from CVS:
added docs for _span and _merge, set pool_private to NULL on create
2001-09-04 04:34:32 +00:00
Andy Wingo
07d52eef34 I think I finally have this configdir thing under control. The defines on the make command lines were not following t...
Original commit message from CVS:
I think I finally have this configdir thing under control. The defines on the
make command lines were not following the GST_CONFIG_DIR variable.
2001-09-02 01:56:20 +00:00
Jamie Gennis
dceac416d5 added G_SQRT2 and other numeric constants to sync gobject2gtk with paranormal
Original commit message from CVS:
added G_SQRT2 and other numeric constants to sync gobject2gtk with paranormal
2001-09-01 14:46:24 +00:00
David I. Lehn
d374b67d19 typo fix
Original commit message from CVS:
typo fix
2001-09-01 01:05:11 +00:00
Andy Wingo
93249e5afc it's now mandatory to set the buffer_copy function. the default implementation sets it to gst_buffer_copy().
Original commit message from CVS:
it's now mandatory to set the buffer_copy function. the default implementation
sets it to gst_buffer_copy().
2001-08-31 16:40:03 +00:00
Bastien Nocera
711d79155d - ta ta ta, install gstevent.h, otherwise it doesn't work quite right, does it ?
Original commit message from CVS:
- ta ta ta, install gstevent.h, otherwise it doesn't work quite right, does it ?
2001-08-29 22:56:12 +00:00
Erik Walthinsen
6eee663d0f oops, another gtkism, changed GtkType to GType for filesrc
Original commit message from CVS:
oops, another gtkism, changed GtkType to GType for filesrc
2001-08-29 00:24:26 +00:00
Steve Baker
362272b7cf added g_value_copy to shim
Original commit message from CVS:
added g_value_copy to shim
2001-08-28 20:18:37 +00:00
Andy Wingo
56803c8716 removed DONTFREE from default bufferpool implementation
Original commit message from CVS:
removed DONTFREE from default bufferpool implementation
2001-08-27 07:29:07 +00:00
Andy Wingo
104844cb86 The bufferpool api has changed. Check gstbufferpool.h to see the updated interface.
Original commit message from CVS:
The bufferpool api has changed. Check gstbufferpool.h to see the updated
interface.

Also, the default bufferpool implementation has been finished somewhat. Take a
look at speed.c to see an example of its use, when I get the plugins committed.
2001-08-27 06:24:49 +00:00
Andy Wingo
b6a69722aa hopefully the last commit on libgst wrt bufferpools
Original commit message from CVS:
hopefully the last commit on libgst wrt bufferpools
2001-08-27 06:01:11 +00:00
Andy Wingo
82a13836c2 more changes...
Original commit message from CVS:
more changes...
2001-08-27 05:08:28 +00:00
Andy Wingo
e69fa6272e finished default bufferpool implementation (setting size/maxsize on buffers)
Original commit message from CVS:
finished default bufferpool implementation (setting size/maxsize on buffers)
2001-08-27 04:40:48 +00:00
Andy Wingo
5a22a8c8e6 bufferpool changes (next commit will update plugins)
Original commit message from CVS:
bufferpool changes (next commit will update plugins)
2001-08-27 04:19:58 +00:00
Erik Walthinsen
75312f3812 Updated the event system to use event,timestamp,data instead of a pointer.
Original commit message from CVS:
Updated the event system to use event,timestamp,data instead of a pointer.
Updated elements to use the event system correctly.
Changed "size" to "filesize" in disksrc.
2001-08-22 21:45:25 +00:00
Erik Walthinsen
c6127f065d added the FUNC accessors and moved _append proto
Original commit message from CVS:
added the FUNC accessors and moved _append proto
2001-08-22 20:52:34 +00:00
Wim Taymans
644ba1d233 Removed a bunch of double #defines
Original commit message from CVS:
Removed a bunch of double #defines
2001-08-22 20:49:47 +00:00
Erik Walthinsen
e0653beb7f added more properties, added a 'touch' feature
Original commit message from CVS:
updated filesrc to gobject (oops), added more properties, added a 'touch' feature
2001-08-22 19:54:08 +00:00
Steve Baker
91357de891 added some shims for GValue get/set (compiles but not tested)
Original commit message from CVS:
added some shims for GValue get/set (compiles but not tested)
2001-08-22 19:40:05 +00:00
Steve Baker
cca2c0174b added #include <string.h>
Original commit message from CVS:
added #include <string.h>
2001-08-22 19:39:02 +00:00
Thomas Vander Stichele
940a17410d added GST_BUFFER_FREE_FUNC since it didn't seem to be in there and building failed
Original commit message from CVS:
added GST_BUFFER_FREE_FUNC since it didn't seem to be in there and
building failed
2001-08-22 13:47:18 +00:00
Erik Walthinsen
8f55a3b61f added new gstfilesrc to replace disksrc eventually
Original commit message from CVS:
added new gstfilesrc to replace disksrc eventually
2001-08-22 04:30:27 +00:00
Wim Taymans
12bbbd5c1e Lots of modifications to the plugin system.
Original commit message from CVS:
Lots of modifications to the plugin system.
- Added a GstPluginfeature object that serves as a base class for all
plugin contents.
- changed the plugin API, everyhting is now added with
gst_plugin_add_feature
- typefactories are named now so that they can be located easily and filled
in at plugin load.
- mime types like "video/raw image/raw" are gone for now.
- lots of plugin updates (style and API changes)
- tested with an without registry.
- updates to various tools.
- added a little testsuite to test/show how you can load plugins (4 modes)

Test this one, Almost everything has changed :-)
2001-08-21 20:16:48 +00:00
Erik Walthinsen
0732e92957 added more INFO lines to elementfactory_make to make debugging missing plugins easier
Original commit message from CVS:
added more INFO lines to elementfactory_make to make debugging missing plugins easier
2001-08-21 19:30:45 +00:00
Jamie Gennis
73db2dd939 sync gobject2gtk with paranormal
Original commit message from CVS:
sync gobject2gtk with paranormal
2001-08-14 04:11:32 +00:00
Erik Walthinsen
de1d561cdb added first pass at the GstTimeCache
Original commit message from CVS:
added first pass at the GstTimeCache
2001-08-13 20:19:34 +00:00
Erik Walthinsen
f47ec2ab8b messy hack to make sure libgst.la builds properly (FIXME!)
Original commit message from CVS:
messy hack to make sure libgst.la builds properly (FIXME!)
2001-08-13 19:03:58 +00:00
Steve Baker
3cda4e2eaa sync with the current CVS glib API
Original commit message from CVS:
sync with the current CVS glib API
2001-08-13 19:00:13 +00:00
Steve Baker
bd887e2e61 doc update
Original commit message from CVS:
doc update
2001-08-12 09:48:41 +00:00
Erik Walthinsen
c7c1192ab3 fixed stupid bug in buffer_span()
Original commit message from CVS:
fixed stupid bug in buffer_span()
2001-08-11 22:04:48 +00:00
Erik Walthinsen
474a80cb8e - changed timestamps to gint64 (*signed* 64-bit)
Original commit message from CVS:
- changed timestamps to gint64 (*signed* 64-bit)
- updated buf->offset handling to deal with the -1 (0xffffffff) case
- added gst_buffer_span() and gst_buffer_merge (see -devel for details)
2001-08-11 08:25:05 +00:00
Wim Taymans
b53802cffe mmap returns MAP_FAILED in case of an error, also do a perror in case of a failure.
Original commit message from CVS:
mmap returns MAP_FAILED in case of an error, also do a perror in case of a
failure.
2001-08-10 21:36:57 +00:00
Wim Taymans
453f2fee05 Removed the old eos and qos functions.
Original commit message from CVS:
Removed the old eos and qos functions.
Removed the functions from the elements.
2001-08-10 17:34:59 +00:00
Erik Walthinsen
a4b8bc9133 added gstevent.h
Original commit message from CVS:
added gstevent.h
2001-08-06 20:40:45 +00:00
Erik Walthinsen
ee9426a1a1 Initial code for the event system.
Original commit message from CVS:
Initial code for the event system.
2001-08-06 20:37:21 +00:00
Wim Taymans
6650712126 Added a missing UNLOCK macro.
Original commit message from CVS:
Added a missing UNLOCK macro.
2001-08-06 19:52:27 +00:00
Erik Walthinsen
f79f04f876 moved the object-model headers back to _HDR where they belong
Original commit message from CVS:
moved the object-model headers back to _HDR where they belong
2001-08-03 00:08:12 +00:00
Wim Taymans
3526156fe7 Added a missing state change switch.
Original commit message from CVS:
Added a missing state change switch.
Uncommented a big FIXME that was needed after all.
Stop now works.
2001-07-31 20:57:58 +00:00
Steve Baker
2a4b6618a7 compile fix when atomic refcounting is not available
Original commit message from CVS:
compile fix when atomic refcounting is not available
2001-07-27 13:12:13 +00:00
Wim Taymans
4456b616ae Added shims for signal introspections and g_type_parent
Original commit message from CVS:
Added shims for signal introspections and g_type_parent
2001-07-25 21:40:03 +00:00
Wim Taymans
a7e160f409 Make sure the autoplugger doesn't try to connect elements with request pads for now.
Original commit message from CVS:
Make sure the autoplugger doesn't try to connect elements with request pads
for now.
2001-07-18 19:04:29 +00:00
Wim Taymans
d1b4ff4eed Added missing pad_select prototypes/defs.
Original commit message from CVS:
Added missing pad_select prototypes/defs.
2001-07-16 20:18:17 +00:00
Wim Taymans
4fde5f8410 Properly set the eos flag when no elements can be scheduled.
Original commit message from CVS:
Properly set the eos flag when no elements can be scheduled.
2001-07-15 13:04:38 +00:00
Wim Taymans
2ef964f77b Added prototypes for gst_pad_peek, gst_pad_select and gst_pad_selectv.
Original commit message from CVS:
Added prototypes for gst_pad_peek, gst_pad_select and gst_pad_selectv.
Added different scheduling methods in aggregator.
Fixed a bug in fakesrc when setting up the scheduling functions.
2001-07-11 22:52:48 +00:00
Wim Taymans
dd666aaeff Added a g_assert when a filled bufpen is overwritten.
Original commit message from CVS:
Added a g_assert when a filled bufpen is overwritten.
2001-07-11 19:23:57 +00:00
Wim Taymans
abf2bfc273 Some cleanups in output of various test plugins.
Original commit message from CVS:
Some cleanups in output of various test plugins.
Added debug output to tee.
Added buffer duplication to identity.
2001-07-11 19:22:20 +00:00
Wim Taymans
bb1cb28921 Added request pads to fakesink.
Original commit message from CVS:
Added request pads to fakesink.
2001-07-11 16:45:43 +00:00
Wim Taymans
1b50ccc246 Added DEBUG_FUNCPTR to most plugins.
Original commit message from CVS:
Added DEBUG_FUNCPTR to most plugins.
Added request pads to fakesrc and aggregator.
2001-07-11 15:51:40 +00:00
Wim Taymans
93c163032d Some code cleanups.
Original commit message from CVS:
Some code cleanups.
Added printouts of the buffer timestamps in identity, fakesrc, fakesink.
Added an aggregator test element.
2001-07-11 14:56:16 +00:00
Andy Wingo
eaaaabf3aa to element classes without using an elementfactory.
Original commit message from CVS:
Aplied the patch from Andy Wingo <apwingo@eos.ncsu.edu> add padtemplates
to element classes without using an elementfactory.
The gst_element_add_padtemplate_to_class method was renamed to
gst_element_class_add_padtemplate to better match glib/gtk conventions.
2001-07-11 12:33:17 +00:00
Trivial commit, anonymous here
4594d70939 Added arg setting for UINT types.
Original commit message from CVS:
Added arg setting for UINT types.
2001-07-04 20:49:06 +00:00
Steve Baker
4837519148 return NULL from g2g_object_class_find_property if gtk_object_arg_get_info returns an error
Original commit message from CVS:
return NULL from g2g_object_class_find_property if gtk_object_arg_get_info returns an error
2001-07-01 16:01:24 +00:00
Wim Taymans
13e5c7ba91 Fix an endless loop at EOS.. this is a hack...
Original commit message from CVS:
Fix an endless loop at EOS.. this is a hack...
2001-06-30 00:35:55 +00:00
Richard Boulton
1c3b5dc57b Allow elements to be given custom names with [] syntax. ie, gstreamer-launch disksrc[mysrc] ! ...
Original commit message from CVS:
Allow elements to be given custom names with [] syntax.

ie, gstreamer-launch disksrc[mysrc] ! ...
makes a disksrc element named mysrc, rather than disksrc0

Suggestion: don't name things with names with numbers at the end, or they
may conflict with names allocated automatically.
2001-06-29 17:53:02 +00:00
Richard Boulton
22162769b8 Prefix for marshallers should be gst_marshal, rather than gst.
Original commit message from CVS:
Prefix for marshallers should be gst_marshal, rather than gst.
This now actually compiles for me.
2001-06-29 10:26:13 +00:00
Richard Boulton
b3e700e0f8 Ensure that the marshaller code #includes glib-object.h, and hence the neccessary definitions to enable it to compile.
Original commit message from CVS:
Ensure that the marshaller code #includes glib-object.h, and hence the
neccessary definitions to enable it to compile.

I don't pretend to understand how the marshalling stuff works - I just
know that it clearly needs this #include, or something similar.  If there's
a more correct fix, someone else can do it.  Possibly this is a
glib-genmarshal bug, but I've not got the time to go into that.
2001-06-29 09:39:58 +00:00
Richard Boulton
5ffe5a0901 Ensure that the gstmarshal.[ch] files are generated in time by generating both files in the same rule: previously, on...
Original commit message from CVS:
Ensure that the gstmarshal.[ch] files are generated in time by generating
both files in the same rule: previously, only the .c would be generated in
time.  Don't put the files in dists (add a dist-hook to take them out),
and clean the files when running distclean.
2001-06-28 23:58:54 +00:00
Richard Boulton
835d9ee594 Make sure conditionally compiled files are added to the dist.
Original commit message from CVS:
Make sure conditionally compiled files are added to the dist.
2001-06-28 21:44:33 +00:00
Wim Taymans
4498dccbec Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it instead so that we can do full expansion on the s...
Original commit message from CVS:
Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it
instead so that we can do full expansion on the sysconfdir.
2001-06-26 22:15:20 +00:00
Richard Boulton
37c010c00d Convert XMMS and LIBGHTTP checks to use GST_CHECK_FEATURE()
Original commit message from CVS:
Convert XMMS and LIBGHTTP checks to use GST_CHECK_FEATURE()
XMMS check is turned off by default (though not in a very neat way)
2001-06-26 21:44:45 +00:00
Richard Boulton
6d077dbe3d Fix g2g_object_class_list_properties() so that num_properties gets set.
Original commit message from CVS:
Fix g2g_object_class_list_properties() so that num_properties gets set.
2001-06-26 19:06:37 +00:00
Wim Taymans
6f0bce54fa Removed the final bits of GstMeta.
Original commit message from CVS:
Removed the final bits of GstMeta.
Added conditional compilation of various subsystems.
2001-06-25 20:36:02 +00:00
Richard Boulton
71beaf9179 Add consts to appropriate parameters in debug and info handlers.
Original commit message from CVS:
Add consts to appropriate parameters in debug and info handlers.
Add appropriate types for some of the memebers of the GTypeInfo struct.
2001-06-25 20:09:10 +00:00
Erik Walthinsen
75d3b2f90b added gstmarshal.[ch] to .cvsignore, added gstmarshal.list to EXTRA_DIST
Original commit message from CVS:
added gstmarshal.[ch] to .cvsignore, added gstmarshal.list to EXTRA_DIST
2001-06-25 20:01:42 +00:00
Erik Walthinsen
86b0fc6cf3 added some dirs to DIST_SUBDIRS, added a comment to gstobject.h
Original commit message from CVS:
added some dirs to DIST_SUBDIRS, added a comment to gstobject.h
2001-06-25 20:00:45 +00:00
Erik Walthinsen
e75f6da2f9 removed gstmarshal.[ch], added gstmarshal.list, and a first pass at generation rules
Original commit message from CVS:
removed gstmarshal.[ch], added gstmarshal.list, and a first pass at generation rules
2001-06-25 19:59:33 +00:00
Wim Taymans
d89a407f2f Added configure checks to disable various major subsystems.
Original commit message from CVS:
Added configure checks to disable various major subsystems.
2001-06-25 19:19:17 +00:00
Erik Walthinsen
18c6ade4d8 gobject2gtk.h: added g2g_object_get_type() prototype gst.c: fixed gst_add_paths_func() prototype gstelement.c: change...
Original commit message from CVS:
gobject2gtk.h: added g2g_object_get_type() prototype
gst.c: fixed gst_add_paths_func() prototype
gstelement.c: changed some prototypes, added a cast
2001-06-25 17:22:58 +00:00
Wim Taymans
4cb6d1ad0f Added a missing #else
Original commit message from CVS:
Added a missing #else
2001-06-25 17:17:30 +00:00
Richard Boulton
fff0c87af8 Fix a warning; stuff following an #endif
Original commit message from CVS:
Fix a warning; stuff following an #endif
2001-06-25 12:28:38 +00:00
Erik Walthinsen
91d7e800d5 Reworked the arguments for DEBUG and INFO. Removed -debug-verbose.
Original commit message from CVS:
Reworked the arguments for DEBUG and INFO.  Removed -debug-verbose.
Renamed GST_DISABLE_XML to GST_DISABLE_LOADSAVE and added --disable flag.
2001-06-25 06:45:56 +00:00
Erik Walthinsen
43ee8c6b88 Changed all globally defined stub functions to use the g2g_ prefix instead of g_, to avoid *any* potential namespace ...
Original commit message from CVS:
Changed all globally defined stub functions to use the g2g_ prefix instead
of g_, to avoid *any* potential namespace conflicts.
2001-06-25 03:37:52 +00:00
Erik Walthinsen
7f8d8fe8d5 Merged from GOBJECT1 to HEAD at 200106241
Original commit message from CVS:
Merged from GOBJECT1 to HEAD at 200106241
2001-06-25 01:20:11 +00:00
Erik Walthinsen
2703619624 initial pass at #ifdef'ing xml load/save
Original commit message from CVS:
initial pass at #ifdef'ing xml load/save
2001-06-24 21:18:28 +00:00
Steve Baker
2745b823ab added ref counting to the buffer pool. also _destroy will clean up the buffer pool mem_chunk if it is the default imp...
Original commit message from CVS:
added ref counting to the buffer pool. also _destroy will clean up the buffer pool mem_chunk if it is the default implementation
2001-06-21 11:19:08 +00:00
Steve Baker
5c5b2dd244 fixed operator precedence bug which caused 32 times too much memory to be allocated for each GstBuffer struct
Original commit message from CVS:
fixed operator precedence bug which caused 32 times too much memory to be allocated for each GstBuffer struct
2001-06-20 14:53:14 +00:00
Wim Taymans
41381041f7 Changed the bytes_written to a gint to avoid overflow...
Original commit message from CVS:
Changed the bytes_written to a gint to avoid overflow...
2001-06-19 18:32:27 +00:00
Erik Walthinsen
5b830ed6ad changed plugin-srcdir to plugin-builddir, which is what it should be
Original commit message from CVS:
changed plugin-srcdir to plugin-builddir, which is what it should be
2001-06-19 07:57:06 +00:00
Richard Boulton
5bac75942d Simplify properties which contain lists of integer and integer range entries to minimal combination of ints and range...
Original commit message from CVS:
Simplify properties which contain lists of integer and integer range
entries to minimal combination of ints and ranges that is equivalent.
eg, (1,2,3,7-12,13) becomes (1-3,7-13)

Don't bother with floats for the moment, though it would be easy to add
an equivalent, which would simplify overlapping ranges.
2001-06-18 22:33:35 +00:00
Steve Baker
5023598cb3 added _gst_buffer_pool_initialize
Original commit message from CVS:
added _gst_buffer_pool_initialize
2001-06-17 14:35:09 +00:00
Steve Baker
921392eee7 added a default bufferpool factory function. it reuses existing instances of bufferpool if requests are made for exis...
Original commit message from CVS:
added a default bufferpool factory function. it reuses existing instances of bufferpool if requests are made for existing buffer sizes
2001-06-17 13:55:55 +00:00
Wim Taymans
5c73a7824c Changed a stupid assert in request_pad.
Original commit message from CVS:
Changed a stupid assert in request_pad.
Some fixes for pullregion and EOS conditions.
Remove an unneeded check in the scheduler (check for NULL buffer)
some EOS fixes for pullregion in disksrc.
Removed the macro in the gstparse.h header 'cause it's internal to gstparse.c
Added a check in gstparse for NULL element.
2001-06-15 19:13:45 +00:00
Steve Baker
933a7aeff4 should restore dynamic connection of pads (couldn't really test it though)
Original commit message from CVS:
should restore dynamic connection of pads (couldn't really test it though)
2001-06-15 06:33:29 +00:00
Wim Taymans
8eaa39e111 Loop in pullregion until the desired buffer has been pulled.
Original commit message from CVS:
Loop in pullregion until the desired buffer has been pulled.
2001-06-13 21:33:31 +00:00
Steve Baker
c1c2236210 can now take comma delimited list of pads. eg gstreamer-launch disksrc location=~/mp3/gnome.mp3 ! mad ! int2float src...
Original commit message from CVS:
can now take comma delimited list of pads. eg gstreamer-launch disksrc location=~/mp3/gnome.mp3 ! mad ! int2float src%d,src%d\!sink%d,sink%d float2int ! osssink
2001-06-10 11:57:39 +00:00
Steve Baker
76544d6da3 store src and sink pads in slists to get ready for the src1,src2\!sink1,sink2 syntax
Original commit message from CVS:
store src and sink pads in slists to get ready for the src1,src2\!sink1,sink2 syntax
2001-06-09 11:43:58 +00:00
Steve Baker
42d724726c if a named pad doesn't exist, try creating a new pad using the padtemplate name. eg int2float src%d!sink%d float2int
Original commit message from CVS:
if a named pad doesn't exist, try creating a new pad using the padtemplate name. eg int2float src%d!sink%d float2int
2001-06-09 10:16:12 +00:00
David I. Lehn
cd3595577b Added manpage
Original commit message from CVS:
Added manpage
Ignore built autoplugtest binary
Bump debian version to 0.2.0
2001-06-07 16:56:27 +00:00
Wim Taymans
bc9cbb1643 Removed a warning.
Original commit message from CVS:
Removed a warning.
2001-06-06 19:15:10 +00:00
Wim Taymans
c416297af4 Changed the maxcothreads to 16. connect to the new_ghost_pad signal in parse.
Original commit message from CVS:
Changed the maxcothreads to 16.
connect to the new_ghost_pad signal in parse.
2001-06-06 18:29:57 +00:00
Richard Boulton
083d01c3d9 Revert accidentally applied changes.
Original commit message from CVS:
Revert accidentally applied changes.
Time for bed.
2001-06-05 01:27:53 +00:00
Richard Boulton
b971f48169 FIx memleak in save-thyself introduced by changing plugin_get_list to copy.
Original commit message from CVS:
FIx memleak in save-thyself introduced by changing plugin_get_list to
copy.
2001-06-05 01:26:01 +00:00
Richard Boulton
3eaff63dcf Simple fix to stop gstreamer-compprep crashing when the registry is in use.
Original commit message from CVS:
Simple fix to stop gstreamer-compprep crashing when the registry is in
use.
2001-06-05 01:15:29 +00:00
Wim Taymans
db0325ee37 Use the STACKSIZE and number of cothreads to calculate the cothread stack space (easier to change the number of cothr...
Original commit message from CVS:
Use the STACKSIZE and number of cothreads to calculate the cothread stack
space (easier to change the number of cothreads).
2001-06-04 16:02:48 +00:00
Thomas Vander Stichele
7f41ebff13 added an eos handler so that gstreamer-launch quits when the first element fires it
Original commit message from CVS:
added an eos handler so that gstreamer-launch quits when the first element
fires it
2001-06-04 15:38:44 +00:00
Richard Boulton
785d258c33 Replace NO_X conditional compilation with testing whether DISPLAY env variable is set, and doing gtk_type_init() inst...
Original commit message from CVS:
Replace NO_X conditional compilation with testing whether DISPLAY env
variable is set, and doing gtk_type_init() instead of gtk_init() if not.
2001-06-04 00:51:35 +00:00
Wim Taymans
dd067c0000 optionally call gtk_type_init() instead of gtk_init() if NO_X is defined. This avoids the X dependency of GStreamer.
Original commit message from CVS:
optionally call gtk_type_init() instead of gtk_init() if NO_X is defined. This
avoids the X dependency of GStreamer.
2001-06-03 19:19:45 +00:00
Wim Taymans
fe9384f440 Set the caps on a proxied pad when the pad is not connected.
Original commit message from CVS:
Set the caps on a proxied pad when the pad is not connected.
2001-06-03 11:28:09 +00:00
Wim Taymans
9d9951d31b Copy the padtemplate to the ghostpad.
Original commit message from CVS:
Copy the padtemplate to the ghostpad.
2001-06-02 12:45:02 +00:00
Wim Taymans
3c18e42b39 Fixed some warnings.
Original commit message from CVS:
Fixed some warnings.
2001-06-01 18:30:40 +00:00