Commit graph

591 commits

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