Commit graph

889 commits

Author SHA1 Message Date
Thomas Vander Stichele
5dbc1e3916 ignore more
Original commit message from CVS:
ignore more
2004-12-17 11:17:01 +00:00
Thomas Vander Stichele
305e424cdc make the test slightly less expensive
Original commit message from CVS:
make the test slightly less expensive
2004-12-17 11:09:34 +00:00
Benjamin Otte
bdc0432ec6 gst/gstvalue.c: revert last patch, only dom a g_utf8_validate now before accepting the string - caps parsing strips "...
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_deserialize_string):
revert last patch, only dom a g_utf8_validate now before accepting
the string - caps parsing strips " from strings so we can't rely on
them
* testsuite/caps/value_serialize.c: (test_string_deserialization):
disable a test that tested the above and comment it
2004-12-17 02:52:24 +00:00
Benjamin Otte
0c11c636bd gst/gstvalue.c: check that a simple string that gets deserialized does not contain invalid characters
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_deserialize_string):
check that a simple string that gets deserialized does not contain
invalid characters
* testsuite/caps/value_serialize.c: (test_string_deserialization):
remove a test that tested a wring behaviour
2004-12-16 20:56:52 +00:00
Ronald S. Bultje
d0bcc34dad docs/manual/: Try 2. This time, include a short preface as a "general introduction", also add code blocks around all ...
Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml:
* docs/manual/advanced-clocks.xml:
* docs/manual/advanced-interfaces.xml:
* docs/manual/advanced-metadata.xml:
* docs/manual/advanced-position.xml:
* docs/manual/advanced-schedulers.xml:
* docs/manual/advanced-threads.xml:
* docs/manual/appendix-gnome.xml:
* docs/manual/appendix-programs.xml:
* docs/manual/appendix-quotes.xml:
* docs/manual/autoplugging.xml:
* docs/manual/basics-bins.xml:
* docs/manual/basics-data.xml:
* docs/manual/basics-elements.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-init.xml:
* docs/manual/basics-pads.xml:
* docs/manual/basics-plugins.xml:
* docs/manual/bins-api.xml:
* docs/manual/bins.xml:
* docs/manual/buffers-api.xml:
* docs/manual/buffers.xml:
* docs/manual/clocks.xml:
* docs/manual/components.xml:
* docs/manual/cothreads.xml:
* docs/manual/debugging.xml:
* docs/manual/dparams-app.xml:
* docs/manual/dynamic.xml:
* docs/manual/elements-api.xml:
* docs/manual/elements.xml:
* docs/manual/factories.xml:
* docs/manual/gnome.xml:
* docs/manual/goals.xml:
* docs/manual/helloworld.xml:
* docs/manual/helloworld2.xml:
* docs/manual/highlevel-components.xml:
* docs/manual/highlevel-xml.xml:
* docs/manual/init-api.xml:
* docs/manual/intro-basics.xml:
* docs/manual/intro-motivation.xml:
* docs/manual/intro-preface.xml:
* docs/manual/intro.xml:
* docs/manual/links-api.xml:
* docs/manual/links.xml:
* docs/manual/manual.xml:
* docs/manual/motivation.xml:
* docs/manual/pads-api.xml:
* docs/manual/pads.xml:
* docs/manual/plugins-api.xml:
* docs/manual/plugins.xml:
* docs/manual/programs.xml:
* docs/manual/queues.xml:
* docs/manual/quotes.xml:
* docs/manual/schedulers.xml:
* docs/manual/states-api.xml:
* docs/manual/states.xml:
* docs/manual/threads.xml:
* docs/manual/typedetection.xml:
* docs/manual/win32.xml:
* docs/manual/xml.xml:
Try 2. This time, include a short preface as a "general
introduction", also add code blocks around all code samples
so they get compiled. We still need a way to tell readers
the filename of the code sample. In some cases, don't show
all code in the documentation, but do include it in the generated
code. This allows for focussing on specific bits in the docs,
while still having a full test application available.
* examples/manual/Makefile.am:
Fix up examples for new ADM. Add several of the new examples that
were either added or were missing from the build system.
* examples/manual/extract.pl:
Allow nameless blocks.
2004-12-15 17:32:49 +00:00
Thomas Vander Stichele
5ebd92789b fix last example. Add example of adding code blocks that are not shown in docbook output.
Original commit message from CVS:

