platform/upstream/gstreamer.git
20 years agodocs/random/ds/0.9-suggested-changes: more comments
David Schleef [Thu, 22 Jul 2004 23:29:30 +0000 (23:29 +0000)]
docs/random/ds/0.9-suggested-changes: more comments

Original commit message from CVS:
* docs/random/ds/0.9-suggested-changes: more comments
* tools/gst-launch.c: (idle_func): Fix hard-to-translate string.

20 years agogst/gstelementfactory.c: set the factory in the class struct, so gst_element_get_fact...
Benjamin Otte [Thu, 22 Jul 2004 16:14:56 +0000 (16:14 +0000)]
gst/gstelementfactory.c: set the factory in the class struct, so gst_element_get_factory actually works

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_register):
set the factory in the class struct, so gst_element_get_factory
actually works
* gst/parse/grammar.y:
set element to playing when it gets unlocked as we can't rely on the
bin state - all elements in the bin state might still be locked in
NULL)

20 years agogst/gstelement.c: make this a static function
Benjamin Otte [Thu, 22 Jul 2004 11:21:54 +0000 (11:21 +0000)]
gst/gstelement.c: make this a static function

Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_state_func):
make this a static function

20 years agogroup_link works now
Wim Taymans [Thu, 22 Jul 2004 09:44:50 +0000 (09:44 +0000)]
group_link works now

Original commit message from CVS:
group_link works now

20 years agogst/schedulers/gstoptimalscheduler.c: fix 147894-2 and the group_link problem.
Wim Taymans [Thu, 22 Jul 2004 09:43:40 +0000 (09:43 +0000)]
gst/schedulers/gstoptimalscheduler.c: fix 147894-2 and the group_link problem.

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
(gst_opt_scheduler_pad_link):
fix 147894-2 and the group_link problem.

20 years agotestsuite/schedulers/: Show bug in scheduler when linking chain and loop based elemen...
Wim Taymans [Thu, 22 Jul 2004 09:39:28 +0000 (09:39 +0000)]
testsuite/schedulers/: Show bug in scheduler when linking chain and loop based element where the chain based element ...

Original commit message from CVS:
* testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
(handoff_identity), (main):
* testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
(handoff_identity), (main):
* testsuite/schedulers/Makefile.am:
* testsuite/schedulers/group_link.c: (main):
Show bug in scheduler when linking chain and loop based element
where the chain based element was not yet in a group.

20 years agokeep this up to date, since I seem to be the only one who cares about not missing...
Benjamin Otte [Wed, 21 Jul 2004 21:37:31 +0000 (21:37 +0000)]
keep this up to date, since I seem to be the only one who cares about not missing files on commits

Original commit message from CVS:
* gst/.cvsignore:
* gst/autoplug/.cvsignore:
* gst/elements/.cvsignore:
* gst/indexers/.cvsignore:
* libs/gst/bytestream/.cvsignore:
* libs/gst/control/.cvsignore:
* libs/gst/getbits/.cvsignore:
* testsuite/states/.cvsignore:
* testsuite/threads/.cvsignore:
keep this up to date, since I seem to be the only one who cares
about not missing files on commits

