Commit graph

789 commits

Author SHA1 Message Date
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