* docs/manual/elements-api.xml:
* docs/manual/helloworld.xml:
* examples/manual/extract.pl:
fix last example.  Add example of adding code blocks that are not
shown in docbook output.
2004-12-15 11:54:26 +00:00
Thomas Vander Stichele
c1ab023379 Make it possible to extract example code from separate blocks.
Original commit message from CVS:
* docs/manual/dynamic.xml:
* docs/manual/elements-api.xml:
* docs/manual/gnome.xml:
* docs/manual/helloworld2.xml:
* docs/manual/init-api.xml:
* docs/manual/queues.xml:
* docs/manual/threads.xml:
* docs/manual/xml.xml:
* examples/manual/extract.pl:
Make it possible to extract example code from separate blocks.
Should make Ronald happy.
2004-12-15 11:29:14 +00:00
Wim Taymans
522f5f7231 Added testcase for failing bin iterate function due to glib thread-unsafeness.
Original commit message from CVS:
Added testcase for failing bin iterate function due to glib thread-unsafeness.
2004-11-29 17:29:37 +00:00
Wim Taymans
4c20dfd33d testsuite/threads/: Added a bunch of testcases that show threadsafety bugs in glib.
Original commit message from CVS:
* testsuite/threads/Makefile.am:
* testsuite/threads/signals.c: (gst_test_get_type),
(gst_test_class_init), (gst_test_init), (gst_test_dispose),
(gst_test_set_property), (gst_test_get_property),
(gst_test_do_signal1), (signal2_handler), (gst_test_do_signal2),
(gst_test_do_prop), (run_thread), (main):
Added a bunch of testcases that show threadsafety bugs in glib.
2004-11-29 14:27:04 +00:00
Benjamin Otte
a9bad8aa6e gst/gstelement.c: simplify
Original commit message from CVS:
* gst/gstelement.c: (gst_element_negotiate_pads):
simplify
* gst/gstvalue.c: (gst_string_wrap), (gst_string_unwrap),
(gst_value_serialize_string), (gst_value_deserialize_string):
add unwrapping of previously wrapped strings. Fix bug in wrapping
while at it.
* testsuite/caps/value_serialize.c: (test1),
(test_string_serialization), (test_string_deserialization), (main):
add tests for string (de)serialization
2004-11-28 18:02:48 +00:00
Wim Taymans
7d5e71663c testsuite/threads/: Added testsuite to show bug #159566
Original commit message from CVS:
* testsuite/threads/159566.c: (object_deep_notify), (main):
* testsuite/threads/Makefile.am:
Added testsuite to show bug #159566
2004-11-26 18:29:06 +00:00
Wim Taymans
df7f3e4161 Added testcase for schduler segfault.
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (add_to_group),
(remove_from_group), (normalize_group), (group_migrate_connected),
(gst_opt_scheduler_iterate):
* testsuite/schedulers/.cvsignore:
* testsuite/schedulers/Makefile.am:
* testsuite/schedulers/queue_link.c: (main):
Added testcase for schduler segfault.
Fix scheduler segfault when removing a decoupled
entry point as the last element from a group.
2004-11-04 11:03:48 +00:00
Wim Taymans
3cf9fdfcb7 Since parse can do 'element name=a:b' make 'a:b.' work as well.
Original commit message from CVS:
* gst/parse/parse.l:
* testsuite/parse/parse1.c: (main):
Since parse can do 'element name=a:b' make 'a:b.' work as
well.
Added testcase to verify fix.
2004-10-19 09:38:20 +00:00
David Schleef
7a054da4e9 examples/manual/Makefile.am: $< isn't portable in Makefile rules.
Original commit message from CVS:
* examples/manual/Makefile.am: $< isn't portable in Makefile
rules.
2004-10-13 23:53:41 +00:00
Thomas Vander Stichele
a608f7e770 ouch, this breaks our test bots heavily :)
Original commit message from CVS:
ouch, this breaks our test bots heavily :)
2004-09-09 21:15:45 +00:00
Thomas Vander Stichele
bb22738d21 disable the tests that still fail on SMP
Original commit message from CVS:
disable the tests that still fail on SMP
2004-09-09 19:09:49 +00:00
Wim Taymans
8448b21439 Added missing tests
Original commit message from CVS:
Added missing tests
2004-09-09 08:56:51 +00:00
Thomas Vander Stichele
ecb3dc6865 unbreak testsuite
Original commit message from CVS:
unbreak testsuite
2004-09-08 23:37:07 +00:00
Thomas Vander Stichele
bba6ac4b74 docs/: restructure so that common stuff is shown first
Original commit message from CVS:
* docs/Makefile.am:
* docs/manual/elements-api.xml:
restructure so that common stuff is shown first
* docs/manual/init-api.xml:
convert to examples
* docs/manual/manual.xml:
* docs/manuals.mak:
* docs/url.entities:
link to API on the website, possibly override later in build
* examples/manual/.cvsignore:
ignore more
* examples/manual/Makefile.am:
add more examples
* examples/manual/extract.pl:
error out on failure
2004-09-08 23:18:55 +00:00
Thomas Vander Stichele
00ec0495e1 two more examples
Original commit message from CVS:
two more examples
2004-09-08 21:43:59 +00:00
Wim Taymans
5905655ead Reworked the GstThread implementation, make more operations threadsafe and more reliable.
Original commit message from CVS:
* gst/gstthread.c: (gst_thread_dispose), (gst_thread_sync),
(gst_thread_change_state), (gst_thread_child_state_change),
(gst_thread_main_loop):
* gst/gstthread.h:
* testsuite/threads/Makefile.am:
* testsuite/threads/queue.c:
* testsuite/threads/thread.c: (construct_pipeline), (change_state),
(main):
* testsuite/threads/threadc.c: (construct_pipeline):
* testsuite/threads/threadd.c: (main):
* testsuite/threads/threade.c: (main):
* testsuite/threads/threadf.c:
Reworked the GstThread implementation, make more operations
threadsafe and more reliable.
Moved testcases from the failing to the working list.
2004-09-06 15:57:11 +00:00
Benjamin Otte
e1ef5586cd testsuite/: s/gst_pad_new/&_from_template/ prepare deprecation of gst_pad_new
Original commit message from CVS:
* testsuite/bytestream/gstbstest.c: (gst_bstest_init):
* testsuite/dynparams/dparamstest.c: (gst_dptest_init):
* testsuite/refcounting/pad.c: (main):
* testsuite/refcounting/thread.c: (create_thread_ghostpads):
s/gst_pad_new/&_from_template/
prepare deprecation of gst_pad_new
2004-08-17 10:16:35 +00:00
Benjamin Otte
0148ca0f38 tests/mass_elements.c: allow specifying src and sink element explicitly, so I can test videotestsrc instead of fakesrc
Original commit message from CVS:
* tests/mass_elements.c: (main):
allow specifying src and sink element explicitly, so I can test
videotestsrc instead of fakesrc
2004-08-04 12:54:22 +00:00
Thomas Vander Stichele
8f0fda26d0 revert state change changes as agreed so we can rework them gradually
Original commit message from CVS:
revert state change changes as agreed so we can rework them gradually
2004-07-29 20:33:49 +00:00
Wim Taymans
ab1a23ffa2 More pendatic checks removed.
Original commit message from CVS:
More pendatic checks removed.
2004-07-29 16:01:58 +00:00
Wim Taymans
8615072540 testsuite/caps/fraction-convert.c: Make the test less pedantic about float roundoff errors.
Original commit message from CVS:
* testsuite/caps/fraction-convert.c: (check_from_double_convert),
(check_from_fraction_convert), (transform_test), (main):
Make the test less pedantic about float roundoff errors.
2004-07-29 15:40:00 +00:00
Benjamin Otte
3d67acc6cd /me kicks ds
Original commit message from CVS:
/me kicks ds
2004-07-29 15:37:44 +00:00
Benjamin Otte
6788d167d6 gst/elements/gstfilesrc.c: make seek events to before start/after end of file not fail, but seek to start/end instead
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_open_file),
(gst_filesrc_srcpad_event):
make seek events to before start/after end of file not fail, but
seek to start/end instead
* testsuite/caps/fraction-convert.c: (check_from_double_convert):
add more output
2004-07-29 15:34:25 +00:00
Thomas Vander Stichele
0dc1a2b42f fix distchekc
Original commit message from CVS:
fix distchekc
2004-07-29 15:15:16 +00:00
David Schleef
2c4c302945 testsuite/elements/: A little test to keep distcheck from working if someone changes a structure size accidentally.
Original commit message from CVS:
* testsuite/elements/Makefile.am:
* testsuite/elements/struct_i386.h:
* testsuite/elements/struct_size.c: (main):  A little test
to keep distcheck from working if someone changes a structure
size accidentally.
2004-07-28 19:16:44 +00:00
Thomas Vander Stichele
576559bba9 sigh, remove here too of course
Original commit message from CVS:
sigh, remove here too of course
2004-07-28 12:02:24 +00:00
Thomas Vander Stichele
567bd4a202 more ignore, add enumcaps.c
Original commit message from CVS:
more ignore, add enumcaps.c
2004-07-28 11:58:42 +00:00
Thomas Vander Stichele
cc62cef6fa fold enumcaps into caps/; clean up Makefile.am files
Original commit message from CVS:
fold enumcaps into caps/; clean up Makefile.am files
2004-07-28 11:43:04 +00:00
Wim Taymans
36b41f4666 Added transform functions between double and fraction.
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_transform_double_fraction),
(gst_value_transform_fraction_double), (_gst_value_initialize):
* testsuite/caps/Makefile.am:
* testsuite/caps/fraction-convert.c: (check_from_double_convert),
(check_from_fraction_convert), (transform_test), (main):
Added transform functions between double and fraction.
Added testcase to verify transforms
2004-07-27 16:45:30 +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
Wim Taymans
96c58fdeab group_link works now
Original commit message from CVS:
group_link works now
2004-07-22 09:44:50 +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
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
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
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
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
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
Thomas Vander Stichele
e684907eb2 remove this for later gvalue testsuite dir
Original commit message from CVS:
remove this for later gvalue testsuite dir
2004-07-15 23:25:11 +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
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
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
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
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
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
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
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
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
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
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
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
8700681d60 whoops, forgot to update Makefile - let's see if the buildbots like this one
Original commit message from CVS:
whoops, forgot to update Makefile - let's see if the buildbots like this one
2004-06-20 17:35:33 +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
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
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
Thomas Vander Stichele
d29bf4183d tell us more about your failure
Original commit message from CVS:
tell us more about your failure
2004-05-19 18:50:35 +00:00
Thomas Vander Stichele
6e01a39feb don't put in a test that fails on all platforms
Original commit message from CVS:
don't put in a test that fails on all platforms
2004-05-19 17:47:55 +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
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
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
Stéphane Loeuillet
3a79c0a7e9 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2004-05-11 12:17:58 +00:00
Stéphane Loeuillet
683e6c359f one more video/dv => video/x-dv
Original commit message from CVS:
one more video/dv => video/x-dv
2004-05-10 13:29:25 +00:00
Stéphane Loeuillet
fd675328b2 internal mime types : video/x-dv, not video/dv
Original commit message from CVS:
internal mime types : video/x-dv, not video/dv
2004-05-10 03:10:18 +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
d0459102c0 tests/: add benchmark to test how long spider needs to create a pipeline
Original commit message from CVS:
* tests/Makefile.am:
* tests/spidey_bench.c: (handoff), (main):
add benchmark to test how long spider needs to create a pipeline
2004-05-08 17:38:24 +00:00
David Schleef
28942dc4ed testsuite/caps/caps.c: A check for appending
Original commit message from CVS:
* testsuite/caps/caps.c: (test3), (main): A check for appending
ANY caps.
2004-05-08 01:41:12 +00:00
Benjamin Otte
83c7c626f0 testsuite/caps/renegotiate.c: improve output in error case
Original commit message from CVS:
* testsuite/caps/renegotiate.c: (main):
improve output in error case
2004-05-04 19:41:51 +00:00
Benjamin Otte
2696ee9c90 gst/parse/grammar.y: fix assert to not trigger when there's no error argument
Original commit message from CVS:
* gst/parse/grammar.y:
fix assert to not trigger when there's no error argument
* gst/parse/parse.l:
fix definition of caps to allow more than two structures
* testsuite/caps/Makefile.am:
* testsuite/caps/renegotiate.c: (main):
it's sinesrc and works in that case
2004-05-04 17:00:11 +00:00
Thomas Vander Stichele
8be32795c6 fix Rules
Original commit message from CVS:
fix Rules
2004-05-04 12:47:58 +00:00
Thomas Vander Stichele
e7b9201555 reorganize C/LIB flags add gst_info to gstcompat.h
Original commit message from CVS:
reorganize C/LIB flags
add gst_info to gstcompat.h
2004-05-04 12:38:36 +00:00
David Schleef
a84c8398c2 The "once more, with feeling" check-in.
Original commit message from CVS:
The "once more, with feeling" check-in.
* testsuite/caps/Makefile.am: dist caps_strings
* testsuite/caps/renegotiate.c: (main): This test triggers a
segfault in the core.  Marking as failing.
2004-05-04 08:09:36 +00:00
David Schleef
c3158814b5 testsuite/caps/deserialize.c: Fix problems noticed by the build bots.
Original commit message from CVS:
* testsuite/caps/deserialize.c: (main): Fix problems noticed
by the build bots.
* testsuite/caps/renegotiate.c: (main): Same.
2004-05-04 06:23:48 +00:00
David Schleef
cbafc0d49b testsuite/caps/renegotiate.c: Another test.
Original commit message from CVS:
* testsuite/caps/renegotiate.c: (my_fixate), (main): Another test.
2004-05-04 02:33:41 +00:00
David Schleef
2a410443b7 testsuite/caps/deserialize.c: Use the srcdir environment variable to find our source file.
Original commit message from CVS:
* testsuite/caps/deserialize.c: (main): Use the srcdir environment variable
to find our source file.
2004-05-04 02:30:11 +00:00
David Schleef
d8f937790c configure.ac: Link plugins with libgstreamer and dependent libraries
Original commit message from CVS:
* configure.ac:  Link plugins with libgstreamer and dependent
libraries
* testsuite/caps/Makefile.am:
* testsuite/caps/caps_strings:
* testsuite/caps/deserialize.c: (main): Add a little test to slog
through a file of caps strings and test each one
2004-05-04 01:58:36 +00:00
David Schleef
e598685f52 testsuite/caps/Makefile.am: Fix spelling of Ηρατοσθενες
Original commit message from CVS:
* testsuite/caps/Makefile.am: Fix spelling of Ηρατοσθενες
* testsuite/caps/erathostenes.c:
* testsuite/caps/eratosthenes.c: (eratosthenes), (main):
2004-05-03 22:00:53 +00:00
Stéphane Loeuillet
d2c0d11ea9 disksink -> filesink
Original commit message from CVS:
disksink -> filesink
2004-05-03 01:06:56 +00:00
Thomas Vander Stichele
c00b874061 #ifdef new symbol
Original commit message from CVS:
#ifdef new symbol
2004-04-23 09:21:24 +00:00
Benjamin Otte
bb1302b533 gst/gstcaps.c: fix simplifying and subtracting not working correctly with optional properties solve assorted problems...
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_structure_subtract_field),
(gst_caps_structure_subtract), (gst_caps_subtract),
(gst_caps_structure_figure_out_union),
(gst_caps_structure_simplify), (gst_caps_do_simplify):
fix simplifying and subtracting not working correctly with optional
properties
solve assorted problems that make it now simplify ebven more
* docs/gst/tmpl/gstcaps.sgml:
* gst/gstcaps.h:
make gst_caps_do_simplify return a bool to indicate if it simplified
* testsuite/caps/simplify.c: (main):
add more checks. The tests is quite a bit useless right now because
the core is heavily simplifying itself.
* testsuite/caps/caps.h:
fix caps to contain all optional properties
2004-04-22 23:50:46 +00:00
Benjamin Otte
1c0dbd87b9 docs/gst/tmpl/: update for recent API changes
Original commit message from CVS:
* docs/gst/tmpl/gstcaps.sgml:
* docs/gst/tmpl/gstfilesrc.sgml:
* docs/gst/tmpl/gststructure.sgml:
* docs/gst/tmpl/gstvalue.sgml:
update for recent API changes
* gst/gstcaps.c: (gst_caps_do_simplify):
fix to stop trying with a freed structure
* gst/gstpad.c: (gst_pad_link_fixate):
simplify caps
* gst/gstpad.c: (gst_pad_template_get_caps_by_name):
remove C++ comment
* gst/gstpad.h:
deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway
* gst/gststructure.c: (gst_structure_value_get_generic_type),
(gst_structure_to_string):
keep the correct type when using lists of ranges
* gst/gstvalue.c: (gst_value_list_prepend_value),
(gst_value_list_append_value):
copy the value before adding to the list (d'oh)
* gst/gstvalue.c: (gst_value_subtract_int_range_int),
(gst_value_subtract_int_range_int_range):
handle overflows correctly
* gst/gstvalue.c: (gst_value_subtract_from_list):
fix memleak
* testsuite/caps/caps.h:
add a caps that caused segfaults
2004-04-22 16:39:23 +00:00
Benjamin Otte
a6c11fb9f8 testsuite/refcounting/pad.c: fix test
Original commit message from CVS:
* testsuite/refcounting/pad.c: (main):
fix test
2004-04-22 05:08:19 +00:00
Benjamin Otte
0ebe57e7d5 update cvsignore
Original commit message from CVS:
update cvsignore
2004-04-22 04:47:20 +00:00
Benjamin Otte
d7c64c071b gst/gstcaps.c: fix bug when converting from empty string.
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_from_string_inplace):
fix bug when converting from empty string.
* gst/gstcaps.c: (gst_caps_new_any), (gst_caps_new_simple),
(gst_caps_new_full_valist), (gst_caps_copy), (gst_caps_copy_1):
use gst_caps_new_empty to allocate a new caps. Only that function
allocates memory for caps now.
* gst/gstcaps.c: (gst_caps_remove_and_get_structure),
(gst_caps_remove_structure):
add ability to remove one structure (but not to header yet)
* gst/gstcaps.c: (gst_caps_compare_structures),
(gst_caps_simplify), (gst_caps_structure_figure_out_union),
(gst_caps_structure_simplify), (gst_caps_do_simplify),
* gst/gstcaps.h:
add gst_caps_do_simplify that tries to simplify a caps in place.
Deprecate old gst_caps_simplify function.
* testsuite/caps/caps.h:
add caps.h containing a common set of caps to test against.
* testsuite/caps/sets.c: (check_caps), (main):
use it.
* testsuite/caps/.cvsignore:
* testsuite/caps/Makefile.am:
* testsuite/caps/simplify.c: (check_caps), (main):
add test to check correctness and efficency of caps simplification.
2004-04-22 02:35:13 +00:00
Benjamin Otte
a3cb86522a gst/gstpad.c: refuse to link if the link is not possible
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_link_negotiate):
refuse to link if the link is not possible
* configure.ac:
* testsuite/Makefile.am:
* testsuite/negotiation/.cvsignore:
* testsuite/negotiation/Makefile.am:
* testsuite/negotiation/pad_link.c: (main):
add test that checks the above behaviour
2004-04-21 19:12:51 +00:00
Benjamin Otte
614b4d1627 gst/gstcaps.c: check for ANY caps before appending/unioning
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_append), (gst_caps_union):
check for ANY caps before appending/unioning
* gst/gstcaps.c: (gst_caps_is_subset),
(gst_caps_is_equal), (gst_caps_structure_subtract_field),
(gst_caps_structure_subtract), (gst_caps_subtract):
* gst/gstcaps.h:
add gst_caps_is_equal, gst_caps_is_subset and gst_caps_subtract to
the API. deprecate gst_caps_is_equal_fixed
* gst/gstpad.c: (gst_pad_try_set_caps):
* gst/gstqueue.c: (gst_queue_link):
s/gst_caps_is_equal_fixed/gst_caps_is_equal/
* gst/gststructure.c: (gst_structure_get_name_id):
* gst/gststructure.h:
add function gst_structure_get_name_id
* gst/gstvalue.c: (gst_value_subtract_int_int_range),
(gst_value_create_new_range), (gst_value_subtract_int_range_int),
(gst_value_subtract_int_range_int_range),
(gst_value_subtract_double_double_range),
(gst_value_subtract_double_range_double),
(gst_value_subtract_double_range_double_range),
(gst_value_subtract_from_list), (gst_value_subtract_list),
(gst_value_can_intersect), (gst_value_subtract),
(gst_value_can_subtract), (gst_value_register_subtract_func),
(_gst_value_initialize):
* gst/gstvalue.h:
add support for subtracting values from each other. Note that
subtracting means subtracting as in set theory. Required for caps
stuff above.
* testsuite/caps/.cvsignore:
* testsuite/caps/Makefile.am:
* testsuite/caps/erathostenes.c: (erathostenes), (main):
* testsuite/caps/sets.c: (check_caps), (main):
* testsuite/caps/subtract.c: (check_caps), (main):
add tests for subtraction and equality code.
2004-04-21 03:25:13 +00:00
David Schleef
828252e0f2 common/as-libtool.mak: Fine-tune DLL building.
Original commit message from CVS:
* common/as-libtool.mak: Fine-tune DLL building.
* configure.ac: Link plugins against libgstreamer.  Define plugindir
(like gst-plugins)
* examples/plugins/Makefile.am: remove plugindir
* gst/autoplug/Makefile.am: DLL building fixes
* gst/elements/Makefile.am: DLL building fixes.  Disable pipefilter on
Windows.
* gst/elements/gstelements.c: Conditionally disable pipefilter.
* gst/indexers/Makefile.am: DLL building fixes
* gst/schedulers/Makefile.am: DLL building fixes.
* libs/gst/bytestream/Makefile.am: DLL building fixes.
* libs/gst/control/Makefile.am: same
* libs/gst/getbits/Makefile.am: same
* testsuite/Makefile.am: New dlopen directory
* testsuite/dlopen/Makefile.am: Tests to check if libgstreamer works
when dlopened.
* testsuite/dlopen/dlopen_gst.c: (main): same
* testsuite/dlopen/loadgst.c: (do_test): same
2004-04-20 22:22:01 +00:00
Benjamin Otte
5f524cd068 testsuite/caps/filtercaps.c: fix test to test things correctly (caps are complicated)
Original commit message from CVS:
* testsuite/caps/filtercaps.c: (main):
fix test to test things correctly (caps are complicated)
2004-04-20 03:07:12 +00:00
Benjamin Otte
781e79e043 testsuite/caps/: add test (that doesn't work right now, but should)
Original commit message from CVS:
* testsuite/caps/Makefile.am:
* testsuite/caps/filtercaps.c: (main):
add test (that doesn't work right now, but should)
2004-04-20 02:43:35 +00:00
Thomas Vander Stichele
7ad9aa8526 do error checking instead of segfaulting
Original commit message from CVS:
do error checking instead of segfaulting
2004-04-16 10:17:55 +00:00
David Schleef
66f00f1c78 docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
* docs/gst/tmpl/gstinfo.sgml: same
* docs/gst/tmpl/gstutils.sgml: Remove a bunch of bogus crap that
gtk-doc put here.
* gst/gstutils.h: Remove the \ that was confusing gtk-doc.
* examples/queue/queue.c: (main):  We iterate pipelines, not
bins.  (bug #139996)
2004-04-16 01:34:05 +00:00
Thomas Vander Stichele
43f190df39 releasing
Original commit message from CVS:
releasing
2004-04-15 11:30:32 +00:00
David Schleef
3547072600 testsuite/Makefile.am: define tests_ignore
Original commit message from CVS:
* testsuite/Makefile.am: define tests_ignore
* testsuite/Rules: Added new tests_ignore, which get compiled,
but not run (generally because they're inconsistent or have
heisenbugs).  Now we can ensure all the .c files compile in
testsuite/.
* testsuite/bins/Makefile.am: define tests_ignore
* testsuite/bytestream/Makefile.am:
* testsuite/caps/Makefile.am:
* testsuite/clock/Makefile.am:
* testsuite/debug/Makefile.am:
* testsuite/debug/global.c: (gst_debug_log_one),
(gst_debug_log_two): Fix compilation problem.
* testsuite/dynparams/Makefile.am:
* testsuite/elements/Makefile.am:
* testsuite/ghostpads/Makefile.am:
* testsuite/indexers/Makefile.am:
* testsuite/parse/Makefile.am:
* testsuite/plugin/Makefile.am:
* testsuite/refcounting/Makefile.am:
* testsuite/refcounting/element_pad.c: (main): Don't return leak
results, because it's not calculated correctly.
* testsuite/refcounting/pad.c: (main): same
* testsuite/states/Makefile.am:
* testsuite/tags/Makefile.am:
* testsuite/threads/Makefile.am:
2004-04-15 04:54:53 +00:00
Thomas Vander Stichele
923b573acb fix make issue
Original commit message from CVS:
fix make issue
2004-04-14 18:59:08 +00:00
Thomas Vander Stichele
8bdbb4a088 disable pad and element_pad test until vmsize () works reliably
Original commit message from CVS:
disable pad and element_pad test until vmsize () works reliably
2004-04-14 17:10:57 +00:00
Thomas Vander Stichele
4e3489c2e5 ... except of course it still fails, vmsize () might be broken
Original commit message from CVS:
... except of course it still fails, vmsize () might be broken
2004-04-13 13:26:06 +00:00
Thomas Vander Stichele
147ae1025b element_pad should pass
Original commit message from CVS:
element_pad should pass
2004-04-13 13:04:47 +00:00
Thomas Vander Stichele
6cdb35a69a adding debugs to figure out where rh9's heisenbug lives
Original commit message from CVS:
adding debugs to figure out where rh9's heisenbug lives
2004-04-13 10:57:53 +00:00
Thomas Vander Stichele
21392d9227 add asserts, fix up tests slightly
Original commit message from CVS:
add asserts, fix up tests slightly
2004-04-13 10:44:29 +00:00
David Schleef
26663bbf1c gst/gstbuffer.c: (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed to using it.
Original commit message from CVS:
* gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
(gst_buffer_free_chunk): Added gst_buffer_get_type() and changed
to using it.
* gst/gstbuffer.h: Changed GST_BUFFER_TYPE to gst_buffer_get_type()
* gst/gstcaps.c: (gst_caps_is_fixed_foreach): Buffer is a fixed type
* gst/gstpad.c: (_gst_pad_default_fixate_foreach): same
* gst/gststructure.c: (gst_structure_set_valist),
(gst_structure_from_abbr), (gst_structure_to_abbr): Add vararg
support for buffers.
* gst/gsttag.c: (gst_tag_register): Constify a prototype that was
intended to be const.
* gst/gsttag.h: same
* gst/gstvalue.c: (gst_value_serialize_buffer),
(gst_value_deserialize_buffer), (_gst_value_initialize):  Add code
to (de)serialize buffers.
* testsuite/caps/Makefile.am:  Add a bit of buffer testing
* testsuite/caps/string-conversions.c: (main):
* testsuite/caps/value_serialize.c: add new test
2004-04-13 02:22:02 +00:00
Thomas Vander Stichele
6572589d22 dist fix
Original commit message from CVS:
dist fix
2004-04-05 11:32:22 +00:00
Thomas Vander Stichele
cb6fca85bf disable test until it stops breaking distcheck
Original commit message from CVS:
disable test until it stops breaking distcheck
2004-04-05 10:25:55 +00:00
Benjamin Otte
e25612f443 testsuite/debug/: fix tests to work again with debugging enabled
Original commit message from CVS:
* testsuite/debug/category.c: (main):
* testsuite/debug/commandline.c: (main):
* testsuite/debug/output.c: (main):
fix tests to work again with debugging enabled
2004-04-05 04:31:00 +00:00
Benjamin Otte
03c19b3e3e testsuite/debug/: fix tests to work again with debugging enabled
Original commit message from CVS:
* testsuite/debug/category.c: (main):
* testsuite/debug/commandline.c: (main):
* testsuite/debug/output.c: (main):
fix tests to work again with debugging enabled
2004-04-05 04:10:05 +00:00
Benjamin Otte
75f4ff0686 fix to successfully build and test with --disable-gst-debug configure switch
Original commit message from CVS:
* gst/autoplug/gstspider.c: (gst_spider_identity_plug):
* gst/gstinfo.h:
* testsuite/debug/category.c: (main):
* testsuite/debug/commandline.c: (main):
* testsuite/debug/output.c: (main):
* testsuite/debug/printf_extension.c: (main):
fix to successfully build and test with --disable-gst-debug
configure switch
2004-04-03 04:16:24 +00:00
David Schleef
e6a6307944 gst/gstvalue.c: Add some union implementations. We didn't have any previously.
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_union_int_int_range),
(gst_value_union_int_range_int_range), (gst_value_can_union),
(gst_value_union), (_gst_value_initialize):  Add some union
implementations.  We didn't have any previously.
* testsuite/caps/Makefile.am:
* testsuite/caps/audioscale.c: (gst_audioscale_expand_value),
(gst_audioscale_getcaps), (test_caps), (main): A little test
that is the same as the caps manipulation in audioscale.
2004-03-31 21:49:19 +00:00
Benjamin Otte
c29e35436f gst/gstbin.c: don't add decoupled elements to schedulers - otherwise it's impossible to control if a link to a decoup...
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_set_element_sched),
(gst_bin_unset_element_sched):
don't add decoupled elements to schedulers - otherwise it's
impossible to control if a link to a decoupled element was already
removed from a scheduler or not.
* gst/schedulers/cothreads_compat.h:
* gst/schedulers/gthread-cothreads.h:
add COTHREADS_TYPE macro. Make do_cothread_set_func a macro so there
is no "unused" warning.
* gst/schedulers/Makefile.am:
* gst/schedulers/entryscheduler.c:
add new scheduler, based on ideas from talking to David and Martin.
It's supposed to be small and correct. Currently it's also slow (but
it's not noticable)
* examples/retag/retag.c: (main):
* testsuite/bytestream/test1.c: (main):
fix missing NULLs at end of variadic functions
* testsuite/elements/.cvsignore:
update
2004-03-28 02:29:24 +00:00
Benjamin Otte
d357e5c959 no dear, that dress doesn't make you look fat. You look fat even without it.
Original commit message from CVS:
no dear, that dress doesn't make you look fat. You look fat even without it.
2004-03-25 02:43:28 +00:00
Benjamin Otte
4c0c9065f2 yes, dear, i'll leave the shoes at the front door
Original commit message from CVS:
yes, dear, i'll leave the shoes at the front door
2004-03-25 02:17:40 +00:00
Benjamin Otte
eb27a12ade i'd probably prefer a bitchy wife to automake
Original commit message from CVS:
i'd probably prefer a bitchy wife to automake
2004-03-25 02:05:22 +00:00
Benjamin Otte
dd092ad092 pleasing automake more
Original commit message from CVS:
pleasing automake more
2004-03-25 01:55:31 +00:00
Benjamin Otte
b8a69a8471 whoops, forgot to clean Makefile
Original commit message from CVS:
whoops, forgot to clean Makefile
2004-03-25 01:53:17 +00:00
Benjamin Otte
9b15382196 fix Makefile for buildbots
Original commit message from CVS:
fix Makefile for buildbots
2004-03-25 01:32:26 +00:00
Benjamin Otte
3f812f873f testsuite/elements/: add check to make sure gst-compprep works
Original commit message from CVS:
* testsuite/elements/Makefile.am:
* testsuite/elements/gst-compprep-check:
add check to make sure gst-compprep works
* testsuite/elements/gst-inspect-check.in:
improve initialization output
* testsuite/gst-inspect-check:
remove old file
2004-03-25 00:32:19 +00:00
David Schleef
2d19f03ddb testsuite/elements/: Add gst-inspect-check to the testsuite.
Original commit message from CVS:
* testsuite/elements/Makefile.am:
* testsuite/elements/gst-inspect-check.in: Add gst-inspect-check
to the testsuite.
2004-03-24 23:48:24 +00:00
Thomas Vander Stichele
7baa6c18e7 don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:27:17 +00:00
Thomas Vander Stichele
92d5bcedfa sigh
Original commit message from CVS:
sigh
2004-03-15 17:57:22 +00:00
Thomas Vander Stichele
f41fbc0ed5 fix tests
Original commit message from CVS:
fix tests
2004-03-15 17:51:07 +00:00
Thomas Vander Stichele
563d272840 ignore some more
Original commit message from CVS:
ignore some more
2004-03-15 17:26:30 +00:00
Thomas Vander Stichele
3bbe7b2a26 automake fix
Original commit message from CVS:
automake fix
2004-03-15 16:59:53 +00:00
Thomas Vander Stichele
fa3625c241 fix registry in testsuite
Original commit message from CVS:
fix registry in testsuite
2004-03-15 16:54:28 +00:00
Thomas Vander Stichele
3fb8c9c0f7 use versioned gst-register
Original commit message from CVS:
use versioned gst-register
2004-03-15 16:44:36 +00:00
Johan Dahlin
ecd88e381d Revert again, this time without post-commit reindent hooks to put back the indentation :-)
Original commit message from CVS:
Revert again, this time without post-commit reindent hooks
to put back the indentation :-)
2004-03-15 14:43:35 +00:00
Johan Dahlin
e2b3dc3e47 *.h: Revert indentation changes.
Original commit message from CVS:
* *.h: Revert indentation changes.
2004-03-15 14:31:41 +00:00
Thomas Vander Stichele
a967370df5 gst-indent run on core
Original commit message from CVS:
gst-indent run on core
2004-03-13 15:27:01 +00:00
Johan Dahlin
37d2e6d087 gst/gst.c (init_post): call gst_caps_get_type() instead of _gst_caps_initalize()
Original commit message from CVS:
* gst/gst.c (init_post): call gst_caps_get_type() instead of
_gst_caps_initalize()

* gst/gstcaps.c: Style fixes, stay closer to glib and friends
(_gst_caps_initialize): Remove, in favor for gst_caps_get_type()

* gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
* gst/gstcaps.h: Clean up
2004-03-12 19:32:26 +00:00
Thomas Vander Stichele
1981690631 fix test
Original commit message from CVS:
fix test
2004-02-27 12:45:28 +00:00
Johan Dahlin
4eedbdb4ef Spelling fix
Original commit message from CVS:
Spelling fix
2004-02-16 18:13:21 +00:00
Thomas Vander Stichele
de988971b5 fix testsuite from segfaulting
Original commit message from CVS:
fix testsuite from segfaulting
2004-02-06 16:25:31 +00:00
Andy Wingo
a8b84d8a57 gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/.
Original commit message from CVS:
2004-02-05  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (_gst_real_pad_fixate_accumulator):
s/pointer/boxed/.

* gst/gstmarshal.list (VOID:BOXED, BOXED:BOXED): New marshallers.

* gst/gstpad.c (gst_real_pad_class_init): Use a BOXED:BOXED
marshaller for ::fixate, and VOID:BOXED for ::caps-nego-failed,
with the type=GST_TYPE_CAPS. This allows language bindings to know
what kind of data they're dealing with.

* gst/gstcaps.c (_gst_caps_value_init): GBoxed values initialize
to NULL when g_value_init is called. GstCaps, which rolls its own
type implementation, now does the same instead of allocating empty
caps.
(_gst_caps_initialize, _gst_caps_collect_value,
_gst_caps_lcopy_value): Provide collect_value and lcopy_value type
table methods. This allows G_VALUE_COLLECT to work.

2004-02-05  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* testsuite/Makefile.am (SUBDIRS):
* testsuite/ghostpads/Makefile.am:
* testsuite/ghostpads/ghostpads.c: A new test for ghost pads.

* gst/gstpad.c (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad):
These two routines are the only ones that set
GST_GPAD_REALPAD(gpad), the ghost pad list, and the ghost pad's
pad template. They should be made static, depending on ABI needs.
(gst_real_pad_dispose): Handle the case of ghost pads without a
parent. Assert after dealing with ghost pads that the ghost pad
list is empty.
(gst_ghost_pad_class_init): New property added, ::real-pad. Can be
set after creation.
(gst_ghost_pad_dispose): Set ::real-pad to NULL.
(gst_ghost_pad_set_property, gst_ghost_pad_get_property): New
functions. set_property will call add_ghost_pad/remove_ghost_pad
as appropriate.
(gst_ghost_pad_new): All the work is offloaded to g_object_new.

* gst/gstelement.c (gst_element_add_pad): Handle ghost pads as well.
(gst_element_add_ghost_pad): Remove code duplicated from _add_pad.
(gst_element_remove_pad): Handle ghost pads as well.
(gst_element_remove_ghost_pad): Deprecated (could be removed,
depending on API-stability needs).

2004-02-05  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.[ch]: (gst_bin_get_by_interface): GTypes are scalars,
of course they're const
2004-02-05 13:51:26 +00:00
Thomas Vander Stichele
2826ec0813 ignore file
Original commit message from CVS:
ignore file
2004-02-05 11:05:02 +00:00
Benjamin Otte
192330d37a parts of the patch submitted in bug #113913
Original commit message from CVS:
2004-01-30  Laurent Vivier <Laurent.Vivier@bull.net>

reviewed by Benjamin Otte
parts of the patch submitted in bug #113913

* configure.ac:
use AC_C_INLINE. Use = instead of == with test
* examples/plugins/example.c:
* gst/autoplug/gstspideridentity.c:
* gst/elements/gstfdsrc.c:
* gst/elements/gstfilesrc.c:
* gst/elements/gstidentity.c:
* gst/elements/gstmultidisksrc.c:
* gst/elements/gststatistics.c:
* gst/gstelement.c:
* gst/gstobject.c:
* gst/gstpad.c:
* gst/gstpipeline.c:
* gst/gstthread.c:
don't end enums with a comma
* gst/gstindex.c: (gst_index_compare_func):
do explicit casting to gint
* gst/gsttrace.c: (gst_trace_text_flush):
#define strsize as a macro
2004-01-30 20:48:13 +00:00
David Schleef
6a096813d4 configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
Original commit message from CVS:
* configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
GST_PRINTF_EXTENSION_FORMAT_DEFINE.
* docs/random/ds/0.9-suggested-changes: Notes from Company.
* gst/gstcaps.c: (gst_caps_to_string): Add comment.
* gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
* gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
(gst_debug_log_default), (_gst_info_printf_extension),
(_gst_info_printf_extension_arginfo):  Add printf extension.
* gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
* gst/gststructure.c: (gst_structure_to_string),
(_gst_structure_parse_value): Use gst_value_deserialize() and
remove old code.
* gst/gstvalue.c: (gst_value_deserialize_fourcc),
(gst_value_deserialize_boolean), (gst_strtoi),
(gst_value_deserialize_int), (gst_value_deserialize_double),
(gst_value_deserialize_string), (gst_value_deserialize): Implement
a bunch of deserialize functions and gst_value_deserialize.
* gst/gstvalue.h: er, _de_serialize, not unserialize
* testsuite/caps/string-conversions.c: (main): We don't currently
handle (float) in caps, so convert these to (double).
* testsuite/debug/Makefile.am: Add new test for the printf extension
* testsuite/debug/printf_extension.c: (main): same
2004-01-29 01:20:23 +00:00
David Schleef
aeca198dda Revert accidental checkin and start over
Original commit message from CVS:
Revert accidental checkin and start over
2004-01-26 23:16:21 +00:00
David Schleef
13a292781e Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* docs/gst/tmpl/gstelement.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* docs/gst/tmpl/gstreamer-unused.sgml:
* docs/gst/tmpl/gstxml.sgml:
* gst/gstelement.h:
* gst/gstpad.c: (gst_pad_try_set_caps):
* gst/gstqueue.c: (gst_queue_chain):
* testsuite/caps/Makefile.am:
2004-01-26 23:13:24 +00:00
Colin Walters
b0171c4aa5 examples/retag/retag.c: Call gst_init before processing program args. Add g_assert to _link_many call.
Original commit message from CVS:
2004-01-18  Colin Walters  <walters@verbum.org>

* examples/retag/retag.c: Call gst_init before processing
program args.  Add g_assert to _link_many call.
2004-01-18 18:48:44 +00:00
David Schleef
a5834649c7 gst/gstcaps.h: Added gst_caps_is_simple() macro.
Original commit message from CVS:
* gst/gstcaps.h:
Added gst_caps_is_simple() macro.
* testsuite/caps/caps.c: (test1):
* testsuite/caps/intersect2.c: (main):
* testsuite/caps/intersection.c: (main):
Fixes to make 'make check' work again after removing
gst_caps_is_chained().
2004-01-16 00:58:06 +00:00
Benjamin Otte
1e82f617e4 gst/gstclock.*: deprecate old interface and disable functions that aren't in use anymore.
Original commit message from CVS:
2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
(gst_clock_set_speed), (gst_clock_set_active),
(gst_clock_is_active), (gst_clock_reset),
(gst_clock_handle_discont):
* gst/gstclock.h:
deprecate old interface and disable functions that aren't in use
anymore.
* gst/gstelement.h:
* gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
(gst_element_set_time), (gst_element_adjust_time):
add concept of "element time" and functions to get/set this time.
* gst/gstelement.c: (gst_element_change_state):
update element time correctly.
* gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
This is a debug message, not a g_critical.
* gst/gstpad.c: (gst_pad_event_default):
handle discontinuous events right with element time.
* gst/gstscheduler.c: (gst_scheduler_state_transition):
update to clocking fixes.
set clocks on elements in READY=>PAUSED. The old behaviour caused
a wrong element time on the first element that started playing.
* gst/schedulers/gstbasicscheduler.c:
(gst_basic_scheduler_class_init):
* gst/schedulers/gstoptimalscheduler.c:
(gst_opt_scheduler_class_init):
remove code that just implements the default behaviour.
* gst/elements/gstfakesink.c: (gst_fakesink_chain):
update to use new clocking functions
* testsuite/clock/clock1.c: (gst_clock_debug), (main):
* testsuite/clock/clock2.c: (gst_clock_debug), (main):
update to test new element time.
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
use _get_allowed_caps instead of _get_caps. This catches filtered
caps correctly.
* testsuite/debug/commandline.c:
update for new GST_DEBUG syntax.
* testsuite/threads/Makefile.am:
disable a test that only works sometimes.
2004-01-14 00:46:48 +00:00
Thomas Vander Stichele
2fc36c6669 fix testsuite
Original commit message from CVS:
fix testsuite
2004-01-12 17:22:15 +00:00
Benjamin Otte
a5bb704036 update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov.
Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* examples/cutter/.cvsignore:
* examples/helloworld/.cvsignore:
* examples/launch/.cvsignore:
* examples/manual/.cvsignore:
* examples/mixer/.cvsignore:
* examples/pingpong/.cvsignore:
* examples/plugins/.cvsignore:
* examples/queue/.cvsignore:
* examples/queue2/.cvsignore:
* examples/queue3/.cvsignore:
* examples/queue4/.cvsignore:
* examples/retag/.cvsignore:
* examples/thread/.cvsignore:
* examples/typefind/.cvsignore:
* examples/xml/.cvsignore:
* gst/.cvsignore:
* gst/autoplug/.cvsignore:
* gst/elements/.cvsignore:
* gst/indexers/.cvsignore:
* gst/parse/.cvsignore:
* gst/registries/.cvsignore:
* gst/schedulers/.cvsignore:
* libs/gst/bytestream/.cvsignore:
* libs/gst/control/.cvsignore:
* libs/gst/getbits/.cvsignore:
* tests/.cvsignore:
* tests/bufspeed/.cvsignore:
* tests/instantiate/.cvsignore:
* tests/memchunk/.cvsignore:
* tests/muxing/.cvsignore:
* tests/sched/.cvsignore:
* tests/seeking/.cvsignore:
* tests/threadstate/.cvsignore:
* testsuite/.cvsignore:
* testsuite/caps/.cvsignore:
* testsuite/cleanup/.cvsignore:
* testsuite/dynparams/.cvsignore:
* testsuite/plugin/.cvsignore:
* tools/.cvsignore:
update - this is huge, because it includes *.bb, *.bbg and *.da files
which are generated for gcov.
2004-01-12 16:53:23 +00:00
Thomas Vander Stichele
db26705ee3 files to ignore
Original commit message from CVS:
files to ignore
2004-01-07 16:31:01 +00:00
Ronald S. Bultje
718b21bfc2 gst/elements/gstfilesink.c: Fix for if we pass NULL as property to location.
Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/elements/gstfilesink.c: (gst_filesink_set_location):
Fix for if we pass NULL as property to location.
* gst/elements/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_handle_event), (gst_pipefilter_chain):
Fix for instantiate-test (see below).
* gst/gststructure.c: (_gst_structure_parse_value):
Fix compile error on gcc-2.96.
* configure.ac:
* tests/Makefile.am:
* tests/instantiate/Makefile.am:
* tests/instantiate/create.c: (create_all_elements), (main):
Add a test that instantiates all elements. This makes it easy to
track dead code for old API/design (like setting event functions
on sink pads and so on).
2004-01-07 13:13:03 +00:00
David Schleef
2f85a255ba gst/elements/gsttee.c: Remove usage of gst_pad_proxy_fixate.
Original commit message from CVS:
* gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
Remove usage of gst_pad_proxy_fixate.
* gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
(gst_caps_split_one), (gst_caps_replace):
Add poisoning code.
* gst/gstmarshal.list:
Add pointer__pointer for fixate signal
* gst/gstpad.c: (gst_real_pad_class_init),
(_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
(_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
(gst_pad_set_explicit_caps), (gst_pad_template_new):
Add poisoning code. Add fixate signal on RealPad. Change
set_explicit_caps() to take const GstCaps, like try_set_caps().
* gst/gstpad.h:
* testsuite/caps/Makefile.am:
* testsuite/caps/app_fixate.c: Add a test for the fixate signal
2004-01-04 23:43:11 +00:00
David Schleef
58f4b89e95 Implement gst_caps_normalize()
Original commit message from CVS:
Implement gst_caps_normalize()
2004-01-01 02:17:44 +00:00
David Schleef
56de7957ef Disable code which does stuff we don't approve of
Original commit message from CVS:
Disable code which does stuff we don't approve of
2003-12-22 18:58:58 +00:00
David Schleef
503f38da70 undist caps2
Original commit message from CVS:
undist caps2
2003-12-22 05:34:13 +00:00
David Schleef
d100e0b489 Add test for a bug in GstValueList
Original commit message from CVS:
Add test for a bug in GstValueList
2003-12-22 03:03:31 +00:00
David Schleef
da9896d40a Convert "caps2" to "caps".
Original commit message from CVS:
Convert "caps2" to "caps".
2003-12-22 02:27:18 +00:00
David Schleef
379c13b631 remove files that were moved to testsuite/caps
Original commit message from CVS:
remove files that were moved to testsuite/caps
2003-12-22 02:17:08 +00:00
David Schleef
07188f1709 remove testsuite/caps2 directory
Original commit message from CVS:
remove testsuite/caps2 directory
2003-12-22 02:16:08 +00:00
David Schleef
d476031fe0 Move testsuite/caps2 code to testsuite/caps
Original commit message from CVS:
Move testsuite/caps2 code to testsuite/caps
2003-12-22 02:11:52 +00:00
David Schleef
3437004408 Stupid CVS.
Original commit message from CVS:
Stupid CVS.
2003-12-22 02:09:32 +00:00
David Schleef
8c9cd079d4 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:39:35 +00:00
Thomas Vander Stichele
b0a17df7ea minor cosmetic fixes
Original commit message from CVS:
minor cosmetic fixes
2003-12-19 15:25:45 +00:00
Thomas Vander Stichele
857a7c08b6 someone needs to take Build 101
Original commit message from CVS:
someone needs to take Build 101
2003-12-17 08:37:02 +00:00
Benjamin Otte
54d54fac0c add tests for gst_bin_get_(all_)by_interface
Original commit message from CVS:
add tests for gst_bin_get_(all_)by_interface
2003-12-16 19:32:27 +00:00
Thomas Vander Stichele
6611ab723b doh me
Original commit message from CVS:
doh me
2003-12-12 16:27:34 +00:00
Thomas Vander Stichele
164cda6c96 this should fix the rh9 build
Original commit message from CVS:
this should fix the rh9 build
2003-12-12 15:50:02 +00:00
Thomas Vander Stichele
206faec907 geez, I thought I did this a long time ago.
Original commit message from CVS:
geez, I thought I did this a long time ago.
anyway, don't really need a copy if we use the source
2003-12-12 15:00:39 +00:00
Andy Wingo
8ca1b1fe7f remove copyright field from plugin structs
Original commit message from CVS:
remove copyright field from plugin structs
2003-12-04 10:02:41 +00:00
Thomas Vander Stichele
a0e8e56d8d fix docs build fix make distcheck
Original commit message from CVS:
fix docs build
fix make distcheck
2003-12-02 18:21:35 +00:00
Thomas Vander Stichele
088c0de204 removing this broken example. holler if you need it.
Original commit message from CVS:
removing this broken example. holler if you need it.
2003-12-02 15:56:27 +00:00
David Schleef
57fcf33e5e Remove old autoplug code
Original commit message from CVS:
Remove old autoplug code
2003-11-29 05:29:30 +00:00
David Schleef
526a065e85 Disable a test that is inconsistent
Original commit message from CVS:
Disable a test that is inconsistent
2003-11-29 04:40:20 +00:00
Benjamin Otte
6939e4f97c oops, forgot to add tests
Original commit message from CVS:
oops, forgot to add tests
2003-11-24 02:27:51 +00:00
Benjamin Otte
385b9ee5c4 merge in tagging
Original commit message from CVS:
merge in tagging
Includes:
- gsttag.[ch] - The definition of GstTagList and tag registering/querying
- gsttaginterface.[ch] - Interface for elements that can handle setting of tags
- updates and merges to gststructure.[ch] and gstvalue.[ch]
- testsuite/tags - some tests for tagging
- bugfixes
- updates to make make distcheck work
- updates the version number to 0.7.2.1

Does not include:
- including tagging stuff in docs
- extensive tests
2003-11-24 02:09:23 +00:00
David Schleef
36f12d3acb minor cleanup
Original commit message from CVS:
minor cleanup
2003-11-19 23:01:51 +00:00
David Schleef
2281444596 link against the .la file. Note that we're linking against a plugin, which is technically not allowed.
Original commit message from CVS:
link against the .la file.  Note that we're linking against a
plugin, which is technically not allowed.
2003-11-19 23:01:07 +00:00
David Schleef
cefcb3b064 make the plugin path more restrictive
Original commit message from CVS:
make the plugin path more restrictive
2003-11-19 22:59:19 +00:00
David Schleef
d8d3d9fff1 Add #include "config.h"
Original commit message from CVS:
Add #include "config.h"
2003-11-13 03:19:48 +00:00
Benjamin Otte
bb7422b2e7 ignore some more tests
Original commit message from CVS:
ignore some more tests
2003-11-09 18:09:24 +00:00
Benjamin Otte
b03093d8e1 added a test that was claimed to fail but works here
Original commit message from CVS:
added a test that was claimed to fail but works here
2003-11-09 18:08:00 +00:00
Iain Holmes
0676d630e7 threadb and threadc are unexpectedly passing on my system (glibc2.3.1 and linux-2.6.0-test9). Commenting them out bec...
Original commit message from CVS:
threadb and threadc are unexpectedly passing on my system (glibc2.3.1 and linux-2.6.0-test9). Commenting them out because they are expectedly failing on other systems.
2003-11-05 12:45:18 +00:00
Benjamin Otte
4d13919ffa disabling cleanup3 until it knows if it fails or passes
Original commit message from CVS:
disabling cleanup3 until it knows if it fails or passes
2003-11-05 01:24:00 +00:00
David Schleef
b98702063f fix typo
Original commit message from CVS:
fix typo
2003-11-05 00:40:33 +00:00
Benjamin Otte
b940244e53 disable debugging when it hasn't been initialized yet. Fixes testsuite
Original commit message from CVS:
disable debugging when it hasn't been initialized yet. Fixes testsuite
2003-11-04 17:27:22 +00:00
David Schleef
aa63f65fc8 Update for new plugin API. static and static2 now fail
Original commit message from CVS:
Update for new plugin API.  static and static2 now fail
2003-11-04 05:48:16 +00:00
David Schleef
4ccd25273f cosmetic fix
Original commit message from CVS:
cosmetic fix
2003-11-04 05:47:28 +00:00
David Schleef
eebceb0d90 update for new plugin API. still fails.
Original commit message from CVS:
update for new plugin API.  still fails.
2003-11-04 04:26:26 +00:00
Benjamin Otte
907e3e97d9 update plugin initialization restructuring (see email for details
Original commit message from CVS:
update plugin initialization restructuring (see email for details
2003-10-31 19:32:47 +00:00
David Schleef
9c87c528e7 Massive patch to make 'make check' work properly. Many compilation fixes -- everything should compile now. Some tes...
Original commit message from CVS:
Massive patch to make 'make check' work properly.  Many compilation
fixes -- everything should compile now.  Some tests pass, some
fail; the expected sucess/failure is coded in the Makefile.am's.
gst-register is properly run for both 'make check' and 'make distcheck'.
Much of the common infrastructure is coded in testsuite/Rules.
2003-10-15 01:25:41 +00:00
David Schleef
c514b8ba68 Fix typo in last checkin
Original commit message from CVS:
Fix typo in last checkin
2003-10-09 01:41:09 +00:00
David Schleef
d4ee10bd79 distcheck fixes. Some tests have been disabled.
Original commit message from CVS:
distcheck fixes.  Some tests have been disabled.
2003-10-09 01:13:21 +00:00
Andy Wingo
31d748d332 s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also inc...
Original commit message from CVS:
s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also includes scheduler patches, and probably fixes some queue bugs relating to events and buffers.
2003-10-08 16:06:02 +00:00
David Schleef
ec5122f8d3 new proggy I never checked in
Original commit message from CVS:
new proggy I never checked in
2003-10-08 07:49:11 +00:00
David Schleef
e3785989e3 Clean up makefile. It's still kindof screwy, but that's because automake won't create .so files for noinst libs.
Original commit message from CVS:
Clean up makefile.  It's still kindof screwy, but that's because
automake won't create .so files for noinst libs.
2003-10-08 01:05:10 +00:00
Thomas Vander Stichele
230f5397aa adding simple queue test
Original commit message from CVS:
adding simple queue test
2003-10-03 15:21:49 +00:00
Thomas Vander Stichele
2b881623ff ignore these test code
Original commit message from CVS:
ignore these
test code
2003-09-11 12:19:22 +00:00
Thomas Vander Stichele
2e1e7054f2 ignore
Original commit message from CVS:
ignore
2003-09-11 12:13:56 +00:00
Andy Wingo
5c2d6b2f43 cache return values of _gst_debug_nameof_funcptr
Original commit message from CVS:
kill some memleaks, add ::signal-handoffs property to fakesrc/sink (default FALSE), cache return values of _gst_debug_nameof_funcptr
2003-08-07 12:45:31 +00:00
David Schleef
4c4d69e51a Add another test
Original commit message from CVS:
Add another test
2003-08-02 01:55:24 +00:00
Jan Schmidt
8c768ff53e Fix installing plugin in wrong dir
Original commit message from CVS:
Fix installing plugin in wrong dir
2003-07-29 00:12:30 +00:00
Ronald S. Bultje
68a12e8ba3 Plugin details fixes
Original commit message from CVS:
Plugin details fixes
2003-07-12 14:48:27 +00:00
Wim Taymans
13cbce8aab Updated example app
Original commit message from CVS:
Updated example app
2003-07-10 20:40:36 +00:00
Christian Schaller
9e29307e4a SPEC and build fixes, should be possible to make tarballs and make RPMS again now
Original commit message from CVS:
SPEC and build fixes, should be possible to make tarballs and make RPMS again now
2003-07-05 21:04:23 +00:00
Benjamin Otte
803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
Wim Taymans
20ada53580 - some more checks
Original commit message from CVS:
- some more checks
2003-06-13 20:54:02 +00:00
Wim Taymans
6ebefb6ab3 - Added testcase for fixed flag on caps/props
Original commit message from CVS:
- Added testcase for fixed flag on caps/props
- Added union testcase (not working)
2003-06-13 19:12:33 +00:00
Wim Taymans
605279f143 updated example with correct code to add namespaces to root element.
Original commit message from CVS:
updated example with correct code to add namespaces to root element.
2003-06-09 13:09:21 +00:00
Benjamin Otte
bad94002f2 spaling eroah
Original commit message from CVS:
spaling eroah
2003-05-19 15:54:58 +00:00
Benjamin Otte
4e4a1aabe5 check if required elements are installed
Original commit message from CVS:
check if required elements are installed
2003-05-19 15:46:39 +00:00
Thomas Vander Stichele
6cf83f6d8b applying http://bugzilla.gnome.org/show_bug.cgi?id=110707 patch, should fix testsuite issues
Original commit message from CVS:
applying
http://bugzilla.gnome.org/show_bug.cgi?id=110707
patch, should fix testsuite issues
2003-05-18 22:59:51 +00:00
David Schleef
1dfc44793e Call perl script using $(PERL_PATH)
Original commit message from CVS:
Call perl script using $(PERL_PATH)
2003-05-18 03:36:41 +00:00
Benjamin Otte
e5b55dbef5 added tests for gst_caps_{to,from}_string
Original commit message from CVS:
added tests for gst_caps_{to,from}_string
2003-05-17 00:48:34 +00:00
Benjamin Otte
377fc561c0 make test fail when it fails (d'oh)
Original commit message from CVS:
make test fail when it fails (d'oh)
2003-05-09 15:19:01 +00:00
David Schleef
0d48f56c8f Add caps list test that shows incorrect behavior
Original commit message from CVS:
Add caps list test that shows incorrect behavior
2003-04-18 23:37:05 +00:00
Wim Taymans
2862ded8a2 Small example that shows caps nego recovery.
Original commit message from CVS:
Small example that shows caps nego recovery.
2003-04-17 22:32:59 +00:00
Benjamin Otte
df041a228b one more test
Original commit message from CVS:
one more test
2003-04-17 19:36:13 +00:00
Benjamin Otte
45521ec77a bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
Original commit message from CVS:
bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
2003-04-16 21:37:35 +00:00
Benjamin Otte
22a96e5e85 add a breaking testcase
Original commit message from CVS:
add a breaking testcase
2003-04-16 19:45:55 +00:00
Benjamin Otte
e0cb191ed4 destroyed gst_*_destroy in the examples - use gst_object_unref instead - includes some tries to bufixes, most of the ...
Original commit message from CVS:
destroyed gst_*_destroy in the examples - use gst_object_unref instead - includes some tries to bufixes, most of the tests still fail
2003-04-15 18:17:24 +00:00
Benjamin Otte
50fa7dc2cd destroyed gst_*_destroy in the examples - use gst_object_unref instead
Original commit message from CVS:
destroyed gst_*_destroy in the examples - use gst_object_unref instead
2003-04-15 17:40:56 +00:00
Benjamin Otte
df7d0e43d4 added tests for parsing stuff
Original commit message from CVS:
added tests for parsing stuff
2003-04-10 01:51:42 +00:00
Wim Taymans
6a39d8ccb2 - Added dir to hold state change related testsuites
Original commit message from CVS:
- Added dir to hold state change related testsuites
- Added _LOCKED_STATE test
2003-03-25 19:41:23 +00:00
Wim Taymans
d5d8691718 Added scheduler refcount test
Original commit message from CVS:
Added scheduler refcount test
2003-03-10 20:38:22 +00:00
Wim Taymans
ed085dd930 Added test for dynamic reconfiguration of pipelines triggered by padprobes
Original commit message from CVS:
Added test for dynamic reconfiguration of pipelines triggered by padprobes
2003-02-27 21:07:31 +00:00
Wim Taymans
adb6e2b013 more .cvsignore
Original commit message from CVS:
more .cvsignore
2003-02-25 21:01:59 +00:00
Wim Taymans
d53f8fa432 I'm too lazy to comment this
Original commit message from CVS:
.
2003-02-25 20:57:05 +00:00
Wim Taymans
2a9978433e Yes, I'm annoyed
Original commit message from CVS:
Yes, I'm annoyed
2003-02-25 20:51:49 +00:00
Wim Taymans
6d59285a61 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-02-25 20:41:01 +00:00
Wim Taymans
8e97b1708b Update .cvsignore
Original commit message from CVS:
Update .cvsignore
2003-02-25 20:39:44 +00:00
Christian Schaller
e8b49479dd Added cutter patch from Andrew Turner and sat default scheduler to opt
Original commit message from CVS:
Added cutter patch from Andrew Turner and sat default scheduler to opt
2003-02-23 20:15:00 +00:00
Wim Taymans
c17b392f20 Example of how an app could read data from a pipeline, this one wont run before queue is changed.
Original commit message from CVS:
Example of how an app could read data from a pipeline, this one wont run
before queue is changed.
2003-02-12 23:18:54 +00:00
Wim Taymans
b030b5cef2 - Add more --disable options
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
Wim Taymans
bf7bff6c47 Small compile fixes
Original commit message from CVS:
Small compile fixes
2003-02-10 20:08:59 +00:00
David Schleef
393033c6fa Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Original commit message from CVS:
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT.  Fix
pointer<->int conversion.  Fixes warnings on alpha.
2003-02-01 20:29:27 +00:00
Wim Taymans
196ed576e2 - Small cleanups
Original commit message from CVS:
- Small cleanups
2003-01-27 21:38:51 +00:00
Wim Taymans
0b7dfe8972 Fixed tee test
Original commit message from CVS:
Fixed tee test
2003-01-25 19:56:04 +00:00
Thomas Vander Stichele
64ec45f477 fix
Original commit message from CVS:
fix
2003-01-21 22:22:13 +00:00
Thomas Vander Stichele
cc25be4804 various test fixes :)
Original commit message from CVS:
various test fixes :)
2003-01-21 22:11:21 +00:00
Thomas Vander Stichele
f7334fc9d2 don't make failing tests
Original commit message from CVS:
don't make failing tests
2003-01-21 20:26:06 +00:00
Wim Taymans
30c31aa590 Added test with extra cond var
Original commit message from CVS:
Added test with extra cond var
2003-01-12 15:59:00 +00:00
Wim Taymans
063ffb78b0 Some cleanups, detect and print NPTL problem (?)
Original commit message from CVS:
Some cleanups, detect and print NPTL problem (?)
2003-01-12 15:50:51 +00:00
Wim Taymans
8b61345f9e Added test app
Original commit message from CVS:
Added test app
2003-01-12 15:38:29 +00:00
Wim Taymans
5894c0376a Add vishnu's index dumping app
Original commit message from CVS:
Add vishnu's index dumping app
2003-01-12 13:27:02 +00:00
Wim Taymans
560beb6b94 Shows the problem with adder and optscheduler, this program simulates bug triggered by RhythmBox
Original commit message from CVS:
Shows the problem with adder and optscheduler, this program simulates bug
triggered by RhythmBox
2003-01-11 14:56:47 +00:00
David Schleef
7f09b68704 Fix prototypes (trivial)
Original commit message from CVS:
Fix prototypes (trivial)
2003-01-11 00:29:19 +00:00
David I. Lehn
6877e9592f connect -> link
Original commit message from CVS:
connect -> link
2003-01-10 04:54:20 +00:00
David I. Lehn
876d74a282 connect -> link
Original commit message from CVS:
connect -> link
2003-01-10 03:31:53 +00:00
Thomas Vander Stichele
f1af3cca60 code cleanups and further deprecation fixes
Original commit message from CVS:
code cleanups and further deprecation fixes
2003-01-09 20:02:34 +00:00
Thomas Vander Stichele
5529bbc7dc first pass of connect->link gst-plugins and other stuff compiles without change at this point
Original commit message from CVS:
first pass of connect->link
gst-plugins and other stuff compiles without change at this point
2003-01-09 14:15:37 +00:00
Wim Taymans
b005b541c8 Test for scheduler interrupt
Original commit message from CVS:
Test for scheduler interrupt
2003-01-08 21:28:37 +00:00
Thomas Vander Stichele
bc5a5b19a1 set up thread test environment
Original commit message from CVS:
set up thread test environment
2003-01-05 18:57:26 +00:00
Wim Taymans
d4881f29fd Applied patch 13357
Original commit message from CVS:
Applied patch 13357
2003-01-05 16:50:35 +00:00
David I. Lehn
d03285407c use AM_CFLAGS
Original commit message from CVS:
use AM_CFLAGS
2003-01-03 23:33:13 +00:00
David I. Lehn
14a0a70505 format properly
Original commit message from CVS:
format properly
2002-12-31 18:50:17 +00:00
David I. Lehn
dccb4d33ef ignore some more cruft
Original commit message from CVS:
ignore some more cruft
2002-12-31 18:45:54 +00:00
Christian Schaller
457ae12e9f fix disting
Original commit message from CVS:
fix disting
2002-12-31 11:34:11 +00:00
Wim Taymans
347505bcb9 - major API breakage (one of the last, I promise...)
Original commit message from CVS:
- major API breakage (one of the last, I promise...)
- GST_PAD_QUERY -> GST_QUERY
- GstPadQuery -> GstQuery
- Move query definitions to gstquery.h to allow for future dynamic
query types.
- remove _pad_handles_* in favour of extra format/event functions to
make the same checks.
- fix elements
- Implemented missing query/event/formats functions in gstelement
2002-12-30 17:42:11 +00:00
Wim Taymans
910356a839 Removed old cache testsuite
Original commit message from CVS:
Removed old cache testsuite
2002-12-19 21:44:48 +00:00
Wim Taymans
b9f62c52c3 Added indexers testsuite
Original commit message from CVS:
Added indexers testsuite
2002-12-13 17:40:56 +00:00
Thomas Vander Stichele
8b9fcbd5df variety is spicy
Original commit message from CVS:
variety is spicy
2002-12-07 14:16:52 +00:00
Leif Johnson
e98a2b5ddb + fixing compile warnings about uninitialized variable
Original commit message from CVS:
+ fixing compile warnings about uninitialized variable
2002-12-05 23:43:49 +00:00
Wim Taymans
61a64d7910 Check state changes before going into enless loops
Original commit message from CVS:
Check state changes before going into enless loops
2002-12-03 23:46:16 +00:00
David I. Lehn
c5ee2d3051 use AM_CFLAGS dummy NULL init for vars to deal with warnings
Original commit message from CVS:
use AM_CFLAGS
dummy NULL init for vars to deal with warnings
2002-12-03 21:55:39 +00:00
Wim Taymans
cb3a70b7f7 Do some error checking to make this test succeed
Original commit message from CVS:
Do some error checking to make this test succeed
2002-12-03 21:40:49 +00:00
Wim Taymans
2c7ed823e5 Make sure the thread goes back to NULL before leaving the thread context
Original commit message from CVS:
Make sure the thread goes back to NULL before leaving the thread context
2002-12-03 21:34:18 +00:00
Wim Taymans
7d895f6737 Add small cache testsuite
Original commit message from CVS:
Add small cache testsuite
2002-12-02 22:41:15 +00:00
Thomas Vander Stichele
35387bca47 random cleanups and paranoia checks
Original commit message from CVS:
random cleanups and paranoia checks
2002-11-29 13:59:30 +00:00
Wim Taymans
08b7de807c I suppose this is where done=FALSE should be done..
Original commit message from CVS:
I suppose this is where done=FALSE should be done..
2002-11-19 23:21:28 +00:00
Thomas Vander Stichele
926f38ba31 adding tests
Original commit message from CVS:
adding tests
2002-11-18 22:54:06 +00:00
Thomas Vander Stichele
b25231d5c8 some more thread tests
Original commit message from CVS:
some more thread tests
2002-11-18 22:48:26 +00:00
David Schleef
68c9fc70d6 Fix compile problem on non-i386
Original commit message from CVS:
Fix compile problem on non-i386
2002-11-17 00:12:59 +00:00
Thomas Vander Stichele
852761c9dc threadc still fails
Original commit message from CVS:
threadc still fails
2002-11-14 21:20:47 +00:00
Thomas Vander Stichele
88f3b9131c another thread test, this still fails
Original commit message from CVS:
another thread test, this still fails
2002-11-14 21:19:55 +00:00
Thomas Vander Stichele
2556b83528 adding back threads tests
Original commit message from CVS:
adding back threads tests
2002-11-14 09:23:58 +00:00
Thomas Vander Stichele
9d804f0b00 cleanups in code fix tests to run and complete if they can move threadb to failing tests since it doesn't work with b...
Original commit message from CVS:
cleanups in code
fix tests to run and complete if they can
move threadb to failing tests since it doesn't work with basicomega
(crashes in the mmap)
2002-11-13 17:06:23 +00:00
Wim Taymans
f330cdb86c Added clock test program
Original commit message from CVS:
Added clock test program
2002-11-02 14:00:16 +00:00
David I. Lehn
e00fef2c19 use AM_CFLAGS instead of CFLAGS
Original commit message from CVS:
use AM_CFLAGS instead of CFLAGS
2002-11-02 05:24:27 +00:00
David Schleef
d99b48b2e6 Convert to GThreads
Original commit message from CVS:
Convert to GThreads
2002-11-01 22:17:20 +00:00
David I. Lehn
31efa36756 use G_{BEGIN,END}_DECLS
Original commit message from CVS:
use G_{BEGIN,END}_DECLS
2002-10-30 09:17:34 +00:00
Thomas Vander Stichele
b60d8fe04c mainloop test and some caps fixes that had to go in
Original commit message from CVS:
mainloop test
and some caps fixes that had to go in
2002-10-29 17:45:02 +00:00
David Schleef
4f4cfcd8ea removal of nasm dependency
Original commit message from CVS:
removal of nasm dependency
2002-10-25 19:38:15 +00:00
David Schleef
63e9f360e4 More nasm removal cleanups
Original commit message from CVS:
More nasm removal cleanups
2002-10-25 19:24:46 +00:00
David Schleef
9c5a2cdea7 Remove HAVE_NASM-related stuff
Original commit message from CVS:
Remove HAVE_NASM-related stuff
2002-10-25 03:36:34 +00:00
David Schleef
bca900c656 inline assembly doesn't depend on HAVE_NASM, it depends on HAVE_CPU_I386
Original commit message from CVS:
inline assembly doesn't depend on HAVE_NASM, it depends on HAVE_CPU_I386
2002-10-25 03:19:14 +00:00
Thomas Vander Stichele
1d9413fe2f test commentation
Original commit message from CVS:
test commentation
2002-09-23 06:03:17 +00:00
Thomas Vander Stichele
fc2647319f bufspeed gives warnings because of volatile discardation who wrote it, can it be fixed ? what does it actually test ?...
Original commit message from CVS:
bufspeed gives warnings because of volatile discardation
who wrote it, can it be fixed ? what does it actually test ? please
add some description in README
2002-09-23 05:35:08 +00:00
Thomas Vander Stichele
c35200bf05 another example
Original commit message from CVS:
another example
2002-09-15 21:33:26 +00:00
Thomas Vander Stichele
d616f28fcd try again
Original commit message from CVS:
try again
2002-09-14 23:12:52 +00:00
Thomas Vander Stichele
121c19e9f4 add this
Original commit message from CVS:
add this
2002-09-14 13:56:54 +00:00