Commit graph

871 commits

Author SHA1 Message Date
Steve Lhomme e6fd648b5c Copy the files where needed after building, The testsuite will be built separately
Original commit message from CVS:
Copy the files where needed after building, The testsuite will be built separately
2004-07-25 10:17:09 +00:00
Steve Lhomme 9c0b629088 Fixed the plugin and GStreamer location on Windows
Original commit message from CVS:
Fixed the plugin and GStreamer location on Windows
2004-07-25 09:01:40 +00:00
Steve Lhomme 4e5f1ba512 Didn't fix the pb...
Original commit message from CVS:
Didn't fix the pb...
2004-07-25 07:03:39 +00:00
Steve Lhomme 35ef3f9df6 Try to remove the need for GST_CAT_DEFAULT (text moved)
Original commit message from CVS:
Try to remove the need for GST_CAT_DEFAULT (text moved)
2004-07-25 06:51:57 +00:00
Steve Lhomme 30d202b097 More exports for the plugins
Original commit message from CVS:
More exports for the plugins
2004-07-24 20:59:03 +00:00
Steve Lhomme 2a189c2214 Disable NLS for now literaly export GST_CAT_DEFAULT
Original commit message from CVS:
Disable NLS for now
literaly export GST_CAT_DEFAULT
2004-07-24 16:07:01 +00:00
Steve Lhomme d5ae66ef70 removing the file doesn't seem to be a good idea on Linux
Original commit message from CVS:
removing the file doesn't seem to be a good idea on Linux
2004-07-24 11:48:26 +00:00
Steve Lhomme afef72241b Remove the registry before applying the new TMP file (for Windows)
Original commit message from CVS:
Remove the registry before applying the new TMP file (for Windows)
2004-07-24 10:43:57 +00:00
Zaheer Abbas Merali 13905b113e gst/elements/gstmultifilesrc.*: Added newmedia property so it generates newmedia events between each file when proper...
Original commit message from CVS:
2004-07-23  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init),
(gst_multifilesrc_init), (gst_multifilesrc_set_property),
(gst_multifilesrc_get_property), (gst_multifilesrc_get):
* gst/elements/gstmultifilesrc.h:
Added newmedia property so it generates newmedia events between each
file when property is set, as well as fixed eos handling
2004-07-23 13:09:27 +00:00
David Schleef 4fa4267105 gst/gststructure.c: Set type field correctly.
Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_empty_new),
(gst_structure_empty_new):  Set type field correctly.
* gst/gststructure.h: Check type field correctly.
* testsuite/caps/Makefile.am:
* testsuite/caps/structure.c: (test1), (main): Add a very small
test for structures.
2004-07-23 00:12:57 +00:00
David Schleef 23d19ce876 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.
2004-07-22 23:29:30 +00:00
Benjamin Otte 9574c7851f 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)
2004-07-22 16:14:56 +00:00
Benjamin Otte 66786dc6f9 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
2004-07-22 11:21:54 +00:00
Wim Taymans d5f0f798ac 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.
2004-07-22 09:43:40 +00:00
Wim Taymans efa80cd2c9 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.
2004-07-22 09:39:28 +00:00
Benjamin Otte 228cef489a 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
2004-07-21 21:37:31 +00:00
Benjamin Otte 28bf20507e 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
2004-07-21 21:28:58 +00:00
Benjamin Otte d8c591b902 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)
2004-07-21 21:20:10 +00:00
Benjamin Otte 04ec1a2ad9 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
2004-07-21 19:41:52 +00:00
Benjamin Otte e5a3b3f338 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
2004-07-20 19:54:20 +00:00
Ronald S. Bultje 8b895dadce 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.
2004-07-20 19:35:15 +00:00
Thomas Vander Stichele feca9eac03 back to cvs
Original commit message from CVS:
back to cvs
2004-07-20 19:21:57 +00:00
Thomas Vander Stichele 5d9b04ba9b go for it
Original commit message from CVS:
go for it
2004-07-20 17:23:03 +00:00
Thomas Vander Stichele c958df6304 adding catalan translation
Original commit message from CVS:
adding catalan translation
2004-07-20 16:38:41 +00:00
Wim Taymans 0344b6b464 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
2004-07-20 11:21:03 +00:00
Thomas Vander Stichele 050631f63b fix for #142813 - deadlock in opt
Original commit message from CVS:
fix for #142813 - deadlock in opt
2004-07-20 10:57:38 +00:00
Thomas Vander Stichele add97dd1ce 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)
2004-07-20 10:40:09 +00:00
Thomas Vander Stichele f8e7ca6ea9 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
2004-07-20 10:18:48 +00:00
Thomas Vander Stichele b515b8a729 fix for #147894 (opt scheduler decoupled elements mismanagement)
Original commit message from CVS:
fix for #147894 (opt scheduler decoupled elements mismanagement)
2004-07-20 09:55:13 +00:00
Wim Taymans dfb5f38351 Added testcase for 147819
Original commit message from CVS:
Added testcase for 147819
2004-07-19 15:48:14 +00:00
Wim Taymans 282255877d 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
2004-07-19 14:53:13 +00:00
Wim Taymans 6f82a0ea1a 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.
2004-07-16 17:19:54 +00:00
Wim Taymans 74060a4ff6 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.
2004-07-16 16:02:12 +00:00
Wim Taymans 77d9b2648d 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.
2004-07-16 15:45:29 +00:00
Thomas Vander Stichele 37960c1b39 fix #147707 blocker
Original commit message from CVS:
fix #147707 blocker
2004-07-16 13:31:28 +00:00
Thomas Vander Stichele 79dba6581e updated translations
Original commit message from CVS:
updated translations
2004-07-16 07:24:32 +00:00
Benjamin Otte ae7fb01363 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
2004-07-16 01:16:53 +00:00
Zaheer Abbas Merali 895f68b86b 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
2004-07-16 00:43:57 +00:00
Zaheer Abbas Merali bd97601128 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
2004-07-15 22:47:48 +00:00
Zaheer Abbas Merali 941872a20e 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
2004-07-15 22:39:45 +00:00
Thomas Vander Stichele 76f329603c adding GstFraction GValue type
Original commit message from CVS:
adding GstFraction GValue type
2004-07-15 20:27:20 +00:00
Zaheer Abbas Merali 2cd2ff38ab 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
2004-07-15 17:04:23 +00:00
Zaheer Abbas Merali 6e55ee7ac4 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
2004-07-15 16:26:23 +00:00
Thomas Vander Stichele 1c5150d393 debugging additions and style cleanups
Original commit message from CVS:
debugging additions and style cleanups
2004-07-15 16:20:50 +00:00
Zaheer Abbas Merali baa63d42e5 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
2004-07-15 16:08:48 +00:00
Zaheer Abbas Merali 55c775b96d 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
2004-07-15 15:44:00 +00:00
Zaheer Abbas Merali cd07f0eae6 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
2004-07-15 15:05:34 +00:00
Zaheer Abbas Merali ba6f6dd6af 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
2004-07-15 14:09:08 +00:00
Zaheer Abbas Merali f9199b3845 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
2004-07-15 13:36:26 +00:00
Zaheer Abbas Merali 0f468b4a0b 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
2004-07-15 13:21:42 +00:00
Benjamin Otte ae23ffba6f 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
2004-07-15 02:26:48 +00:00
Andy Wingo d6443170cf 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.
2004-07-14 15:28:51 +00:00
Wim Taymans 99c3c397ca 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.
2004-07-14 15:10:09 +00:00
Wim Taymans d7ec4cb787 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.
2004-07-14 14:52:49 +00:00
Wim Taymans b997eae215 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.
2004-07-14 14:25:04 +00:00
Steve Lhomme 9b99ef6164 Handle binary files under Windows OK
Original commit message from CVS:
Handle binary files under Windows OK
2004-07-13 17:35:50 +00:00
Benjamin Otte f71ec9df53 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
2004-07-13 14:17:01 +00:00
Benjamin Otte f1d9a4c380 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
2004-07-12 21:57:35 +00:00
Benjamin Otte d77dbaac2f 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.
2004-07-12 21:27:11 +00:00
Benjamin Otte 2ab9d39848 configure.ac: require valgrind >= 2.1 (fixes Gentoo bug 53967, see http://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
2004-07-12 21:20:40 +00:00
Steve Lhomme fb7d3a201c Handle binary files under Windows
Original commit message from CVS:
Handle binary files under Windows
2004-07-12 20:24:45 +00:00
Steve Lhomme 0c7ff9acae Update to another gettext public build
Original commit message from CVS:
Update to another gettext public build
2004-07-12 20:15:56 +00:00
Steve Lhomme 766d02d57a fix i18n under Windows and a C syntax error
Original commit message from CVS:
fix i18n under Windows and a C syntax error
2004-07-12 19:32:30 +00:00
Jan Schmidt 1fe4df4a62 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
2004-07-12 13:48:46 +00:00
Thomas Vander Stichele 14e4ff51de 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.
2004-07-12 10:03:04 +00:00
Benjamin Otte 9b9a151d43 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
2004-07-11 18:19:54 +00:00
Andy Wingo db1987c472 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.
2004-07-11 12:16:29 +00:00
Andy Wingo 799ee9420c 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.
2004-07-11 11:11:37 +00:00
Thomas Vander Stichele 0ce552665c fix for last plugins release
Original commit message from CVS:
fix for last plugins release
2004-07-10 16:31:54 +00:00
Wim Taymans 31b478533c 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.
2004-07-09 15:03:51 +00:00
Zaheer Abbas Merali becad99a95 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
2004-07-09 14:18:35 +00:00
Thomas Vander Stichele b645d7ab8c 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
2004-07-09 13:26:12 +00:00
Thomas Vander Stichele 683546fcb5 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
2004-07-09 11:23:55 +00:00
Thomas Vander Stichele ac9d8868a5 catch wrong state changes in element base class
Original commit message from CVS:
catch wrong state changes in element base class
2004-07-09 11:20:59 +00:00
Thomas Vander Stichele c309ad76fb cleanup
Original commit message from CVS:
cleanup
2004-07-09 11:00:06 +00:00
Thomas Vander Stichele a074393f26 re-enable states and add test
Original commit message from CVS:
re-enable states and add test
2004-07-09 08:43:34 +00:00
Wim Taymans 19fac086bf 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.
2004-07-09 08:25:42 +00:00
Benjamin Otte 87de7f9dcc 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)
2004-07-08 21:25:42 +00:00
Thomas Vander Stichele 6595422e32 don't send events below PAUSED on parent
Original commit message from CVS:
don't send events below PAUSED on parent
2004-07-08 16:38:49 +00:00
Wim Taymans 40a0fb9794 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.
2004-07-08 15:24:20 +00:00
Thomas Vander Stichele e7a32237d4 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.
2004-07-08 13:49:14 +00:00
Thomas Vander Stichele d4ac2d54be debugging and cleanups
Original commit message from CVS:
debugging and cleanups
2004-07-07 14:15:28 +00:00
Ronald S. Bultje 73f74ccb58 Oops, forgot new files
Original commit message from CVS:
Oops, forgot new files
2004-07-07 04:25:23 +00:00
Ronald S. Bultje 938884918c 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.
2004-07-07 04:22:28 +00:00
David Schleef 1c8590f341 gst/gstcaps.c: Fix memleak.
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
Fix memleak.
2004-07-06 22:33:04 +00:00
Thomas Vander Stichele c0f5312554 rebuild registry only for newer plugins. fixes #145520
Original commit message from CVS:
rebuild registry only for newer plugins.  fixes #145520
2004-07-06 17:55:25 +00:00
Thomas Vander Stichele 2754a4bb4b add win32 chapter. #142422
Original commit message from CVS:
add win32 chapter.  #142422
2004-07-06 13:23:42 +00:00
Thomas Vander Stichele fbf80ae696 fix spider memleaks #137863
Original commit message from CVS:
fix spider memleaks #137863
2004-07-06 12:00:53 +00:00
Thomas Vander Stichele 915be2e2c7 fix SIGBUS on opt, #145338
Original commit message from CVS:
fix SIGBUS on opt, #145338
2004-07-06 11:44:26 +00:00
Thomas Vander Stichele b3331d4771 clean up clock lifecycle. fixes #109831
Original commit message from CVS:
clean up clock lifecycle.  fixes #109831
2004-07-06 11:21:34 +00:00
Thomas Vander Stichele cc70ab5b80 adding czech translation
Original commit message from CVS:
adding czech translation
2004-07-06 09:36:02 +00:00
David Schleef e44786e7a0 tools/: Add man page. (bug #140219)
Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-xmlinspect.1.in:  Add man page. (bug #140219)
2004-07-04 23:36:29 +00:00
David Schleef 31749816f4 common/m4/gst-doc.m4: Check for docbook2html 0.6.10 (bug #139909)
Original commit message from CVS:
* common/m4/gst-doc.m4: Check for docbook2html 0.6.10 (bug #139909)
2004-07-04 23:24:19 +00:00
Thomas Vander Stichele b518d9efc0 chain bin restore to parent method
Original commit message from CVS:
chain bin restore to parent method
2004-07-04 10:26:24 +00:00
David Schleef 6a99b71662 gst/gstcaps.c: Actually do something in these functions, like before the big caps change. (bug #145137)
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
Actually do something in these functions, like before the big
caps change.  (bug #145137)
2004-07-03 23:49:51 +00:00
Thomas Vander Stichele d707aa6316 more debug info
Original commit message from CVS:
more debug info
2004-07-03 15:30:19 +00:00
David Schleef f2dcf4e048 gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
Original commit message from CVS:
* gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
* gst/gstobject.h:
* gst/gstparse.h:
* gst/gsttrace.h:
* gst/gstxml.h:
2004-07-03 04:59:12 +00:00
Thomas Vander Stichele 074bcabf93 revert until fixed
Original commit message from CVS:
revert until fixed
2004-07-02 14:01:04 +00:00
Thomas Vander Stichele 11243f20be more tests fixing
Original commit message from CVS:
more tests fixing
2004-07-02 13:54:59 +00:00
Thomas Vander Stichele b44d2194c8 fix testsuite
Original commit message from CVS:
fix testsuite
2004-07-02 13:29:11 +00:00
Thomas Vander Stichele f54b157806 fix some dparams stuff
Original commit message from CVS:
fix some dparams stuff
2004-07-02 13:24:33 +00:00
Thomas Vander Stichele b6a4764807 change plugin path
Original commit message from CVS:
change plugin path
2004-07-02 10:15:14 +00:00
Benjamin Otte fcf39956d7 tests/: add simple benchmark to test various speeds of fakesrc ! identity ! identity ! ... ! fakesink.
Original commit message from CVS:
* tests/.cvsignore:
* tests/Makefile.am:
* tests/mass_elements.c: (gst_get_current_time), (main):
add simple benchmark to test various speeds of fakesrc ! identity !
identity ! ... ! fakesink.
Usage: mass_elements [num_identities] [num_buffers]
If not specified they default to 1000.
2004-07-02 03:26:44 +00:00
Benjamin Otte ef97ba69b4 gst/gstpad.c: check that pads that get linked belong to the same manager. The old code allowed linking elements befor...
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_check_schedulers),
(gst_pad_can_link_filtered), (gst_pad_link_filtered),
(gst_pad_link_prepare):
check that pads that get linked belong to the same manager. The old
code allowed linking elements before putting them into bins, so it
worked to link them and then put them in different threads, which
lead to weird behaviour.
Since this effectively disallows linking elements before putting
them in a bin, some applications might not work after this and error
out. If these applications are too critical, we might need to revert
that patch. Please test this before the next release...
2004-07-02 03:24:08 +00:00
Benjamin Otte 968c817c26 gst/gstpad.c: throw an error if the getcaps function does not return a subset of the template caps.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_caps):
throw an error if the getcaps function does not return a subset of
the template caps.
* libs/gst/bytestream/filepad.c: (gst_file_pad_chain):
make disconts without position info an error in debugging
* tests/spidey_bench.c: (handoff), (main):
don't count first try when averaging
2004-06-29 00:34:38 +00:00
Thomas Vander Stichele 6b42c874d2 fix docs build
Original commit message from CVS:
fix docs build
2004-06-26 13:11:31 +00:00
Thomas Vander Stichele 477783c722 i18n-ize register
Original commit message from CVS:
i18n-ize register
2004-06-26 13:09:37 +00:00
Thomas Vander Stichele 0b17785211 check stream
Original commit message from CVS:
check stream
2004-06-26 13:08:03 +00:00
Thomas Vander Stichele b5051d23dd print offset_end
Original commit message from CVS:
print offset_end
2004-06-25 12:46:40 +00:00
Thomas Vander Stichele 186221d6e0 doc fixes
Original commit message from CVS:
doc fixes
2004-06-24 23:05:04 +00:00
David Schleef 9fd2b5628e autogen.sh: Remove call to env, since the buildbot isn't broken anymore.
Original commit message from CVS:
* autogen.sh:  Remove call to env, since the buildbot isn't
broken anymore.
2004-06-24 19:58:01 +00:00
Wim Taymans f077afa0b2 gst/elements/: Added an element that writes to multiple filedescriptors at once.
Original commit message from CVS:
* gst/elements/Makefile.am:
* gst/elements/gstelements.c:
* gst/elements/gstmultifdsink.c: (gst_multifdsink_base_init),
(gst_multifdsink_class_init), (gst_multifdsink_init),
(gst_multifdsink_add), (gst_multifdsink_remove),
(gst_multifdsink_clear), (gst_multifdsink_chain),
(gst_multifdsink_set_property), (gst_multifdsink_get_property):
* gst/elements/gstmultifdsink.h:
Added an element that writes to multiple filedescriptors at once.
2004-06-24 17:05:04 +00:00
Benjamin Otte 2c2a7a3847 gst/parse/grammar.y: don't try to link elements before they have been added to bins
Original commit message from CVS:
* gst/parse/grammar.y:
don't try to link elements before they have been added to bins
2004-06-24 03:51:02 +00:00
Benjamin Otte 5e2e65c734 libs/gst/bytestream/filepad.*: add 2 new functions
Original commit message from CVS:
* libs/gst/bytestream/filepad.c: (gst_file_pad_available),
(gst_file_pad_get_length):
* libs/gst/bytestream/filepad.h:
add 2 new functions
2004-06-24 02:18:59 +00:00
Zaheer Abbas Merali 6b5554c50f docs/gst/gstreamer-sections.txt: remove from docs, the define that Benjamin removed from gstelement.h
Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* docs/gst/gstreamer-sections.txt:
remove from docs, the define that Benjamin removed from gstelement.h
2004-06-22 06:44:18 +00:00
Benjamin Otte 86a748f0e6 gst/gstelement.h: remove define that referenced a nonexisting GstElement struct member
Original commit message from CVS:
* gst/gstelement.h:
remove define that referenced a nonexisting GstElement struct member
2004-06-22 03:08:56 +00:00
Benjamin Otte e242dece5b gst/gstdata.c: whoops, return values were wrong, so writable data was marked as non-writable and vice versa. (fixes #...
Original commit message from CVS:
* gst/gstdata.c: (gst_data_is_writable):
whoops, return values were wrong, so writable data was marked as
non-writable and vice versa. (fixes #143953, spotted by Francis
Labonte)
Shows how rarely we need to copy data ;)
2004-06-20 20:49:32 +00:00
Benjamin Otte a0873781bf testsuite/schedulers/: add test for opt breakage in bug #143777
Original commit message from CVS:
* testsuite/schedulers/.cvsignore:
* testsuite/schedulers/Makefile.am:
* testsuite/schedulers/143777-2.c: (main):
add test for opt breakage in bug #143777
2004-06-20 20:25:32 +00:00
Benjamin Otte 94821aea61 gst/gstpad.c: check for if we were unlinked while inside the chainfunction (fixes entrygthread having issues with #14...
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_call_chain_function):
check for if we were unlinked while inside the chainfunction (fixes
entrygthread having issues with #143777)
* testsuite/schedulers/143777.c: (main):
* testsuite/schedulers/Makefile.am:
add a test for that fix
2004-06-20 19:42:58 +00:00
Benjamin Otte 02c304efb9 gst/gstvalue.c: test that start is smaller then end
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_set_int_range):
test that start is smaller then end
* libs/gst/bytestream/Makefile.am:
* libs/gst/bytestream/filepad.c:
* libs/gst/bytestream/filepad.h:
add GstFilePad - a pad that behaves like a FILE*
* testsuite/bytestream/.cvsignore:
* testsuite/bytestream/Makefile.am:
* testsuite/bytestream/filepadsink.c:
test for the GstFilePad
2004-06-20 17:05:40 +00:00
Thomas Vander Stichele 6f0d62ebdd add sync to identity
Original commit message from CVS:
add sync to identity
2004-06-18 14:05:55 +00:00
Benjamin Otte 3183fa7060 gst/gstelementfactory.c: make the freakin "elementfactory bla has no type" message more useful. So we actually can do...
Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_create):
make the freakin "elementfactory bla has no type" message more
useful. So we actually can do something when someone shows up
complaining about it.
2004-06-16 21:06:50 +00:00
Johan Dahlin d6ae3e5426 tools/gst-inspect.c (main): Fallback to plugin if no element is found. This matches the old behavior better. Thanks t...
Original commit message from CVS:
* tools/gst-inspect.c (main): Fallback to plugin if no element is
found. This matches the old behavior better. Thanks to Thomas for
pointing out.
2004-06-15 14:17:55 +00:00
David Schleef 4a26e6f2c7 gst/gstcpu.c: Fix problem when using
Original commit message from CVS:
* gst/gstcpu.c: (gst_cpuid_i386): Fix problem when using
-fomit-frame-pointer.  Appears to generate correct code in
other cases as well.
2004-06-14 18:15:23 +00:00
Johan Dahlin ae5f02d5c4 Simplify, remove -n and always print names if -a is specified
Original commit message from CVS:
(main): Simplify, remove -n and always print names if -a is specified
2004-06-14 11:28:16 +00:00
Johan Dahlin 45e3b8be25 tools/gst-inspect.c (main): Add two new command line options: -a to print all elements and -n to print the name on ea...
Original commit message from CVS:
* tools/gst-inspect.c (main): Add two new command line options: -a
to print all elements and -n to print the name on each line. Also
fix some error reporting.
2004-06-14 11:04:06 +00:00
Steve Lhomme 395faf9c06 rename GSTREAMER_EXPORT to GST_EXPORT
Original commit message from CVS:
rename GSTREAMER_EXPORT to GST_EXPORT
2004-06-13 10:04:12 +00:00
Jan Schmidt b289a5b010 add GSTREAMER_EXPORT macro to the docs
Original commit message from CVS:
add GSTREAMER_EXPORT macro to the docs
2004-06-13 02:18:18 +00:00
Jan Schmidt cc9d178af2 Add a libxml2 version check to make gst-compprep compile again on FC1
Original commit message from CVS:
Add a libxml2 version check to make gst-compprep compile again on FC1
2004-06-12 15:27:59 +00:00
Steve Lhomme 2871454788 More code in debug builds to have logging capabilities
Original commit message from CVS:
More code in debug builds to have logging capabilities
2004-06-12 11:31:49 +00:00
Steve Lhomme 90386d884e prepare to compile the testsuite with MSVC
Original commit message from CVS:
prepare to compile the testsuite with MSVC
2004-06-12 11:14:44 +00:00
Steve Lhomme 43c89ac41c Win32 README as a docbook file
Original commit message from CVS:
Win32 README as a docbook file
2004-06-12 10:55:43 +00:00
Steve Lhomme f50188b8a0 Fix a bug to enable/disable DEBUG under MSVC
Original commit message from CVS:
Fix a bug to enable/disable DEBUG under MSVC
2004-06-12 10:51:35 +00:00
Steve Lhomme 1d197d7102 Fix a bug to enable/disable DEBUG under MSVC
Original commit message from CVS:
Fix a bug to enable/disable DEBUG under MSVC
2004-06-12 10:48:16 +00:00
Steve Lhomme 6029771ed5 Enable NLS under Windows
Original commit message from CVS:
Enable NLS under Windows
2004-06-12 10:45:54 +00:00
Steve Lhomme 1083813715 More code in debug builds to have logging capabilities
Original commit message from CVS:
More code in debug builds to have logging capabilities
2004-06-12 10:41:47 +00:00
Steve Lhomme 62853345c7 Enable NLS under Windows
Original commit message from CVS:
Enable NLS under Windows
2004-06-12 10:37:01 +00:00
Steve Lhomme a188be9973 Enable NLS under Windows
Original commit message from CVS:
Enable NLS under Windows
2004-06-12 10:30:53 +00:00
Jan Schmidt c7ec369f93 tools/gst-compprep.c: Make an error that baffled me a bit clearer
Original commit message from CVS:
* tools/gst-compprep.c: (handle_xmlerror), (main):
Make an error that baffled me a bit clearer
2004-06-12 10:14:40 +00:00
Thomas Vander Stichele a45f193207 use ->length
Original commit message from CVS:
use ->length
2004-06-11 23:46:32 +00:00
Benjamin Otte 60bc42d1fc tools/gst-inspect.c: don't free random data twice. (fixes #144185)
Original commit message from CVS:
reviewed by Benjamin Otte  <in7y118@public.uni-hamburg.de>
* tools/gst-inspect.c: (print_signal_info):
don't free random data twice. (fixes #144185)
2004-06-11 20:57:29 +00:00
Thomas Vander Stichele e5c9a61a6b fix queue event code
Original commit message from CVS:
fix queue event code
2004-06-11 15:18:58 +00:00
Johan Dahlin b748b61e9f gst/gst.c (gst_init_check_with_popt_table): Do not fail on errors, like gtk. It makes it more useful in bindings.
Original commit message from CVS:
* gst/gst.c (gst_init_check_with_popt_table): Do not fail on
errors, like gtk. It makes it more useful in bindings.
2004-06-10 11:23:42 +00:00
Thomas Vander Stichele 452faea68a bump GDP to 0.1, add buffer flags
Original commit message from CVS:
bump GDP to 0.1, add buffer flags
2004-06-09 16:24:19 +00:00
Johan Dahlin aea04009d0 gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge the flags from the buffer we're copying.
Original commit message from CVS:
* gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge
the flags from the buffer we're copying.
2004-06-09 16:04:37 +00:00
Wim Taymans 9ed520d4e2 gst/elements/: Print more buffer info in fakesink.
Original commit message from CVS:
* gst/elements/gstfakesink.c: (gst_fakesink_chain):
* gst/elements/gstidentity.c: (gst_identity_init),
(gst_identity_chain):
Print more buffer info in fakesink.
Make identity output similar to fakesink.
2004-06-09 14:19:50 +00:00
Benjamin Otte 790f0c3322 configure.ac: fix cross compiling not working. (fixes #143741)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* configure.ac:
fix cross compiling not working. (fixes #143741)
2004-06-07 03:13:50 +00:00
Benjamin Otte 4e4b651999 gst/gstelement.c: add failure check
Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_time_delay):
add failure check
* gst/gstinfo.h:
put brackets around macro arguments of GST_TIME_ARGS, add note to
move it to correct header in 0.9
2004-06-07 01:01:04 +00:00
Benjamin Otte 2b74c4fbb2 gst/indexers/gstfileindex.c: make debugging use a default category
Original commit message from CVS:
* gst/indexers/gstfileindex.c: (gst_file_index_get_writer_id),
(gst_file_index_load), (_file_index_id_save_entries),
(gst_file_index_commit), (gst_file_index_add_association),
(gst_file_index_add_entry), (gst_file_index_get_assoc_entry),
(gst_file_index_plugin_init):
make debugging use a default category
2004-06-06 23:39:39 +00:00
Benjamin Otte eb9087b14b gst/elements/gstfdsrc.c: reset offset counter when going READY => PAUSED. (fixes #142903)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
(gst_fdsrc_change_state):
reset offset counter when going READY => PAUSED. (fixes #142903)
2004-06-06 21:11:51 +00:00
Benjamin Otte 60de88e46c gst/registries/gstxmlregistry.c: don't rely on g_dir_open to figure out if a file is a directory, use explicit G_TEST...
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/registries/gstxmlregistry.c:
(gst_xml_registry_rebuild_recurse):
don't rely on g_dir_open to figure out if a file is a directory, use
explicit G_TEST_IS_DIR. Reiserfs4 allows opening files as
directories. (fixes #142850)
2004-06-06 20:40:29 +00:00
Sebastien Cote 502660a784 fix copyright in header and typo in debugging category name
Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_dispose), (gst_queue_change_state):
fix memory leaks (fixes #142795). Initial patch by Sebastien Cote
* libs/gst/bytestream/adapter.c:
* libs/gst/bytestream/adapter.h:
fix copyright in header and typo in debugging category name
2004-06-06 19:44:19 +00:00
Thomas Vander Stichele b5255eecec back to cvs
Original commit message from CVS:
back to cvs
2004-06-05 17:25:45 +00:00
Thomas Vander Stichele 5729f3b2a3 put back GST_CAT_DATAFLOW
Original commit message from CVS:
put back GST_CAT_DATAFLOW
2004-06-05 12:19:27 +00:00
David Schleef 3ce2d37899 autogen.sh: Add a temporary 'env' to test buildbot problems.
Original commit message from CVS:
* autogen.sh: Add a temporary 'env' to test buildbot problems.
2004-06-04 17:10:24 +00:00
Thomas Vander Stichele 644614bcec back to cvs
Original commit message from CVS:
back to cvs
2004-06-04 11:47:27 +00:00
Thomas Vander Stichele 7e0eba5ee0 add GST_DEBUG detection
Original commit message from CVS:
add GST_DEBUG detection
2004-06-03 16:50:50 +00:00
Thomas Vander Stichele a7754daef2 some fixes
Original commit message from CVS:
some fixes
2004-06-03 13:18:31 +00:00
Stéphane Loeuillet 64d7455777 forgot to update the ChangeLog, as usual
Original commit message from CVS:
forgot to update the ChangeLog, as usual
2004-05-28 05:09:44 +00:00
Wim Taymans b8ff3d3d63 gst/schedulers/gstoptimalscheduler.c: Don't try to follow the pad connections with other groups when a loop based ele...
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (remove_from_chain),
(chain_group_set_enabled), (create_group), (add_to_group),
(merge_groups), (setup_group_scheduler), (group_elements),
(gst_opt_scheduler_iterate), (gst_opt_scheduler_show):
Don't try to follow the pad connections with other groups
when a loop based element is added to the scheduler because
the bin will inform the scheduler about the pad links a little
later.
2004-05-27 15:38:49 +00:00
Wim Taymans d738f23c6a gst/schedulers/gstoptimalscheduler.c: Elements without a group can do a state change as well, just wait with the setu...
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
(remove_from_chain), (chain_group_set_enabled),
(setup_group_scheduler), (group_element_set_enabled),
(gst_opt_scheduler_state_transition), (gst_opt_scheduler_iterate),
(gst_opt_scheduler_show):
Elements without a group can do a state change as well, just wait
with the setup of the scheduling function when it is added to a
chain.
2004-05-27 11:29:18 +00:00
Wim Taymans 6187bf80e7 gst/schedulers/gstoptimalscheduler.c: Fixes to maintain internal consistency of the scheduler data structures.
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
(remove_from_chain), (chain_group_set_enabled), (add_to_group),
(merge_groups), (setup_group_scheduler),
(group_inc_links_for_element), (gst_opt_scheduler_iterate),
(gst_opt_scheduler_show):
Fixes to maintain internal consistency of the scheduler data
structures.
- adding an enabled group to a chain should increment the
number of enabled elements in that chain.
- removing an enabled group from a chain could disable the
chain.
- removing a disabled group from a chain could enable the
chain.
- add g_assert when internal inconsistency is detected.
- adding an element to a group could increase the number of
links this group has with other groups.
- merging two groups also merges the chains.
- also show group links in the _show method.

Please report regressions ASAP, so I can fix them.
2004-05-27 09:33:29 +00:00
Benjamin Otte 7193393c18 gst/gstcaps.c: don't print error messages when there is no error
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_structure_simplify):
don't print error messages when there is no error
* gst/gstvalue.c: (gst_value_compare_int_range):
compare the second value, too
* testsuite/caps/Makefile.am:
* testsuite/caps/random.c: (assert_on_error), (main):
add tests to make sure the two things above are checked for
2004-05-25 19:52:02 +00:00
Thomas Vander Stichele 8f6b611ee7 wrap header in _NEW
Original commit message from CVS:
wrap header in _NEW
2004-05-24 16:38:15 +00:00
Johan Dahlin 2e1ff49925 tools/gst-inspect.c (main): Cleanup most parts of it, don't be so verbose and print GstElement signal names all the t...
Original commit message from CVS:
* tools/gst-inspect.c (main): Cleanup most parts of it, don't be
so verbose and print GstElement signal names all the time.
2004-05-23 17:52:54 +00:00
David Schleef b3dda2995f gst/registries/gstxmlregistry.c: Fix warning on OS X. (bug #142957)
Original commit message from CVS:
* gst/registries/gstxmlregistry.c:
(gst_xml_registry_parse_padtemplate): Fix warning on OS X.
(bug #142957)
2004-05-22 20:46:25 +00:00
Thomas Vander Stichele ce74039b2d scrub cflags
Original commit message from CVS:
scrub cflags
2004-05-22 11:01:15 +00:00
Johan Dahlin 9afd2f70ab gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with __GNUC__, patch from Brian Cameron, fixes bug #142804
Original commit message from CVS:
* gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with
__GNUC__, patch from Brian Cameron, fixes bug #142804
2004-05-21 14:48:04 +00:00
David Schleef 854a9d8132 gst/gstindex.c: Fix overflows in comparison code. (bug #142819)
Original commit message from CVS:
* gst/gstindex.c: (gst_index_compare_func): Fix overflows in
comparison code.  (bug #142819)
2004-05-20 19:32:34 +00:00
Wim Taymans 4dd1a6b173 gst/gstbuffer.*: Added Comment to a flag. copy relevant flags in _buffer_copy.
Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_default_copy):
* gst/gstbuffer.h:
Added Comment to a flag.
copy relevant flags in _buffer_copy.
2004-05-20 17:44:03 +00:00
Thomas Vander Stichele 3e4573c20e add IN_CAPS buffer flag; add GST_TYPE_FIXED_LIST + functions
Original commit message from CVS:
add IN_CAPS buffer flag; add GST_TYPE_FIXED_LIST + functions
2004-05-20 17:03:02 +00:00
Johan Dahlin ee5d8e7dd8 docs/gst/Makefile.am (all-local): Re-add
Original commit message from CVS:
* docs/gst/Makefile.am (all-local): Re-add
2004-05-20 15:39:09 +00:00
Thomas Vander Stichele 395c4b195b fix distcheck
Original commit message from CVS:
fix distcheck
2004-05-20 12:40:31 +00:00
Thomas Vander Stichele dde5c1e9d2 fix autotest
Original commit message from CVS:
fix autotest
2004-05-19 17:47:26 +00:00
Thomas Vander Stichele 8c1922d167 use GST macros; add asserts
Original commit message from CVS:
use GST macros; add asserts
2004-05-19 17:22:53 +00:00
Thomas Vander Stichele 5e2fb3d072 clean up libs docs; add dataprotocol
Original commit message from CVS:
clean up libs docs; add dataprotocol
2004-05-19 16:37:53 +00:00
Benjamin Otte 182b3195cd gst/gstvalue.c: fix int variable deserialization and add a helper so we can actually debug this.
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_deserialize_int_helper):
fix int variable deserialization and add a helper so we can actually
debug this.
2004-05-19 14:20:46 +00:00
David Schleef cfe5791765 testsuite/debug/commandline.c: Call ./commandline, not argv[0]. Calling yourself is probably not the best way to con...
Original commit message from CVS:
* testsuite/debug/commandline.c: (main): Call ./commandline, not
argv[0].  Calling yourself is probably not the best way to
construct a test like this, btw.
2004-05-18 22:49:52 +00:00
Benjamin Otte 69b959e726 I think ChangeLog and me is a combination that leaves
Original commit message from CVS:
I think ChangeLog and me is a combination that leaves
2004-05-18 21:20:20 +00:00
Benjamin Otte 05c2afa7f9 gst/gstbin.c: don't
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_iterate_func), (gst_bin_iterate):
don't
* gst/schedulers/entryscheduler.c: (safe_cothread_switch),
(safe_cothread_destroy),
(gst_entry_scheduler_remove_all_cothreads),
(gst_entry_scheduler_reset), (_remove_cothread),
(gst_entry_scheduler_state_transition):
hold off cothread destruction if we're not in main cothread
* configure.ac:
* testsuite/Makefile.am:
add new test dir
* testsuite/schedulers/.cvsignore:
* testsuite/schedulers/Makefile.am:
add tests
* testsuite/schedulers/relink.c: (cb_handoff), (main):
check relinking and adding/removing elements from a running pipeline
* testsuite/schedulers/unlink.c: (cb_handoff), (main):
check unlinking in a running pipeline
* testsuite/schedulers/unref.c: (cb_handoff), (main):
check unreffing a running pipeline
* testsuite/schedulers/useless_iteration.c: (main):
check iterating a pipeline that contains running threads works
2004-05-18 21:18:43 +00:00
David Schleef 237bc63426 docs/gst/Makefile.am: Add all-local target for when HAVE_GTK_DOC is false.
Original commit message from CVS:
* docs/gst/Makefile.am: Add all-local target for when HAVE_GTK_DOC
is false.
2004-05-18 20:42:57 +00:00
Wim Taymans 49342d34fc gst/schedulers/gstoptimalscheduler.c: Fixed an error introduced with patch for 1.63. When setting a get based element...
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
(setup_group_scheduler), (gst_opt_scheduler_pad_link):
Fixed an error introduced with patch for 1.63. When setting
a get based element as the entry point in a group, make sure
to mark the group as GET based.
2004-05-18 17:03:41 +00:00
Wim Taymans 53dc1b170e gst/schedulers/gstoptimalscheduler.c: Added some more debug info and fixed a bug where the group type was set to LOOP...
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (create_group),
(setup_group_scheduler), (loop_group_schedule_function),
(gst_opt_scheduler_pad_link):
Added some more debug info and fixed a bug where the group
type was set to LOOP but it was in fact unknown.
2004-05-18 16:44:44 +00:00
Benjamin Otte 03e5b961dc gst/schedulers/entryscheduler.c: make resetting scheduler work twice in a row
Original commit message from CVS:
* gst/schedulers/entryscheduler.c: (gst_entry_scheduler_reset):
make resetting scheduler work twice in a row
2004-05-18 01:47:33 +00:00
Benjamin Otte 463361defb gst/gstvalue.c: add serialization and comparison functions for long, int64, enum and float values
Original commit message from CVS:
* gst/gstvalue.c: (gst_strtoll), (CREATE_SERIALIZATION),
(CREATE_USERIALIZATION), (_gst_value_initialize),
(gst_value_compare_float), (gst_value_serialize_float),
(gst_value_deserialize_float), (gst_value_compare_enum),
(gst_value_serialize_enum), (gst_value_deserialize_enum):
add serialization and comparison functions for long, int64, enum and
float values
* gst/gstvalue.c: (gst_value_serialize), (gst_value_deserialize):
use best serialization function in type hierarchy instead of only a
matching one. This is required for enums to work.
* gst/parse/grammar.y:
use gst_caps_deserialize
* testsuite/parse/Makefile.am:
parse1 now works
* testsuite/parse/parse1.c: (main):
remove aggregator check, aggregator is broken, this test works now
but fails because of bug #138012
* testsuite/parse/parse2.c: (main):
s/xvideosink/xvimagesink - this test looks a lot like we should
disable it
2004-05-18 01:36:14 +00:00
Benjamin Otte 5d353409c2 gst/gstelement.c: whoops, store the signal id correctly
Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_init):
whoops, store the signal id correctly
* gst/schedulers/gstbasicscheduler.c:
(gst_basic_scheduler_chain_wrapper):
detect infinfinfinfinfinf^Cinite loops in chain wrapper when the
chain function isn't linked
2004-05-13 15:07:56 +00:00
Jan Schmidt 7dcd6a0533 configure.ac: Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file support until we decide where the fla...
Original commit message from CVS:
* configure.ac:
Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file
support until we decide where the flags should be used
* gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_query):
Use GST_FORMAT_BYTES when GST_FORMAT_DEFAULT is passed
* gst/gstpad.c: (gst_pad_link_call_link_functions):
Output refused caps in the debug info
2004-05-13 12:06:11 +00:00
Thomas Vander Stichele 0cdc821508 gst/elements/gstidentity.c: add duration debug
Original commit message from CVS:
* gst/elements/gstidentity.c: (gst_identity_chain):
add duration debug
* gst/gstinfo.c: (gst_debug_log_default):
add timestamp
2004-05-13 10:10:31 +00:00
Benjamin Otte 953f54c5ce gst/gstpipeline.c: call gst_scheduler_reset on dispose (fixes #141416)
Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_dispose),
(gst_pipeline_change_state):
call gst_scheduler_reset on dispose (fixes #141416)
2004-05-12 23:43:03 +00:00
Benjamin Otte ac83b103a1 gst/elements/gstfilesrc.c: compute mapsize correctly
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
compute mapsize correctly
* gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
use correct datatypes when calling a varargs function
* gst/elements/gsttypefindelement.c: (stop_typefinding):
push a DISCONT event as first thing
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
remove GST_DATAFLOW debugging category
* gst/gstbin.c: (gst_bin_iterate):
use GST_SCHEDULING category
* gst/gstpad.c: (gst_pad_get_type), (_invent_event),
(gst_pad_push), (gst_pad_pull), (gst_pad_call_chain_function),
(gst_pad_call_get_function):
add GST_DATAFLOW to easily track flow of buffers or events.
* gst/gstqueue.c: (gst_queue_get_type),
(gst_queue_handle_pending_events), (gst_queue_chain),
(gst_queue_get), (gst_queue_handle_src_event):
use own static debugging category GST_DATAFLOW for dataflow,
use DEBUG category for showing which path events go, use LOG
category for buffers.
2004-05-11 16:20:41 +00:00
David Schleef 4b87c77d49 docs/gst/gstreamer-sections.txt: Add gst_element_no_more_pads.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt: Add gst_element_no_more_pads.
2004-05-11 03:44:26 +00:00
David Schleef eb8249f544 docs/gst/Makefile.am: Dear gtk-doc, please print out the unused symbols, because otherwise we don't know what they ar...
Original commit message from CVS:
* docs/gst/Makefile.am: Dear gtk-doc, please print out the unused
symbols, because otherwise we don't know what they are.  Thanks,
the GStreamer team.
* gst/registries/gstxmlregistry.c: (make_dir): Remove a spurious ;
2004-05-11 03:05:00 +00:00
David Schleef 3a9c8f63d6 (from Steve Lhomme)
Original commit message from CVS:
(from Steve Lhomme)
* win32/Makefile: When using make clean the MS Visual Studio makefiles
are deleted.  Fix.
* win32/Makefile.inspect:
* win32/Makefile.launch:
* win32/Makefile.register:
2004-05-10 22:49:01 +00:00
David Schleef 037c9d2b34 gst/gstinfo.h: Add missing inline function.
Original commit message from CVS:
* gst/gstinfo.h: Add missing inline function.
* gst/gsttrace.c: add include
* gst/parse/grammar.y: remove unused code
* gst/registries/gstxmlregistry.c: (make_dir): make mkdir call
more portable.
* tools/gst-register.c: wrap unistd.h
More additions/fixes from Steve for the MSVC build.
* win32/GStreamer.vcproj:
* win32/Makefile:
* win32/Makefile.inspect:
* win32/Makefile.launch:
* win32/Makefile.register:
* win32/README.txt:
* win32/gst-inspect.vcproj:
* win32/gst-launch.vcproj:
* win32/gst-register.vcproj:
* win32/gstbytestream.def:
* win32/gstbytestream.vcproj:
* win32/gstconfig.h:
* win32/gstelements.def:
* win32/gstelements.vcproj:
* win32/gstenumtypes.c:
* win32/gstenumtypes.h:
* win32/gstoptimalscheduler.def:
* win32/gstoptimalscheduler.vcproj:
* win32/gstreamer.def:
* win32/gstspider.def:
* win32/gstspider.vcproj:
* win32/gstversion.h:
* win32/msvc71.sln:
2004-05-10 18:07:24 +00:00
Benjamin Otte aafaa5b7e2 gst/gstelement.*: add gst_element_no_more_pads and the "no-more-pads" signal
Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_no_more_pads):
* gst/gstelement.h:
add gst_element_no_more_pads and the "no-more-pads" signal
2004-05-10 16:48:44 +00:00
Benjamin Otte a68e369765 gst/gstregistry.c: refuse to add plugins when a plugin with same name is already registered. Fixes a bunch of "How to...
Original commit message from CVS:
* gst/gstregistry.c: (gst_registry_add_plugin):
refuse to add plugins when a plugin with same name is already
registered. Fixes a bunch of "How to remove plugins?" issues.
May lead to other problems though, let's test
2004-05-10 00:35:59 +00:00
Stéphane Loeuillet 4e0df2c413 testsuite/caps/caps_strings: audio/ac3 => audio/x-ac3
Original commit message from CVS:
* testsuite/caps/caps_strings : audio/ac3 => audio/x-ac3
* docs/manual/pads-api.xml : audio/wav => audio/x-wav
* docs/random/uraeus/gstreamer_and_midi.txt : audio/wav => audio/x-wav
2004-05-10 00:14:40 +00:00
Thomas Vander Stichele 2cb849415c uraeus fix
Original commit message from CVS:
uraeus fix
2004-05-09 14:30:04 +00:00
Benjamin Otte 530d023e87 libs/gst/bytestream/Makefile.am: we should indeed add .c files to makefiles or they won't be built (d'oh)
Original commit message from CVS:
* libs/gst/bytestream/Makefile.am:
we should indeed add .c files to makefiles or they won't be built
(d'oh)
2004-05-09 14:17:32 +00:00
Benjamin Otte a6c45e0b76 gst/gstpad.c: really reduce the set of caps
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_proxy_fixate):
really reduce the set of caps
2004-05-08 18:27:11 +00:00