20 years agogst/gstbin.c: make state changes work correctly and reentrant (so removing elements...
Benjamin Otte [Wed, 21 Jul 2004 21:28:58 +0000 (21:28 +0000)]
gst/gstbin.c: make state changes work correctly and reentrant (so removing elements from bins during state changes of...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
(gst_bin_fix_state), (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_child_state_change_func), (set_kid_state_func),
(gst_bin_set_state), (gst_bin_change_state_norecurse):
make state changes work correctly and reentrant (so removing
elements from bins during state changes of bins doesn't cause
segfaults or even wrong states)
add debugging category and debugging output to print children states
* gst/gstbin.c: (gst_bin_dispose):
add some assertion checks
* gst/gstbin.h:
* gst/gstbin.c: (gst_bin_sync_children_state):
deprecate this function - it just does gst_bin_set_state (bin,
GST_STATE (bin))
* testsuite/threads/queue.c: (main):
don't use gst_bin_sync_children_state anymore
* testsuite/states/Makefile.am:
* testsuite/states/bin.c:
test that the state changes of bins work as expected
* gst/gstthread.c: (gst_thread_class_init), (gst_thread_set_state):
some adjustments to change states correctly, too
* gst/gstthread.c: (gst_thread_change_state):
don't enable/disable "threadsafe" properties, they're unused and
cause random segfaults
* testsuite/threads/Makefile.am:
the queue check randomly passes now, ignore it

20 years agogst/gstpad.c: check if data is NULL before outputting debug info. (fixes #145100)
Benjamin Otte [Wed, 21 Jul 2004 21:20:10 +0000 (21:20 +0000)]
gst/gstpad.c: check if data is NULL before outputting debug info. (fixes #145100)

Original commit message from CVS:
* gst/gstpad.c:
check if data is NULL before outputting debug info. (fixes #145100)

20 years agogst/schedulers/entryscheduler.c: reset the state when the cothread starts, so we...
Benjamin Otte [Wed, 21 Jul 2004 19:41:52 +0000 (19:41 +0000)]
gst/schedulers/entryscheduler.c: reset the state when the cothread starts, so we don't get assertion failures on rest...

Original commit message from CVS:
* gst/schedulers/entryscheduler.c:
(gst_entry_scheduler_loop_wrapper),
(gst_entry_scheduler_chain_wrapper),
(gst_entry_scheduler_get_wrapper):
reset the state when the cothread starts, so we don't get assertion
failures on restarting of cothreads

20 years agoquick followup thought
Stefan Kost [Wed, 21 Jul 2004 15:48:05 +0000 (15:48 +0000)]
quick followup thought

Original commit message from CVS:
quick followup thought

20 years agomore thoughts about interfaces for instruments
Stefan Kost [Wed, 21 Jul 2004 15:38:55 +0000 (15:38 +0000)]
more thoughts about interfaces for instruments

Original commit message from CVS:
more thoughts about interfaces for instruments

20 years agoput xmlNodePtr macro into the right section
Stefan Kost [Wed, 21 Jul 2004 12:48:45 +0000 (12:48 +0000)]
put xmlNodePtr macro into the right section

Original commit message from CVS:
put xmlNodePtr macro into the right section

20 years agoput symbols in the sections.txt into the right sections (so that we dont get wrong...
Stefan Kost [Wed, 21 Jul 2004 11:32:09 +0000 (11:32 +0000)]
put symbols in the sections.txt into the right sections (so that we dont get wrong undocumented symbols) added TITLE ...

Original commit message from CVS:
put symbols in the sections.txt into the right sections (so that we dont get wrong undocumented symbols)
added TITLE tags where they were missing
fixed section names so that gtk-doc introspection works
fixed typos in api docs and docbook docs
added some thoughts about new interfaces (to personal notes)

20 years agogst/gstelement.c: use correct sinkpad, if only sinkpad is specified, but not srcpad...
Benjamin Otte [Tue, 20 Jul 2004 19:54:20 +0000 (19:54 +0000)]
gst/gstelement.c: use correct sinkpad, if only sinkpad is specified, but not srcpad (fixes #147889)

Original commit message from CVS:
* gst/gstelement.c: (gst_element_link_pads_filtered):
use correct sinkpad, if only sinkpad is specified, but not srcpad
(fixes #147889)
* gst/gstelement.c: (gst_element_set_state_func),
(gst_element_change_state): ref/unref the element, signal handlers
could get rid of the element otherwise

20 years agodocs/random/ds/0.9-suggested-changes: Make note about renaming fixed-list to array.
Ronald S. Bultje [Tue, 20 Jul 2004 19:35:15 +0000 (19:35 +0000)]
docs/random/ds/0.9-suggested-changes: Make note about renaming fixed-list to array.

Original commit message from CVS:
* docs/random/ds/0.9-suggested-changes:
Make note about renaming fixed-list to array.
* gst/gstvalue.c: (gst_value_intersect_fixed_list),
(_gst_value_initialize):
Add array intersections.
* testsuite/caps/intersect2.c: (main):
Add test for array intersections.

20 years agoback to cvs
Thomas Vander Stichele [Tue, 20 Jul 2004 19:21:57 +0000 (19:21 +0000)]
back to cvs

Original commit message from CVS:
back to cvs

20 years agogo for it RELEASE-0_8_4
Thomas Vander Stichele [Tue, 20 Jul 2004 17:23:03 +0000 (17:23 +0000)]
go for it

Original commit message from CVS:
go for it

20 years agoadding catalan translation
Thomas Vander Stichele [Tue, 20 Jul 2004 16:38:41 +0000 (16:38 +0000)]
adding catalan translation

Original commit message from CVS:
adding catalan translation

20 years agotestsuite/schedulers/: Added failing testcase for variant of #147894
Wim Taymans [Tue, 20 Jul 2004 11:21:03 +0000 (11:21 +0000)]
testsuite/schedulers/: Added failing testcase for variant of #147894

Original commit message from CVS:
* testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
(handoff_identity), (main):
* testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
(handoff_identity), (main):
* testsuite/schedulers/Makefile.am:
Added failing testcase for variant of #147894

20 years agofix for #142813 - deadlock in opt
Thomas Vander Stichele [Tue, 20 Jul 2004 10:57:38 +0000 (10:57 +0000)]
fix for #142813 - deadlock in opt

Original commit message from CVS:
fix for #142813 - deadlock in opt

20 years agofix for #147819 (Add some checks in the opt scheduler)
Thomas Vander Stichele [Tue, 20 Jul 2004 10:40:09 +0000 (10:40 +0000)]
fix for #147819 (Add some checks in the opt scheduler)

Original commit message from CVS:
fix for #147819 (Add some checks in the opt scheduler)

20 years agofix for 147929: [PATCH] running gst-register in non-utf8 locale can cause invalid...
Thomas Vander Stichele [Tue, 20 Jul 2004 10:18:48 +0000 (10:18 +0000)]
fix for 147929: [PATCH] running gst-register in non-utf8 locale can cause invalid registry

Original commit message from CVS:
fix for 147929: [PATCH] running gst-register in non-utf8 locale can cause invalid registry

20 years agofix for #147894 (opt scheduler decoupled elements mismanagement)
Thomas Vander Stichele [Tue, 20 Jul 2004 09:55:13 +0000 (09:55 +0000)]
fix for #147894 (opt scheduler decoupled elements mismanagement)

Original commit message from CVS:
fix for #147894 (opt scheduler decoupled elements mismanagement)

20 years agoworking on new prerelease
Thomas Vander Stichele [Tue, 20 Jul 2004 09:03:25 +0000 (09:03 +0000)]
working on new prerelease

Original commit message from CVS:
working on new prerelease

20 years agoAdded testcase for 147819
Wim Taymans [Mon, 19 Jul 2004 15:48:14 +0000 (15:48 +0000)]
Added testcase for 147819

Original commit message from CVS:
Added testcase for 147819

20 years agotestsuite/schedulers/: Added testcase for bug 147894
Wim Taymans [Mon, 19 Jul 2004 14:53:13 +0000 (14:53 +0000)]
testsuite/schedulers/: Added testcase for bug 147894

Original commit message from CVS:
* testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
(handoff_identity), (main):
* testsuite/schedulers/Makefile.am:
Added testcase for bug 147894

20 years agotestsuite/schedulers/: Added testsuite for bug 142183 in its two incarnations. Refcou...
Wim Taymans [Fri, 16 Jul 2004 17:19:54 +0000 (17:19 +0000)]
testsuite/schedulers/: Added testsuite for bug 142183 in its two incarnations. Refcount is not increased for schedule...

Original commit message from CVS:
* testsuite/schedulers/142183-2.c: (handoff_identity), (main):
* testsuite/schedulers/142183.c: (handoff_identity), (main):
* testsuite/schedulers/Makefile.am:
Added testsuite for bug 142183 in its two incarnations. Refcount
is not increased for scheduled elements and threadsafe properties
mutexes are not properly unlocked.

20 years agogst/schedulers/gstoptimalscheduler.c: Call group_inc_link with the proper src->sink...
Wim Taymans [Fri, 16 Jul 2004 16:02:12 +0000 (16:02 +0000)]
gst/schedulers/gstoptimalscheduler.c: Call group_inc_link with the proper src->sink ordering -- break this, and we br...

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (gst_opt_scheduler_init),
(create_chain), (destroy_chain), (create_group), (destroy_group),
(add_to_group), (merge_groups), (group_elements), (group_inc_link),
(group_dec_link), (gst_opt_scheduler_pad_link),
(group_inc_links_for_element), (group_migrate_connected):
Call group_inc_link with the proper src->sink ordering --
break this, and we break sort_chain. patch from wingo for bug
147713.
Partially revert patch 1.89. When adding a loop based element to
the scheduler, the links to other groups are automatically followed
and incremented. This should not happen because the bin will call
pad_link explicitly for those connection, resulting in them counted
twice. Results in assertion failure on pipeline cleanup.

20 years agotestsuite/schedulers/: Added cleanup code to testcase 143777-2.
Wim Taymans [Fri, 16 Jul 2004 15:45:29 +0000 (15:45 +0000)]
testsuite/schedulers/: Added cleanup code to testcase 143777-2.

Original commit message from CVS:
* testsuite/schedulers/143777-2.c: (main):
* testsuite/schedulers/147713.c: (handoff_src), (handoff_sink),
(main):
* testsuite/schedulers/Makefile.am:
Added cleanup code to testcase 143777-2.
Added testcase to show bug 147713, does not really show the
deadlock as I can't figure out how to trigger it, but it does
demonstrate bad ordering in the scheduler.

20 years agofix #147707 blocker
Thomas Vander Stichele [Fri, 16 Jul 2004 13:31:28 +0000 (13:31 +0000)]
fix #147707 blocker

Original commit message from CVS:
fix #147707 blocker

20 years agoprerel
Thomas Vander Stichele [Fri, 16 Jul 2004 09:48:40 +0000 (09:48 +0000)]
prerel

Original commit message from CVS:
prerel

20 years agoupdated translations
Thomas Vander Stichele [Fri, 16 Jul 2004 07:24:32 +0000 (07:24 +0000)]
updated translations

Original commit message from CVS:
updated translations

20 years agogst/gstvalue.c: use ints and return ints, fractions only use ints, too, so this avoid...
Benjamin Otte [Fri, 16 Jul 2004 01:16:53 +0000 (01:16 +0000)]
gst/gstvalue.c: use ints and return ints, fractions only use ints, too, so this avoids accidently casting multiplicat...

Original commit message from CVS:
* gst/gstvalue.c: (gst_greatest_common_divisor):
use ints and return ints, fractions only use ints, too, so this
avoids accidently casting multiplications to unsigned
(gst_value_lcopy_fraction): it's ints, not uint32
(gst_value_set_fraction): disallow minint, multiplying and negation
are broken with it
(gst_value_fraction_multiply): fix to make large numbers work and get
rid of the assumption that the multiplication of two ints fits an
int64 - dunno if that's true for all systems
* testsuite/caps/Makefile.am:
* testsuite/caps/fraction-multiply-and-zero.c:
(check_multiplication), (check_equal), (zero_test), (main):
add tests for all the stuff above
* testsuite/caps/value_compare.c: (test1):
fix comment
* tests/.cvsignore:
* testsuite/caps/.cvsignore:
* testsuite/debug/.cvsignore:
* testsuite/dlopen/.cvsignore:
* testsuite/states/.cvsignore:
get up to date

20 years agodocs/manual/: fixes for out of date info, incorrect info and grammar
Zaheer Abbas Merali [Fri, 16 Jul 2004 00:43:57 +0000 (00:43 +0000)]
docs/manual/: fixes for out of date info, incorrect info and grammar

Original commit message from CVS:
2004-07-16  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/bins-api.xml:
* docs/manual/factories.xml:
* docs/manual/helloworld.xml:
* docs/manual/links-api.xml:
fixes for out of date info, incorrect info and grammar

20 years agoremove this for later gvalue testsuite dir
Thomas Vander Stichele [Thu, 15 Jul 2004 23:25:11 +0000 (23:25 +0000)]
remove this for later gvalue testsuite dir

Original commit message from CVS:
remove this for later gvalue testsuite dir

20 years agodocs/manual/: grammar fix
Zaheer Abbas Merali [Thu, 15 Jul 2004 22:47:48 +0000 (22:47 +0000)]
docs/manual/: grammar fix

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot>

* docs/manual/pads.xml:
* docs/manual/pads-api.xml: grammar fix

20 years agodocs/manual/pads-api.xml: typo + grammar fix
Zaheer Abbas Merali [Thu, 15 Jul 2004 22:39:45 +0000 (22:39 +0000)]
docs/manual/pads-api.xml: typo + grammar fix

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/pads-api.xml: typo + grammar fix

20 years agoadding GstFraction GValue type
Thomas Vander Stichele [Thu, 15 Jul 2004 20:27:20 +0000 (20:27 +0000)]
adding GstFraction GValue type

Original commit message from CVS:
adding GstFraction GValue type

20 years agodocs/manual/init-api.xml: Grammar fix
Zaheer Abbas Merali [Thu, 15 Jul 2004 17:04:23 +0000 (17:04 +0000)]
docs/manual/init-api.xml: Grammar fix

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/init-api.xml: Grammar fix

20 years agodocs/manual/states.xml: Fix inconsistent information
Zaheer Abbas Merali [Thu, 15 Jul 2004 16:26:23 +0000 (16:26 +0000)]
docs/manual/states.xml: Fix inconsistent information

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/states.xml: Fix inconsistent information

20 years agodebugging additions and style cleanups
Thomas Vander Stichele [Thu, 15 Jul 2004 16:20:50 +0000 (16:20 +0000)]
debugging additions and style cleanups

Original commit message from CVS:
debugging additions and style cleanups

20 years agodocs/manual/states.xml: Grammar fix
Zaheer Abbas Merali [Thu, 15 Jul 2004 16:08:48 +0000 (16:08 +0000)]
docs/manual/states.xml: Grammar fix

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/states.xml: Grammar fix

20 years agodocs/manual/pads.xml: Grammar fix
Zaheer Abbas Merali [Thu, 15 Jul 2004 15:44:00 +0000 (15:44 +0000)]
docs/manual/pads.xml: Grammar fix

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/pads.xml: Grammar fix

20 years agodocs/manual/elements.xml: Fixed image reference
Zaheer Abbas Merali [Thu, 15 Jul 2004 15:05:34 +0000 (15:05 +0000)]
docs/manual/elements.xml: Fixed image reference

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/elements.xml: Fixed image reference

20 years agodocs/manual/goals.xml: Grammar fix
Zaheer Abbas Merali [Thu, 15 Jul 2004 14:09:08 +0000 (14:09 +0000)]
docs/manual/goals.xml: Grammar fix

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/goals.xml: Grammar fix

20 years agodocs/manual/motivation.xml: Bonobo is no longer "emerging" and added sentence regardi...
Zaheer Abbas Merali [Thu, 15 Jul 2004 13:36:26 +0000 (13:36 +0000)]
docs/manual/motivation.xml: Bonobo is no longer "emerging" and added sentence regarding tcp plugins

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* docs/manual/motivation.xml:
Bonobo is no longer "emerging" and added sentence regarding tcp plugins

20 years agodocs/manual/motivation.xml: Fix spelling
Zaheer Abbas Merali [Thu, 15 Jul 2004 13:21:42 +0000 (13:21 +0000)]
docs/manual/motivation.xml: Fix spelling

Original commit message from CVS:
2004-07-15  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* docs/manual/motivation.xml: Fix spelling

20 years agonow the api-index has a title in devhelp added more docs for the control-library...
Stefan Kost [Thu, 15 Jul 2004 13:20:54 +0000 (13:20 +0000)]
now the api-index has a title in devhelp added more docs for the control-library added personal thoughs/todo to docs/...

Original commit message from CVS:
now the api-index has a title in devhelp
added more docs for the control-library
added personal thoughs/todo to docs/random

20 years agoadded more documenation comments to the control library
Stefan Kost [Thu, 15 Jul 2004 12:51:59 +0000 (12:51 +0000)]
added more documenation comments to the control library

Original commit message from CVS:
added more documenation comments to the control library

20 years agoadded symbol index to the libs-docs
Stefan Kost [Thu, 15 Jul 2004 12:51:03 +0000 (12:51 +0000)]
added symbol index to the libs-docs

Original commit message from CVS:
added symbol index to the libs-docs

20 years agofixed the index by using an id different than index
Stefan Kost [Thu, 15 Jul 2004 11:13:35 +0000 (11:13 +0000)]
fixed the index by using an id different than index

Original commit message from CVS:
fixed the index by using an id different than index

20 years agogst/gstelement.h: Don't GST_ERROR_OBJECT smpty strings - Solaris doesn't like NULL...
Benjamin Otte [Thu, 15 Jul 2004 02:26:48 +0000 (02:26 +0000)]
gst/gstelement.h: Don't GST_ERROR_OBJECT smpty strings - Solaris doesn't like NULL strings.

Original commit message from CVS:
* gst/gstelement.h:
Don't GST_ERROR_OBJECT smpty strings - Solaris doesn't like NULL
strings.
* gst/gstelement.c (gst_element_class_init):
GError's are boxed, not objects
* gst/gstmarshal.list:
update list for the fixed error signal

20 years agoadd IS_DISPATCHING macro to gstreamer-sections.txt...
Andy Wingo [Wed, 14 Jul 2004 15:52:44 +0000 (15:52 +0000)]
add IS_DISPATCHING macro to gstreamer-sections.txt...

Original commit message from CVS:
add IS_DISPATCHING macro to gstreamer-sections.txt...

20 years agogst/gsttag.c: Add a tag merge func for pointers. The header was there all along,...
Andy Wingo [Wed, 14 Jul 2004 15:28:51 +0000 (15:28 +0000)]
gst/gsttag.c: Add a tag merge func for pointers. The header was there all along, but the function wasn't. (guile-gstr...

Original commit message from CVS:
2004-07-14  Andy Wingo  <wingo@pobox.com>

* gst/gsttag.c: Add a tag merge func for pointers. The header was
there all along, but the function wasn't. (guile-gstreamer's build
system uses the address of the function -- I wasn't actually
trying to use this.)

2004-07-13  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_try_set_caps): Naive link functions (such
as gst_pad_proxy_pad_link) just link to every other pad when they
are called. In the case where the graph has cycles, this will mean
that a call to try_set_caps will recurse. Allow this recursion
and return OK, while we wait for the first try_set_caps to give a
proper return value.
(gst_pad_link_call_link_functions): Since this function is the
only one to set the NEGOTIATING flag on a pad, if the flag is set
it means that the link functions have indirectly recursed. If this
happens, error out to avoid infinite recursion and an eventual
SEGV.
(gst_real_pad_class_init): Remove a crufty GtkObject comment.
(gst_pad_proxy_getcaps): Intersect the result with the template
caps to ensure that the return value is valid.

2004-07-11  Andy Wingo  <wingo@pobox.com>

* gst/gstdata.c (gst_data_is_writable): s/>=/>/. If there is only
one refcount, the calling function is the owner of the buffer.

20 years agogst/schedulers/gstoptimalscheduler.c: Fix stupid warning when an element is to be...
Wim Taymans [Wed, 14 Jul 2004 15:10:09 +0000 (15:10 +0000)]
gst/schedulers/gstoptimalscheduler.c: Fix stupid warning when an element is to be migrated but is already migrated.

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
(gst_opt_scheduler_pad_link), (group_migrate_connected):
Fix stupid warning when an element is to be migrated but
is already migrated.

20 years agoadding a title to some examples so that they appear in the example index disabled...
Stefan Kost [Wed, 14 Jul 2004 15:06:31 +0000 (15:06 +0000)]
adding a title to some examples so that they appear in the example index disabled the global index, as this does not ...

Original commit message from CVS:
adding a title to some examples so that they appear in the example index
disabled the global index, as this does not yet fully work

20 years agoadded some long description to gstcontrol
Stefan Kost [Wed, 14 Jul 2004 14:57:53 +0000 (14:57 +0000)]
added some long description to gstcontrol

Original commit message from CVS:
added some long description to gstcontrol

20 years agoadded docuementation comments added a few consts to const params a bit of cleanup...
Stefan Kost [Wed, 14 Jul 2004 14:55:57 +0000 (14:55 +0000)]
added docuementation comments added a few consts to const params a bit of cleanup on the parameter names changed two ...

Original commit message from CVS:
added docuementation comments
added a few consts to const params
a bit of cleanup on the parameter names
changed two calls to the hash_lookup to get_wrapper

20 years agogst/schedulers/gstoptimalscheduler.c: Make sure that a single non-loop-based element...
Wim Taymans [Wed, 14 Jul 2004 14:52:49 +0000 (14:52 +0000)]
gst/schedulers/gstoptimalscheduler.c: Make sure that a single non-loop-based element does not end up in a group. This...

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
(gst_opt_scheduler_pad_link), (group_migrate_connected):
Make sure that a single non-loop-based element does not
end up in a group. This fixes the testsuite again.

20 years agogst/schedulers/gstoptimalscheduler.c: move isolated groups to a new chain.
Wim Taymans [Wed, 14 Jul 2004 14:25:04 +0000 (14:25 +0000)]
gst/schedulers/gstoptimalscheduler.c: move isolated groups to a new chain.

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (create_group),
(add_to_group), (merge_groups), (schedule_group),
(gst_opt_scheduler_get_wrapper), (group_elements),
(group_dec_link), (gst_opt_scheduler_pad_link),
(group_migrate_connected), (gst_opt_scheduler_pad_unlink),
(gst_opt_scheduler_iterate):
move isolated groups to a new chain.
Emit a warning instead of segfaulting in some error cases.
Fix a bug where the link count between groups was not calculated
correctly. Fixes #144510.

20 years agoadded short description for two libraries (what is the state of gstgetbits/putbits)
Stefan Kost [Wed, 14 Jul 2004 12:17:43 +0000 (12:17 +0000)]
added short description for two libraries (what is the state of gstgetbits/putbits)

Original commit message from CVS:
added short description for two libraries (what is the state of gstgetbits/putbits)

20 years agoHandle binary files under Windows OK
Steve Lhomme [Tue, 13 Jul 2004 17:35:50 +0000 (17:35 +0000)]
Handle binary files under Windows OK

Original commit message from CVS:
Handle binary files under Windows OK

20 years agocompatibility fixes for Solaris 8/gcc 2.95
Benjamin Otte [Tue, 13 Jul 2004 14:17:01 +0000 (14:17 +0000)]
compatibility fixes for Solaris 8/gcc 2.95

Original commit message from CVS:
compatibility fixes for Solaris 8/gcc 2.95
* configure.ac:
include libintl libs in LDFLAGS
* gstvalue.c (gst_value_deserialize_buffer):
cast isxdigit stuff to int to silence compiler warning

20 years agogst/gsttypes.h: get rid of GST_O_READONLY, GST_FILE_MODE_READ and
Benjamin Otte [Mon, 12 Jul 2004 21:57:35 +0000 (21:57 +0000)]
gst/gsttypes.h: get rid of GST_O_READONLY, GST_FILE_MODE_READ and

Original commit message from CVS:
* gst/gsttypes.h:
get rid of GST_O_READONLY, GST_FILE_MODE_READ and
GST_FILE_MODE_WRITE, I don't want them in the exported headers. It
just causes support madness
* gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
make it work without this
* gst/indexers/gstfileindex.c: (_file_index_id_save_entries),
(gst_file_index_commit):
glib IO channels don't want binary mode
* testsuite/bytestream/filepadsink.c: (main):
* testsuite/bytestream/test1.c: (read_param_file):
use "rb" instead of GST_FILE_MODE_READ, it works on POSIX systems

20 years agogst/gstelement.c: virutalize gst_element_set_state, use set_state member in class...
Benjamin Otte [Mon, 12 Jul 2004 21:27:11 +0000 (21:27 +0000)]
gst/gstelement.c: virutalize gst_element_set_state, use set_state member in class struct that was already added in 0....

Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_set_state), (gst_element_set_state_func):
virutalize gst_element_set_state, use set_state member in class
struct that was already added in 0.7 for this.
* gst/gstbin.c: (gst_bin_foreach), (set_kid_state_func),
(gst_bin_change_state):
make gst_bin_foreach works similar to other foreach functions, plug
memleaks in it. Make functions using it work with the new approach.
Document gst_bin_foreach, so it can be exported if we want to
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_state):
use virtualized set_state to make set_state on bins set the state of
all its children.

20 years agoconfigure.ac: require valgrind >= 2.1 (fixes Gentoo bug 53967, see http://bugs.gentoo...
Benjamin Otte [Mon, 12 Jul 2004 21:20:40 +0000 (21:20 +0000)]
configure.ac: require valgrind >= 2.1 (fixes Gentoo bug 53967, see bugs.gentoo.org/show_bug.cgi?id=53967)

Original commit message from CVS:
* configure.ac:
require valgrind >= 2.1 (fixes Gentoo bug 53967, see
http://bugs.gentoo.org/show_bug.cgi?id=53967)
* gst/gstpad.c: (gst_pad_alloc_buffer):
allow buffer_alloc functions to return NULL and allocate a normal
buffer in that case

20 years agoHandle binary files under Windows
Steve Lhomme [Mon, 12 Jul 2004 20:24:45 +0000 (20:24 +0000)]
Handle binary files under Windows

Original commit message from CVS:
Handle binary files under Windows

20 years agoUpdate to another gettext public build
Steve Lhomme [Mon, 12 Jul 2004 20:15:56 +0000 (20:15 +0000)]
Update to another gettext public build

Original commit message from CVS:
Update to another gettext public build

20 years agofix i18n under Windows and a C syntax error
Steve Lhomme [Mon, 12 Jul 2004 19:32:30 +0000 (19:32 +0000)]
fix i18n under Windows and a C syntax error

Original commit message from CVS:
fix i18n under Windows and a C syntax error

20 years agodocs/manual/quotes.xml: Keep the quotes file alive
Jan Schmidt [Mon, 12 Jul 2004 13:48:46 +0000 (13:48 +0000)]
docs/manual/quotes.xml: Keep the quotes file alive

Original commit message from CVS:
* docs/manual/quotes.xml:
Keep the quotes file alive
* docs/random/ds/0.9-suggested-changes:
Add the suggestion of including a 'rowstride' as part of video
format caps

20 years agoset PENDING on bin correctly for special case. fixes testsuite again.
Thomas Vander Stichele [Mon, 12 Jul 2004 10:03:04 +0000 (10:03 +0000)]
set PENDING on bin correctly for special case. fixes testsuite again.

Original commit message from CVS:
set PENDING on bin correctly for special case. fixes testsuite again.

20 years agogst/gstclock.h: GST_SECOND shouldn't cause a conversion to unsigned.
Benjamin Otte [Sun, 11 Jul 2004 18:19:54 +0000 (18:19 +0000)]
gst/gstclock.h: GST_SECOND shouldn't cause a conversion to unsigned.

Original commit message from CVS:
* gst/gstclock.h:
GST_SECOND shouldn't cause a conversion to unsigned.
* testsuite/clock/.cvsignore:
* testsuite/clock/Makefile.am:
* testsuite/clock/signedness.c: (main):
make sure it never will again

20 years agogst/gstbin.c (gst_bin_add_func): If we're adding an element whose state is higher...
Andy Wingo [Sun, 11 Jul 2004 12:16:29 +0000 (12:16 +0000)]
gst/gstbin.c (gst_bin_add_func): If we're adding an element whose state is higher than the bin state, raise the bin s...

Original commit message from CVS:
2004-07-11  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.c (gst_bin_add_func): If we're adding an element
whose state is higher than the bin state, raise the bin state to
ensure that bin state := highest child state.

20 years agogst/gstbin.c (gst_bin_foreach): New static function. Calls a procedure on the childre...
Andy Wingo [Sun, 11 Jul 2004 11:11:37 +0000 (11:11 +0000)]
gst/gstbin.c (gst_bin_foreach): New static function. Calls a procedure on the children of a bin. Assumes that the pro...

Original commit message from CVS:
2004-07-11  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.c (gst_bin_foreach): New static function. Calls a
procedure on the children of a bin. Assumes that the procedure can
change the set of children.
(set_kid_state_func): New static function.
(gst_bin_change_state): Use gst_bin_foreach to call
set_kid_state_func. Fixes a bug: if a child had a state-change
handler that removes it from the bin, there would be a segfault.
Hopefully it should also work in the case where the state-change
handler on one child adds or removes other children. In any case,
fixes should go to gst_bin_foreach.

20 years agofix for last plugins release
Thomas Vander Stichele [Sat, 10 Jul 2004 16:31:54 +0000 (16:31 +0000)]
fix for last plugins release

Original commit message from CVS:
fix for last plugins release

20 years agogst/: Since remove is virtual in GstBin we must not assume the elements GList to...
Wim Taymans [Fri, 9 Jul 2004 15:03:51 +0000 (15:03 +0000)]
gst/: Since remove is virtual in GstBin we must not assume the elements GList to have anothing usefull.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_remove), (gst_bin_dispose):
* gst/gstthread.c: (gst_thread_dispose), (gst_thread_catch),
(gst_thread_main_loop):
Since remove is virtual in GstBin we must not assume the
elements GList to have anothing usefull.
Add some more logging to GstThread and be a bit more paranoid
when resetting the scheduler.
Set the state of the bin to NULL before removing the children.

20 years agotestsuite/threads/: added test to check if problem when removing all elements from a
Zaheer Abbas Merali [Fri, 9 Jul 2004 14:18:35 +0000 (14:18 +0000)]
testsuite/threads/: added test to check if problem when removing all elements from a

Original commit message from CVS:
2004-07-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* testsuite/threads/Makefile.am:
* testsuite/threads/threadg.c:
added test to check if problem when removing all elements from a
GstThread before setting GstThread state to NULL

20 years agodebugging fixes
Thomas Vander Stichele [Fri, 9 Jul 2004 13:33:20 +0000 (13:33 +0000)]
debugging fixes

Original commit message from CVS:
debugging fixes

20 years agofixes 123774 - setting state on a bin should set state on children as well
Thomas Vander Stichele [Fri, 9 Jul 2004 13:26:12 +0000 (13:26 +0000)]
fixes 123774 - setting state on a bin should set state on children as well

Original commit message from CVS:
fixes 123774 - setting state on a bin should set state on children as well

20 years agoclean up debugging. change to finalize to free all resources
Thomas Vander Stichele [Fri, 9 Jul 2004 11:23:55 +0000 (11:23 +0000)]
clean up debugging. change to finalize to free all resources

Original commit message from CVS:
clean up debugging. change to finalize to free all resources

20 years agocatch wrong state changes in element base class
Thomas Vander Stichele [Fri, 9 Jul 2004 11:20:59 +0000 (11:20 +0000)]
catch wrong state changes in element base class

Original commit message from CVS:
catch wrong state changes in element base class

20 years agocleanup
Thomas Vander Stichele [Fri, 9 Jul 2004 11:00:06 +0000 (11:00 +0000)]
cleanup

Original commit message from CVS:
cleanup

20 years agodebug
Thomas Vander Stichele [Fri, 9 Jul 2004 08:45:18 +0000 (08:45 +0000)]
debug

Original commit message from CVS:
debug

20 years agore-enable states and add test
Thomas Vander Stichele [Fri, 9 Jul 2004 08:43:34 +0000 (08:43 +0000)]
re-enable states and add test

Original commit message from CVS:
re-enable states and add test

20 years agogst/schedulers/gstoptimalscheduler.c: Do not try to migrate decoupled elements to...
Wim Taymans [Fri, 9 Jul 2004 08:25:42 +0000 (08:25 +0000)]
gst/schedulers/gstoptimalscheduler.c: Do not try to migrate decoupled elements to a new group since they are not adde...

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c:
(gst_opt_scheduler_pad_link), (group_elements_set_visited),
(element_get_reachables_func), (element_get_reachables),
(debug_element), (rechain_group), (group_migrate_connected),
(gst_opt_scheduler_pad_unlink):
Do not try to migrate decoupled elements to a new group since
they are not added to groups.

20 years agogst/gstelement.c: make reentrant (= allow removing elements in error handler)
Benjamin Otte [Thu, 8 Jul 2004 21:25:42 +0000 (21:25 +0000)]
gst/gstelement.c: make reentrant (= allow removing elements in error handler)

Original commit message from CVS:
* gst/gstelement.c: (gst_element_error_func):
make reentrant (= allow removing elements in error handler)

20 years agodon't send events below PAUSED on parent
Thomas Vander Stichele [Thu, 8 Jul 2004 16:38:49 +0000 (16:38 +0000)]
don't send events below PAUSED on parent

Original commit message from CVS:
don't send events below PAUSED on parent

20 years agosuggestion
Thomas Vander Stichele [Thu, 8 Jul 2004 15:50:29 +0000 (15:50 +0000)]
suggestion

Original commit message from CVS:
suggestion

20 years agoImplemented group splitting and rechaining.
Wim Taymans [Thu, 8 Jul 2004 15:24:20 +0000 (15:24 +0000)]
Implemented group splitting and rechaining.

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c:
(chain_recursively_migrate_group), (create_group),
(schedule_group), (gst_opt_scheduler_pad_link),
(group_elements_set_visited), (element_get_reachables_func),
(element_get_reachables), (group_can_reach_group), (debug_element),
(rechain_group), (group_migrate_connected),
(gst_opt_scheduler_pad_unlink):
* testsuite/schedulers/Makefile.am:
Implemented group splitting and rechaining.
Fixes 143777 and 143777-2 in the testsuite.

20 years agogst/autoplug/gstspideridentity.c: extra debugging
Thomas Vander Stichele [Thu, 8 Jul 2004 13:49:14 +0000 (13:49 +0000)]
gst/autoplug/gstspideridentity.c: extra debugging

Original commit message from CVS:
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
extra debugging
* gst/gstevent.h:
* gst/gstinfo.c: (gst_debug_log_default):
print time nicely.  add thread pointer until someone figures out
a completely portable way of getting at thread id's.
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_try),
(_invent_event), (gst_pad_pull), (gst_pad_event_default_dispatch),
(gst_pad_call_chain_function):
extra debugging
* gst/schedulers/gstoptimalscheduler.c:
(get_group_schedule_function), (loop_group_schedule_function),
(gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
(pad_clear_queued), (gst_opt_scheduler_iterate):
rename BUFPEN and friends to DATAPEN since that's what they are.

20 years agomore changes
Thomas Vander Stichele [Thu, 8 Jul 2004 08:28:19 +0000 (08:28 +0000)]
more changes

Original commit message from CVS:
more changes

20 years agodebugging fixes
Thomas Vander Stichele [Wed, 7 Jul 2004 16:50:30 +0000 (16:50 +0000)]
debugging fixes

Original commit message from CVS:
debugging fixes

20 years agodebug fix
Thomas Vander Stichele [Wed, 7 Jul 2004 15:06:26 +0000 (15:06 +0000)]
debug fix

Original commit message from CVS:
debug fix

20 years agodebug fix
Thomas Vander Stichele [Wed, 7 Jul 2004 15:04:44 +0000 (15:04 +0000)]
debug fix

Original commit message from CVS:
debug fix

20 years agodebugging and cleanups
Thomas Vander Stichele [Wed, 7 Jul 2004 14:15:28 +0000 (14:15 +0000)]
debugging and cleanups

Original commit message from CVS:
debugging and cleanups

20 years agoOops, forgot new files
Ronald S. Bultje [Wed, 7 Jul 2004 04:25:23 +0000 (04:25 +0000)]
Oops, forgot new files

Original commit message from CVS:
Oops, forgot new files

20 years agoFix enum serialization, deserialization, comparison in caps, add a test to ensure...
Ronald S. Bultje [Wed, 7 Jul 2004 04:22:28 +0000 (04:22 +0000)]
Fix enum serialization, deserialization, comparison in caps, add a test to ensure that this continues working in the ...

Original commit message from CVS:
* configure.ac:
* gst/gstvalue.c: (gst_value_compare_enum),
(gst_value_serialize_enum), (gst_value_deserialize_enum),
(gst_value_can_compare), (gst_value_compare):
* testsuite/Makefile.am:
Fix enum serialization, deserialization, comparison in caps, add
a test to ensure that this continues working in the future.

20 years agogst/gstcaps.c: Fix memleak.
David Schleef [Tue, 6 Jul 2004 22:33:04 +0000 (22:33 +0000)]
gst/gstcaps.c: Fix memleak.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
Fix memleak.

20 years agoand missing symbol
Thomas Vander Stichele [Tue, 6 Jul 2004 18:05:12 +0000 (18:05 +0000)]
and missing symbol

Original commit message from CVS:
and missing symbol