Commit graph

1190 commits

Author SHA1 Message Date
Thomas Vander Stichele
756fba11ff ignore more
Original commit message from CVS:
ignore more
2004-12-17 15:07:45 +00:00
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
Thomas Vander Stichele
f98c840f6a adding automatic example extraction from manual
Original commit message from CVS:
adding automatic example extraction from manual
2002-09-14 13:17:10 +00:00
Thomas Vander Stichele
c6b9be0e52 new thread test, not yet active
Original commit message from CVS:
new thread test, not yet active
2002-09-12 19:26:54 +00:00
Thomas Vander Stichele
4200f6ca41 converting this to separate binaries so they can be run as a testsuite
Original commit message from CVS:
converting this to separate binaries so they can be run as a testsuite
2002-09-12 11:56:08 +00:00
Ronald S. Bultje
5b5274daf2 This changes an important part of the plugin API, gst_pad_try_set_caps() no longer returns a boolean, it now returns ...
Original commit message from CVS:
This changes an important part of the plugin API, gst_pad_try_set_caps() no longer returns a boolean, it now returns a GstPadConnectReturn, which makes much more sense than a boolean. All plugins have also been changed, so don't worry ;)
2002-09-10 08:52:58 +00:00
Christian Schaller
b9b6c6890a committing many nice little memleaks fixes from Iain, great work dude
Original commit message from CVS:
committing many nice little memleaks fixes from Iain, great work dude
2002-09-08 18:27:36 +00:00
Thomas Vander Stichele
32dfe1ccb0 adding a property test
Original commit message from CVS:
adding a property test
2002-08-28 14:08:22 +00:00
Wim Taymans
a06d81ef60 Added segment seeking experiment
Original commit message from CVS:
Added segment seeking experiment
2002-08-02 11:43:25 +00:00
Wim Taymans
e7b4bf243f Added an example state change function
Original commit message from CVS:
Added an example state change function
2002-07-25 20:38:04 +00:00
Wim Taymans
22c6519ec9 - Added a little testapp for pad disable using two bins in a pipeline
Original commit message from CVS:
- Added a little testapp for pad disable using two bins in a pipeline
2002-07-24 21:16:46 +00:00
Thomas Vander Stichele
e0a398036b better problem checking
Original commit message from CVS:
better problem checking
2002-07-11 15:13:09 +00:00
Wim Taymans
e81fb05e74 Remove bufspeed test
Original commit message from CVS:
Remove bufspeed test
2002-07-08 19:25:07 +00:00
Wim Taymans
f84641b8cb Make the old testcase compile again
Original commit message from CVS:
Make the old testcase compile again
2002-07-08 19:23:21 +00:00
Thomas Vander Stichele
42810b4db3 for better or worse, make distcheck now passes again
Original commit message from CVS:
for better or worse, make distcheck now passes again
2002-07-01 13:02:03 +00:00
Thomas Vander Stichele
3d8e68cf98 fake fails on a make distcheck
Original commit message from CVS:
fake fails on a make distcheck
2002-07-01 12:09:20 +00:00
Thomas Vander Stichele
ef3dd2fc6c dist fixes
Original commit message from CVS:
dist fixes
2002-07-01 12:08:22 +00:00
Thomas Vander Stichele
25b21e82f5 fixing tests
Original commit message from CVS:
fixing tests
2002-07-01 10:41:39 +00:00
Thomas Vander Stichele
5173ab2d2c identify failing tests
Original commit message from CVS:
identify failing tests
2002-07-01 09:57:10 +00:00
Wim Taymans
a4cb924e2f Added cothread context stress test (that fails)
Original commit message from CVS:
Added cothread context stress test (that fails)
2002-06-17 20:35:22 +00:00
Wim Taymans
795ecdcc86 Along with the latest scheduler updates, all these tests should work.
Original commit message from CVS:
Along with the latest scheduler updates, all these tests should work.
2002-06-05 18:12:41 +00:00
Wim Taymans
b6f6293cc3 going into the main loop effectively never stops this app
Original commit message from CVS:
going into the main loop effectively never stops this app
2002-06-04 21:07:03 +00:00
Steve Baker
ec59b53862 this one actually works, its just here for completeness
Original commit message from CVS:
this one actually works, its just here for completeness
2002-06-03 19:10:34 +00:00
Steve Baker
bd12c19658 adding comment, no change to test
Original commit message from CVS:
adding comment, no change to test
2002-06-03 19:09:48 +00:00
Steve Baker
995c529609 add comments to show what pipeline is being constructed.
Original commit message from CVS:
add comments to show what pipeline is being constructed.
change threadstate3 to be { { fakesrc ! fakesink } } which doesn't change state once it has started
2002-06-03 18:51:08 +00:00
Steve Baker
aadf0570fa threadstate4 fails randomly on state change. it is { { fakesrc } ! queue ! fakesink }
Original commit message from CVS:
threadstate4 fails randomly on state change. it is { { fakesrc } ! queue ! fakesink }
2002-06-03 18:37:36 +00:00
Steve Baker
a80a63d5db this test demostrates *another* deadlock (or it might be the same one).
Original commit message from CVS:
this test demostrates *another* deadlock (or it might be the same one).
the test is a thread in a pipeline
2002-06-03 18:05:08 +00:00
Steve Baker
e0ca09383e a more complex example which happens to be a mp3 player
Original commit message from CVS:
a more complex example which happens to be a mp3 player
2002-06-01 15:08:13 +00:00
Steve Baker
6004504f6a added a test which shows a problem with state changes when the toplevel bin is a thread.
Original commit message from CVS:
added a test which shows a problem with state changes when the toplevel bin is a thread.
there is some kind of deadlock. It would be good if wingo or wtay could have a look.
2002-06-01 15:01:51 +00:00
Thomas Vander Stichele
76c3b66b08 fixes bug 83427
Original commit message from CVS:
fixes bug  83427
2002-05-30 14:30:47 +00:00
Thomas Vander Stichele
5e58b4bdaa big mistake
Original commit message from CVS:
big mistake
2002-05-30 13:52:13 +00:00
Andy Wingo
c887de8332 fixups in the prop view/controller compilation fixes in the player add gst-editor to gst-all fixes to adder to comply...
Original commit message from CVS:
* fixups in the prop view/controller
* compilation fixes in the player
* add gst-editor to gst-all
* fixes to adder to comply with new osssink sync issues
* alsa fixes, although still 100% cpu is used, yum
* reenable locking of threaded elements, seems to work fine here
* fix a makefile in examples/plugins
2002-05-27 04:48:57 +00:00
Wim Taymans
4aaca5cc34 Small fixes, use some wierd hack to make the plugin a .so
Original commit message from CVS:
Small fixes, use some wierd hack to make the plugin a .so
2002-05-26 21:21:37 +00:00
Andy Wingo
631c8f5ca5 re-enable thread test, although it does not work but passes right now warn for bizarre behavior in plugin loading
Original commit message from CVS:
re-enable thread test, although it does not work but passes right now
warn for bizarre behavior in plugin loading
2002-05-25 17:45:51 +00:00
Andy Wingo
bdb2144428 make gst-inspect-gui call the proper gst-inspect
Original commit message from CVS:
make gst-inspect-gui call the proper gst-inspect
2002-05-11 23:33:32 +00:00
Andy Wingo
bf4e61ace3 Return TESTS_ENVIRONMENT, necessary to make the registry properly
Original commit message from CVS:
Return TESTS_ENVIRONMENT, necessary to make the registry properly
2002-05-11 21:38:16 +00:00
Andy Wingo
1f0374782c fix refcounting tests so that they compile and run, but they fail currently: gst leaks obscene amounts of memory ;) f...
Original commit message from CVS:
* fix refcounting tests so that they compile and run, but they fail currently:
gst leaks obscene amounts of memory ;)
* fix plugin loading test so that it only refers to plugins within the gstreamer/
tree
* store gst plugin paths in the registry
* is GST_REGISTRY is set, only use the user registry with the PLUGIN_PATH explictly
specified by the user
* all tests should pass now except refcounting
2002-05-11 20:30:05 +00:00
Wim Taymans
4b8c43a3d9 Fix the plugin testsuite, only registry.c doesn't work yet
Original commit message from CVS:
Fix the plugin testsuite, only registry.c doesn't work yet
2002-05-10 19:24:04 +00:00
Andy Wingo
e0a3d5eaf8 added a get_perms_func to gstxmlregistry that will set _WRITABLE and _READABLE as appropriate added an object propert...
Original commit message from CVS:
* added a get_perms_func to gstxmlregistry that will set _WRITABLE and _READABLE
as appropriate
* added an object property for location so that we can do some cleanup and initialization
2002-05-10 18:26:14 +00:00
Andy Wingo
bdec475970 Fix automake badness
Original commit message from CVS:
Fix automake badness
2002-05-10 14:40:07 +00:00
Andy Wingo
fbbdca6996 GST_PLUGIN_PATH gets split into the user registry some debugging output in registry rebuilding don't go into =build, ...
Original commit message from CVS:
* GST_PLUGIN_PATH gets split into the user registry
* some debugging output in registry rebuilding
* don't go into =build, =inst, etc
* i really don't know what the current idiom is for the plugin test suites, disabling for now

still pending issues: what to do when other plugin paths are passed on the command
line for existing registries. if the existing registries were built against those
paths, the time checks work, but if not they will need to be rebuilt. i have a feeling
they should be rebuilt in any case, but it's a tricky issue.
2002-05-10 03:27:42 +00:00
Thomas Vander Stichele
6b8e279df3 various more tests enabling
Original commit message from CVS:
various more tests enabling
2002-05-09 16:44:22 +00:00
Thomas Vander Stichele
2b51cbeebd fixing up tests
Original commit message from CVS:
fixing up tests
2002-05-09 16:43:10 +00:00
Thomas Vander Stichele
4f9dad74fe refcounting tests sure would be nice to have
Original commit message from CVS:
refcounting tests sure would be nice to have
2002-05-09 16:07:33 +00:00
Thomas Vander Stichele
223a929f5d tried fixing, failed spectacularly
Original commit message from CVS:
tried fixing, failed spectacularly
2002-05-09 15:38:31 +00:00
Thomas Vander Stichele
ec4e865fba why does this test fail ?
Original commit message from CVS:
why does this test fail ?
2002-05-09 14:50:54 +00:00
Thomas Vander Stichele
b2117398c7 allowing failing tests to be built
Original commit message from CVS:
allowing failing tests to be built
2002-05-09 14:26:20 +00:00
Andy Wingo
8974d7b71f revert patch to dynamic-pipeline and document more fully
Original commit message from CVS:
revert patch to dynamic-pipeline and document more fully
2002-05-08 21:32:03 +00:00
Wim Taymans
086de421dc Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups

I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
2002-05-08 20:40:48 +00:00
Andy Wingo
57478148c9 hopefully fix distcheck issues
Original commit message from CVS:
hopefully fix distcheck issues
2002-05-07 03:01:16 +00:00
Andy Wingo
d7f4c306cd Fix the tests so that builds that are not --enable-plugin-builddir can register the plugins from the uninstalled gstr...
Original commit message from CVS:
Fix the tests so that builds that are not --enable-plugin-builddir can register
the plugins from the uninstalled gstreamer directory. There is some small amount of voodoo
here.

Also, add gst-inspect-check to gstreamer/testsuite, where it probably belongs
2002-05-05 16:49:45 +00:00
Thomas Vander Stichele
b172752619 adding clock example
Original commit message from CVS:
adding clock example
2002-04-23 19:12:54 +00:00
Thomas Vander Stichele
35beb0b388 added name test
Original commit message from CVS:
added name test
2002-04-21 14:04:24 +00:00
Steve Baker
4b70fed5e0 update for changed dparams api
Original commit message from CVS:
update for changed dparams api
2002-04-14 10:16:47 +00:00
Thomas Vander Stichele
748e280850 check fix
Original commit message from CVS:
check fix
2002-04-12 14:38:19 +00:00
Andy Wingo
b214d35eed commit to make gstreamer follow the gtk function/macro naming conventions:
Original commit message from CVS:
commit to make gstreamer follow the gtk function/macro naming conventions:

GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

and the same for *factory and typefind.
2002-04-11 20:35:18 +00:00
Thomas Vander Stichele
55d8236413 more werror fixes
Original commit message from CVS:
more werror fixes
2002-04-11 10:36:41 +00:00
Thomas Vander Stichele
86808d3e8d removing unused vars
Original commit message from CVS:
removing unused vars
2002-04-11 09:14:58 +00:00
Andy Wingo
70cfc6cb4d new parser that uses flex and bison
Original commit message from CVS:
* new parser that uses flex and bison
- doesn't do dynamic pipelines yet...
* added GErrors to the gst_parse_launch[v] api
* added --gst-mask-help command line option
* fixed -o option for gst-launch
* GstElement api change:
- gst_element_get_pad
- gst_element_get_request_pad, gst_element_get_static_pad
- gst_element_get_compatible_pad
- gst_element_get_compatible_static_pad, gst_element_get_compatible_request_pad
- gst_element_[dis]connect -> gst_element_[dis]connect_pads
- gst_element_[dis]connect_elements -> gst_element_[dis]connect
* manual update
* example, tool, and doc updates for the api changes
- no more plugin docs in the core docs, plugins require a more
extensive doc system
2002-04-07 23:32:16 +00:00
Benjamin Otte
8ae7350492 fix all compiler warnings
Original commit message from CVS:
fix all compiler warnings
2002-04-04 19:28:23 +00:00
Wim Taymans
0d2aa4c6d2 Added some sanity checks
Original commit message from CVS:
Added some sanity checks
2002-03-30 17:09:53 +00:00
Andy Wingo
862538e9ac added a bunch of cvsignore stuff off of a fresh checkout and build i will win the race to max LOC changed ;-)
Original commit message from CVS:
added a bunch of cvsignore stuff off of a fresh checkout and build

i will win the race to max LOC changed ;-)
2002-03-25 05:01:02 +00:00
Andy Wingo
ed9b628168 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:09 +00:00
Andy Wingo
4d1a23903d s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:09 +00:00
Andy Wingo
0067d17205 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:13 +00:00
Steve Baker
ffd3b291fd reflect new dparams api
Original commit message from CVS:
reflect new dparams api
2002-03-04 18:55:17 +00:00
Thomas Vander Stichele
48c32ac434 uncomment it in the DIRS to avoid errors
Original commit message from CVS:
uncomment it in the DIRS to avoid errors
2002-02-22 19:38:48 +00:00
Thomas Vander Stichele
d040af01db test program doesn't leave iterate atm, commenting it
Original commit message from CVS:
test program doesn't leave iterate atm, commenting it
2002-02-22 18:25:06 +00:00
Thomas Vander Stichele
ce316f5ddc right include
Original commit message from CVS:
right include
2002-02-22 18:12:37 +00:00
Thomas Vander Stichele
1246cebdf6 add to DIST_SUBDIRS
Original commit message from CVS:
add to DIST_SUBDIRS
2002-02-22 17:47:10 +00:00
Steve Baker
0a99d7cafb generate the makefile for dparams testing
Original commit message from CVS:
generate the makefile for dparams testing
2002-02-21 20:47:14 +00:00
Andy Wingo
cbc6f66cf4 add two apis: gst_element_connect_elements_many (elem1, elem2, ...)
Original commit message from CVS:
* add two apis:
* gst_element_connect_elements_many (elem1, elem2, ...)
- calls gst_element_connect_elements() in order
- should be called gst_element_connect_many, but we need to rename gst_element_connect_elements first
- simplifies common-case code
* gst_bin_add_many (bin, elem1, ...)
- calls gst_bin_add on all of the elems
- again, simplifying common code
2002-02-21 14:44:27 +00:00
Thomas Vander Stichele
bc9abdfd96 use properties
Original commit message from CVS:
use properties
2002-02-12 13:53:15 +00:00
Thomas Vander Stichele
cc3b3cc116 fixing up tests to work with property callbacks
Original commit message from CVS:
fixing up tests to work with property callbacks
2002-02-12 13:51:40 +00:00
Thomas Vander Stichele
a809ce288b events seem to be gone
Original commit message from CVS:
events seem to be gone
2002-02-12 13:38:36 +00:00
Thomas Vander Stichele
f985019e4c more build cleanups (using as-version and as-libtool) some release doc notes from the previous release
Original commit message from CVS:
* more build cleanups (using as-version and as-libtool)
* some release doc notes from the previous release
2002-02-09 21:05:12 +00:00
Thomas Vander Stichele
a9e40dee74 show bug in tee code
Original commit message from CVS:
show bug in tee code
2002-02-05 14:40:56 +00:00
Thomas Vander Stichele
6cb278d571 gst version info
Original commit message from CVS:
gst version info
2002-02-05 13:24:46 +00:00
Thomas Vander Stichele
febcfbf098 this example tests caps proxying it seems to work, too
Original commit message from CVS:
this example tests caps proxying
it seems to work, too
2002-02-05 13:23:09 +00:00
Thomas Vander Stichele
ace842815e adding basic tests for fakesrc fakesink and tee
Original commit message from CVS:
adding basic tests for fakesrc fakesink and tee
2002-02-05 11:48:36 +00:00
Thomas Vander Stichele
d04d01cc3b trying to write a test for tee first
Original commit message from CVS:
trying to write a test for tee first
2002-02-05 10:55:21 +00:00
Thomas Vander Stichele
5796ee63bc remove elements from the tests for now
Original commit message from CVS:
remove elements from the tests for now
2002-01-31 22:42:52 +00:00
Thomas Vander Stichele
d3ef105676 elements test dir
Original commit message from CVS:
elements test dir
2002-01-31 22:33:22 +00:00
Thomas Vander Stichele
9505bda9c8 tee test too bad it fails at creating
Original commit message from CVS:
tee test
too bad it fails at creating
2002-01-31 12:17:46 +00:00
Martin Enlund
6f55778255 Updated to use gst-launch instead of gstreamer-launch and mad instead of mpg123
Original commit message from CVS:
Updated to use gst-launch instead of gstreamer-launch and mad instead of mpg123
2002-01-31 09:08:30 +00:00
Benjamin Otte
49ae4007af make the test have output
Original commit message from CVS:
make the test have output
2002-01-27 22:10:10 +00:00
Wim Taymans
132f776069 Use a core element (tee) for this testcase
Original commit message from CVS:
Use a core element (tee) for this testcase
2002-01-27 19:29:57 +00:00
Wim Taymans
f6027148a4 Added another testcase.
Original commit message from CVS:
Added another testcase.
2002-01-27 19:24:23 +00:00
Andy Wingo
a43702feb0 miscellaneous fixes, added gst_pad_unset_sched() api.
Original commit message from CVS:
miscellaneous fixes, added gst_pad_unset_sched() api.

although I unref the old pipeline and the cothread context gets freed in dynamic-pipeline.c,
I still get segfaults.
2002-01-19 06:29:40 +00:00
Wim Taymans
e68e6b8a64 autoplug doesn't depend on gnome anymore.
Original commit message from CVS:
autoplug doesn't depend on gnome anymore.
2002-01-17 20:58:42 +00:00
Wim Taymans
0b77ebb8b0 Remove the gnome dependency
Original commit message from CVS:
Remove the gnome dependency
2002-01-17 20:56:12 +00:00
Thomas Vander Stichele
f2237cbace I've removed autoplug from build and dist since it seems to need Gnome and we agreed not to have that in the core.
Original commit message from CVS:
I've removed autoplug from build and dist since it seems to need Gnome and
we agreed not to have that in the core.
Can someone take a look at it ? I couldn't get it to work anyway ;)
It should probably either be rewritten without gnome or moved to another
module
2002-01-17 12:31:12 +00:00
Andy Wingo
3667900ec9 added a slightly new twist in dynamic-pipeline.c: I actually iterate the first pipeline.
Original commit message from CVS:
added a slightly new twist in dynamic-pipeline.c: I actually iterate the first pipeline.
this causes a segfault (at least on my machine, i've been having link issues today though).
if a scheduler wizard (ahem) could take at glance at this, i'd be eternally grateful :-)
2002-01-17 05:04:17 +00:00
Bastien Nocera
f1e89caecd - add all the dirs to the DIST_SUBDIRS
Original commit message from CVS:
- add all the dirs to the DIST_SUBDIRS
2002-01-15 21:25:02 +00:00
Bastien Nocera
769cc8e90c - dodge compiling memchunk and bufspeed if NASM is not present
Original commit message from CVS:
- dodge compiling memchunk and bufspeed if NASM is not present
2002-01-15 21:00:56 +00:00
Thomas Vander Stichele
04f32a7280 removed capsnego testsuite from build if ok then someone please remove the source dirs
Original commit message from CVS:
removed capsnego testsuite from build
if ok then someone please remove the source dirs
2002-01-15 09:29:27 +00:00
Wim Taymans
5c10feaf48 Removed the old capsnego tests
Original commit message from CVS:
Removed the old capsnego tests
2002-01-14 21:45:48 +00:00
Thomas Vander Stichele
f0586a57dc fixing make distcheck
Original commit message from CVS:
fixing make distcheck
2002-01-14 14:04:14 +00:00
Andy Wingo
f38969ff25 fix doc build for glib2 remove template files from cvs, they are generated with gtkdoc-mktmpl new, cleaner interface ...
Original commit message from CVS:
* fix doc build for glib2
* remove template files from cvs, they are generated with gtkdoc-mktmpl
* new, cleaner interface to the parser facilities
* cleanups in gstparse.c
2002-01-14 04:09:56 +00:00
Wim Taymans
dcfb86bb73 Added caps testsuite.
Original commit message from CVS:
Added caps testsuite.
2002-01-13 22:46:34 +00:00
David I. Lehn
8da28910bc s/filter/plugin/ add $(GST_LIBS) to all plugins move Makefile.am things around to a mostly standard layout remove HTT...
Original commit message from CVS:
* s/filter/plugin/
* add $(GST_LIBS) to all plugins
* move Makefile.am things around to a mostly standard layout
* remove HTTP flags/libs from elements since http element moved
2002-01-12 00:47:40 +00:00
Andy Wingo
50043acf47 run a file, this is a quick hack
Original commit message from CVS:
run a file, this is a quick hack
2002-01-11 17:23:49 +00:00
Andy Wingo
d262bea863 summary: fix xml in gstreamer 1) make clear distinction between loading xml that actually creates objects and loading...
Original commit message from CVS:
summary: fix xml in gstreamer

1) make clear distinction between loading xml that actually creates objects and loading xml that just
synchronizes properties with objects. moved most of gst_element_restore_thyself functionality to
gst_xml_make_element. this new function name can change if it sucks.
2) many various fixes. createxml and runxml work now.
3) doc updates.
4) GstSignalObject is stil broken. i have no idea what it's supposed to do.
2002-01-11 15:49:47 +00:00
Wim Taymans
3de9788e32 Fix the helloworld example.
Original commit message from CVS:
Fix the helloworld example.
2002-01-06 19:00:14 +00:00
Andy Wingo
35aa5cebdf global s/disksrc/filesrc/, but edited by me
Original commit message from CVS:
global s/disksrc/filesrc/, but edited by me
2002-01-06 04:26:37 +00:00
Andy Wingo
082a40ded1 for i in find . -name *.[ch]; do perl -n -i -p -e 's/disksrc/filesrc/g;' $i; done
Original commit message from CVS:
for i in `find . -name *.[ch]`; do perl -n -i -p -e 's/disksrc/filesrc/g;' $i; done
2002-01-05 23:05:56 +00:00
Thomas Vander Stichele
0f5fb3402a eat your own dogfood
Original commit message from CVS:
eat your own dogfood
2002-01-05 10:19:32 +00:00
Thomas Vander Stichele
d877412c09 running make distdir in the dir you change stuff in might help ;)
Original commit message from CVS:
running make distdir in the dir you change stuff in might help ;)
2002-01-05 09:33:57 +00:00
Andy Wingo
bc3ea27c3b added lat.c, thanks to MattyBoy
Original commit message from CVS:
added lat.c, thanks to MattyBoy
2002-01-05 02:04:28 +00:00
Andy Wingo
f698d6469c compile fixen
Original commit message from CVS:
compile fixen
2002-01-05 01:43:16 +00:00
Andy Wingo
1a4c7726aa put everything in tests/
Original commit message from CVS:
put everything in tests/
2002-01-05 01:25:28 +00:00
Andy Wingo
e1bc025265 kutting out the kruft
Original commit message from CVS:
kutting out the kruft
2002-01-05 01:19:24 +00:00
Andy Wingo
f3dc36d37d changes to allow apps outside of gstreamer/ to use dparams continuing test removal
Original commit message from CVS:
* changes to allow apps outside of gstreamer/ to use dparams
* continuing test removal
2002-01-05 00:56:40 +00:00
Thomas Vander Stichele
de0ba03c89 fixing
Original commit message from CVS:
fixing
2002-01-02 14:08:16 +00:00
Thomas Vander Stichele
8a96491618 fixes for make distcheck does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ? and if so, how should it be found by the...
Original commit message from CVS:
fixes for make distcheck
does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ?
and if so, how should it be found by the bytestream test ?
2002-01-02 14:07:46 +00:00
Thomas Vander Stichele
c81314f924 fixes to make distcheck work changed registry out of date to warning to allow tests to continue regardless (any bette...
Original commit message from CVS:
fixes to make distcheck work
changed registry out of date to warning to allow tests to continue regardless (any better suggestions much appreciated)
2002-01-02 12:23:26 +00:00
Wim Taymans
0ec3db25a7 Make some things work again
Original commit message from CVS:
Make some things work again
2002-01-01 13:57:18 +00:00
Wim Taymans
d3cc94bb8c Some small fixes
Original commit message from CVS:
Some small fixes
2002-01-01 13:56:35 +00:00
Thomas Vander Stichele
4f14ff0d1b this isn't going to go away is it ?
Original commit message from CVS:
this isn't going to go away is it ?
2001-12-27 10:31:35 +00:00
Thomas Vander Stichele
376d55386a don't install test plugins don't eat turkey
Original commit message from CVS:
don't install test plugins
don't eat turkey
2001-12-25 12:13:24 +00:00
Wim Taymans
37ef20dd0f Fixed the typefind function
Original commit message from CVS:
Fixed the typefind function
2001-12-22 21:28:16 +00:00
Wim Taymans
775656d35f Added another test app.
Original commit message from CVS:
Added another test app.
2001-12-20 20:06:45 +00:00
Andy Wingo
e8e87fe956 removed gstreamer.m4 (packages should use pkg.m4) guilaunch depends only on gtk, not libglade-gnome removed an unnece...
Original commit message from CVS:
* removed gstreamer.m4 (packages should use pkg.m4)
* guilaunch depends only on gtk, not libglade-gnome
* removed an unnecessary check in dynamic-pipeline.c
* attempted to avoid a spurious autoheader run
* gtk2 fixes
* killed a lot of files that automake brings in for us
* killed acinclude.m4, it's autogenerated
2001-12-20 01:20:22 +00:00
Wim Taymans
59d1e1d051 The test apps I'm using to track down cleanup issues.
Original commit message from CVS:
The test apps I'm using to track down cleanup issues.
2001-12-19 19:25:06 +00:00
Wim Taymans
4cbf01a7f0 Small g_print additions
Original commit message from CVS:
Small g_print additions
2001-12-18 19:45:31 +00:00
Wim Taymans
b48a02d635 Added a testsuite for pipeline cleanup etc..
Original commit message from CVS:
Added a testsuite for pipeline cleanup etc..
2001-12-18 14:34:39 +00:00
Wrobell
18ae9a069d - use GST_CFLAGS and GST_LIBS only
Original commit message from CVS:
- use GST_CFLAGS and GST_LIBS only
2001-12-17 12:47:39 +00:00
Wrobell
d4d144032c - use GST_CFLAGS only
Original commit message from CVS:
- use GST_CFLAGS only
- use AM_CFLAGS instead of CFLAGS so user cflags are not overwritten
- use LDADD instead of LIBS (by analogy for <program>_LDADD, look for
example in tools/Makefile.am) - kill me if it is wrong
2001-12-16 18:49:35 +00:00
Thomas Vander Stichele
40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Wim Taymans
9f23c76bea Aplied more fixage from Michael Meeks.
Original commit message from CVS:
Aplied more fixage from Michael Meeks.
2001-12-13 23:14:39 +00:00
Michael Meeks
7943a116f6 Aplied a patch from Michael Meeks to add libxml2 support.
Original commit message from CVS:
Aplied a patch from Michael Meeks to add libxml2 support.
2001-12-13 19:00:58 +00:00
Thomas Vander Stichele
688e1fecdc release c++ checking comment out test
Original commit message from CVS:
release c++ checking
comment out test
2001-12-12 00:12:58 +00:00
Thomas Vander Stichele
1cbdc96b2f another test down the drain ;)
Original commit message from CVS:
another test down the drain ;)
2001-12-11 23:00:18 +00:00
Thomas Vander Stichele
a9325a94f9 comment out dynamic
Original commit message from CVS:
comment out dynamic
2001-12-11 22:59:02 +00:00
Wim Taymans
6bd122b0a6 Don't install the test plugins
Original commit message from CVS:
Don't install the test plugins
2001-12-11 21:25:06 +00:00
Thomas Vander Stichele
c9db813400 sigh
Original commit message from CVS:
sigh
2001-12-10 17:40:47 +00:00
Thomas Vander Stichele
223780c95e *sigh*
Original commit message from CVS:
*sigh*
2001-12-10 16:33:43 +00:00
Thomas Vander Stichele
76f0f5c40b add FIXME
Original commit message from CVS:
add FIXME
2001-12-10 09:09:53 +00:00
Thomas Vander Stichele
603278e0a4 yeah it's late
Original commit message from CVS:
yeah it's late
2001-12-09 23:27:11 +00:00
Thomas Vander Stichele
5c3b8b1b95 header wasn't declared
Original commit message from CVS:
header wasn't declared
2001-12-09 23:01:49 +00:00
Thomas Vander Stichele
85f2b281ee commented out disabled test
Original commit message from CVS:
commented out disabled test
2001-12-09 21:11:22 +00:00
Thomas Vander Stichele
d5564a0557 commenting out two tests that keep failing to see what is behind the rainbow
Original commit message from CVS:
commenting out two tests that keep failing to see what is behind the rainbow
2001-12-09 16:26:14 +00:00
Thomas Vander Stichele
fd99a84629 threads back in ?
Original commit message from CVS:
threads back in ?
2001-12-08 13:57:17 +00:00
Thomas Vander Stichele
3b3753f55e one more fix
Original commit message from CVS:
one more fix
2001-12-06 21:45:51 +00:00
Thomas Vander Stichele
90160b0202 fixed FIXME's
Original commit message from CVS:
fixed FIXME's
2001-12-06 21:40:23 +00:00
Wim Taymans
f6d86c4a98 Added a thread test case.
Original commit message from CVS:
Added a thread test case.
2001-12-05 18:39:20 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Steve Baker
0b0874bfed the beginnings of a testsuite for dparams. it works but it doesn't test anything yet
Original commit message from CVS:
the beginnings of a testsuite for dparams. it works but it doesn't test anything yet
2001-11-29 20:36:46 +00:00
Thomas Vander Stichele
1056fce9b6 I tried my best
Original commit message from CVS:
I tried my best
2001-11-28 09:44:38 +00:00
Thomas Vander Stichele
ef4e4972d3 void value should be ignored
Original commit message from CVS:
void value should be ignored
2001-11-28 09:40:33 +00:00
Thomas Vander Stichele
1a2d1c4195 trying to fix make distcheck
Original commit message from CVS:
trying to fix make distcheck
2001-11-28 09:33:28 +00:00
Thomas Vander Stichele
d678f74f2c temporarily removed refcounting
Original commit message from CVS:
temporarily removed refcounting
2001-11-27 22:56:22 +00:00
Thomas Vander Stichele
d9a77b64c8 removed bin from tests
Original commit message from CVS:
removed bin from tests
2001-11-27 22:06:29 +00:00
Andy Wingo
ac66719205 fix stupid commit
Original commit message from CVS:
fix stupid commit
2001-11-27 21:36:18 +00:00
Andy Wingo
d141a6318d for the love of god, let this be the last distcheck fix in this dir
Original commit message from CVS:
for the love of god, let this be the last distcheck fix in this dir
2001-11-27 21:09:40 +00:00
Andy Wingo
cc8ab439cd try some more to fix make distcheck
Original commit message from CVS:
try some more to fix make distcheck
2001-11-26 19:24:11 +00:00
Andy Wingo
e3664eda31 use fake* instead of other elements
Original commit message from CVS:
use fake* instead of other elements
2001-11-26 01:55:36 +00:00
Andy Wingo
d11dd78e24 make the test case clearer and better commented. i now think that this is a cothreads problem.
Original commit message from CVS:
make the test case clearer and better commented. i now think that this is a cothreads problem.
2001-11-26 01:48:19 +00:00
Andy Wingo
dd0f953d7f fixed mainloop for non-glib2 this is a hack, we really need to fix this properly so i don't have to do this in every ...
Original commit message from CVS:
fixed mainloop for non-glib2
this is a hack, we really need to fix this properly so i don't have to do this in every file
2001-11-25 15:58:58 +00:00
Andy Wingo
3bc78f5d9e i've added a testcase where the scheduler fails. i don't know enough about the scheduler to fix it, though. the seque...
Original commit message from CVS:
i've added a testcase where the scheduler fails. i don't know enough about
the scheduler to fix it, though. the sequence goes:
- make a pipeline, iterate it once
- re-use one of the elements in a new pipeline, see if it works
2001-11-25 06:30:34 +00:00
Andy Wingo
dfcbeb714e GstObject is no longer instantiatable in glib2
Original commit message from CVS:
GstObject is no longer instantiatable in glib2
2001-11-24 20:04:47 +00:00
Thomas Vander Stichele
ebfd7aac62 added plugin
Original commit message from CVS:
added plugin
2001-11-13 11:15:36 +00:00
Andy Wingo
2ffb853b7d make distcheck fixes, and added bytestream test to distro (why not?)
Original commit message from CVS:
make distcheck fixes, and added bytestream test to distro (why not?)
2001-10-26 20:19:02 +00:00
Erik Walthinsen
d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00
Erik Walthinsen
d4afd62f1a changed videosink to xvideosink
Original commit message from CVS:
changed videosink to xvideosink
2001-09-25 19:01:58 +00:00
Thomas Vander Stichele
b7a01f42b2 added some more checking
Original commit message from CVS:
added some more checking
2001-08-29 09:00:49 +00:00
Erik Walthinsen
7adfdaf6dc added timecache testing code
Original commit message from CVS:
added timecache testing code
2001-08-22 21:00:19 +00:00
Wim Taymans
12bbbd5c1e Lots of modifications to the plugin system.
Original commit message from CVS:
Lots of modifications to the plugin system.
- Added a GstPluginfeature object that serves as a base class for all
plugin contents.
- changed the plugin API, everyhting is now added with
gst_plugin_add_feature
- typefactories are named now so that they can be located easily and filled
in at plugin load.
- mime types like "video/raw image/raw" are gone for now.
- lots of plugin updates (style and API changes)
- tested with an without registry.
- updates to various tools.
- added a little testsuite to test/show how you can load plugins (4 modes)

Test this one, Almost everything has changed :-)
2001-08-21 20:16:48 +00:00
Steve Baker
3cda4e2eaa sync with the current CVS glib API
Original commit message from CVS:
sync with the current CVS glib API
2001-08-13 19:00:13 +00:00
Steve Baker
6de8994811 added more exes
Original commit message from CVS:
added more exes
2001-08-12 10:09:01 +00:00
Wim Taymans
5e6a3722ac Fixes to various plugins.
Original commit message from CVS:
Fixes to various plugins.
Removed the eos/qos calls in favour of the soon to be event system.
Added a test app to test element reuse (doesn't work)
2001-08-10 17:40:34 +00:00
Steve Baker
889082ecf1 added an exe
Original commit message from CVS:
added an exe
2001-08-10 17:02:34 +00:00
Steve Baker
cb487ffe32 hide new tests
Original commit message from CVS:
hide new tests
2001-08-10 16:36:48 +00:00
Wim Taymans
5f61efc9ce Fixed the padtemplate definition.
Original commit message from CVS:
Fixed the padtemplate definition.
2001-08-06 22:16:37 +00:00
Erik Walthinsen
ee9426a1a1 Initial code for the event system.
Original commit message from CVS:
Initial code for the event system.
2001-08-06 20:37:21 +00:00
Wim Taymans
517f0b5cc9 Added a simple thread state change app.
Original commit message from CVS:
Added a simple thread state change app.
2001-07-27 17:12:46 +00:00
Wim Taymans
3a1a483cd9 Added a muxing test case.
Original commit message from CVS:
Added a muxing test case.
2001-07-11 19:26:22 +00:00
Wim Taymans
414a3aeab8 Add sane arg checking.
Original commit message from CVS:
Add sane arg checking.
2001-07-07 14:14:42 +00:00
Wim Taymans
9593a39754 Added a parse_launch example.
Original commit message from CVS:
Added a parse_launch example.
2001-07-07 14:07:03 +00:00
Wim Taymans
67bf0e5c60 Updated the autoplug example.
Original commit message from CVS:
Updated the autoplug example.
2001-07-07 13:32:43 +00:00
Thomas Vander Stichele
0e653a5623 implemented ring buffer
Original commit message from CVS:
implemented ring buffer
2001-06-27 20:53:40 +00:00
Wim Taymans
a8fd594d6b Small fixes to the autoplugger so that it uses a colorspace element for video.
Original commit message from CVS:
Small fixes to the autoplugger so that it uses a colorspace element for
video.
2001-06-27 20:19:00 +00:00
Erik Walthinsen
7f8d8fe8d5 Merged from GOBJECT1 to HEAD at 200106241
Original commit message from CVS:
Merged from GOBJECT1 to HEAD at 200106241
2001-06-25 01:20:11 +00:00
Thomas Vander Stichele
710fb2ad9f added some minor stuff
Original commit message from CVS:
added some minor stuff
2001-06-15 16:42:12 +00:00
Thomas Vander Stichele
4af8c58268 changed cutter example to use a thread
Original commit message from CVS:
changed cutter example to use a thread
2001-06-14 18:04:16 +00:00
Thomas Vander Stichele
c8d950b8ef cutter now uses afsink to write out wavs we will add a queue next to handle latency problems
Original commit message from CVS:
cutter now uses afsink to write out wavs
we will add a queue next to handle latency problems
2001-06-13 22:09:58 +00:00
Thomas Vander Stichele
af0f1309c7 added cutter example
Original commit message from CVS:
added cutter example
2001-06-13 21:52:42 +00:00
Thomas Vander Stichele
b997098405 added example program to show how cutter plugin works
Original commit message from CVS:
added example program to show how cutter plugin works
2001-06-13 16:20:49 +00:00
Wim Taymans
978c380731 Fixed the helloworld example by using a pipeline as the toplevel element.
Original commit message from CVS:
Fixed the helloworld example by using a pipeline as the toplevel element.
2001-06-02 16:38:58 +00:00
Thomas Vander Stichele
434d40d4c5 ok, this works now
Original commit message from CVS:
ok, this works now
2001-06-01 22:36:04 +00:00
Thomas Vander Stichele
8d262037b9 test for disconnect and reconnect of elements
Original commit message from CVS:
test for disconnect and reconnect of elements
2001-06-01 22:23:24 +00:00
Wim Taymans
42ebe8b588 Fixed a couple of compiler warnings.
Original commit message from CVS:
Fixed a couple of compiler warnings.
2001-06-01 18:24:41 +00:00
Wim Taymans
23070df56d Removed the thread test so make distcheck works.
Original commit message from CVS:
Removed the thread test so make distcheck works.
2001-05-31 19:52:09 +00:00
Wim Taymans
bc30d3872a Added the mem.h file in noinst_HEADERS.
Original commit message from CVS:
Added the mem.h file in noinst_HEADERS.
2001-05-31 19:18:51 +00:00
Wim Taymans
c50c190b17 Added the headers
Original commit message from CVS:
Added the headers
2001-05-27 23:12:57 +00:00
Wim Taymans
4b984710c6 Updated for new API calls.
Original commit message from CVS:
Updated for new API calls.
2001-05-27 22:55:46 +00:00
Wim Taymans
986777c851 Makfeile updates.
Original commit message from CVS:
Makfeile updates.
2001-05-27 22:25:32 +00:00
Erik Walthinsen
a3d7869aaa various build fixes
Original commit message from CVS:
various build fixes
2001-05-27 21:56:04 +00:00
Wim Taymans
9fcb8430cd Updated for removed methods.
Original commit message from CVS:
Updated for removed methods.
2001-05-27 14:39:17 +00:00
Wim Taymans
5b436ccbe1 Updated for remove methods.
Original commit message from CVS:
Updated for remove methods.
2001-05-27 14:38:43 +00:00
Erik Walthinsen
e430bc2d95 shut up fakesrc and fakesink, changed sleeping a little
Original commit message from CVS:
shut up fakesrc and fakesink, changed sleeping a little
2001-05-26 05:36:26 +00:00
Erik Walthinsen
3b50989958 moved debug to before _init so cmdline can override, and put sleep(1)'s in while(1) to increase chance of contention ...
Original commit message from CVS:
moved debug to before _init so cmdline can override, and put sleep(1)'s in while(1) to increase chance of contention (I think)
2001-05-26 05:26:47 +00:00
Erik Walthinsen
7780b294e3 updated threadlock to actually be a thread locking test
Original commit message from CVS:
updated threadlock to actually be a thread locking test
2001-05-26 05:19:33 +00:00
Erik Walthinsen
4a583683e5 Merged from INCSCHED on 200505251!!!
Original commit message from CVS:
Merged from INCSCHED on 200505251!!!
2001-05-25 21:00:07 +00:00
David I. Lehn
c447ea71a4 Pass buffer in handoff signal
Original commit message from CVS:
Pass buffer in handoff signal
2001-05-10 20:28:51 +00:00
David I. Lehn
9eaced94af just call exit() once
Original commit message from CVS:
just call exit() once
2001-05-10 20:25:29 +00:00
Wim Taymans
a7566d4158 We don't want to teach you bad habbits, so here's a fix for a memleak in the example plugin.
Original commit message from CVS:
We don't want to teach you bad habbits, so here's a fix for a memleak in
the example plugin.
2001-05-02 23:12:37 +00:00
Richard Boulton
0bf1a380cc Remove #include <gnome.h> from some tests which don't actually need it, and make the other tests and the autoplug exa...
Original commit message from CVS:
Remove #include <gnome.h> from some tests which don't actually need it,
and make the other tests and the autoplug example only compile if gnome
headers are present.
2001-04-25 11:49:38 +00:00
Wim Taymans
892f4b3204 API docs updates.
Original commit message from CVS:
API docs updates.
Properly implemented the disksink.
Fixed a compile problem with alsa.
Added bufferpool handling to dvdec
Some compiler warning fixes
2001-04-22 16:04:19 +00:00
Richard Boulton
610e9e8227 Merged from BRANCH-PLUGINVER1
Original commit message from CVS:
Merged from BRANCH-PLUGINVER1
2001-04-22 12:30:14 +00:00
Wim Taymans
57a5017c8b Fixed a few plugins so that mpeg1 encoding sorta works.
Original commit message from CVS:
Fixed a few plugins so that mpeg1 encoding sorta works.
Added an mpeg1 encoder example, it uses the autoplugger to convert
the stream to audio/video, which is then fed to the encoders.
2001-04-21 17:45:56 +00:00
Thomas Vander Stichele
4ad674a2a2 mixer now works with variable inputs mixer creates custom volume envelopes allowing each song to play alone and end w...
Original commit message from CVS:
* mixer now works with variable inputs
* mixer creates custom volume envelopes allowing each song to play alone
and end with a mix of all of them, undistorted
2001-04-18 16:08:59 +00:00
Thomas Vander Stichele
bbb7ab7055 cleaned up some code and integrated with new adder (mixer now works with different types of files)
Original commit message from CVS:
* cleaned up some code and integrated with new adder (mixer now works with
different types of files)
2001-04-18 14:04:08 +00:00
Thomas Vander Stichele
7c5e80c383 changed mixer to work by autoplugging the input channels (not very useful yet, since the input buffers to volenv have...
Original commit message from CVS:
changed mixer to work by autoplugging the input channels
(not very useful yet, since the input buffers to volenv have different
sizes)
2001-04-17 21:17:55 +00:00
Wim Taymans
6bd5dcffab The first wave of docs updates
Original commit message from CVS:
The first wave of docs updates
Added a little more comments about the API usage in the api docs.
Some fixes for the capsnego testsuite.
2001-04-17 21:14:55 +00:00
Wim Taymans
a8ba9c4122 Autoplug3 shows an example of an autoplugged mp3 player.
Original commit message from CVS:
Autoplug3 shows an example of an autoplugged mp3 player.
Autoplug4 shows various static autoplugger examples.
2001-04-17 21:03:43 +00:00
Thomas Vander Stichele
64f5e810a1 header for mixer.c, containing input_pipe_t
Original commit message from CVS:
header for mixer.c, containing input_pipe_t
2001-04-17 17:48:19 +00:00
Thomas Vander Stichele
2d0a7dfad1 added a struct to set up input channels
Original commit message from CVS:
added a struct to set up input channels
2001-04-17 17:47:45 +00:00
Wim Taymans
ac7bf2494d Updated the padfactory test code.
Original commit message from CVS:
Updated the padfactory test code.
2001-04-16 21:48:44 +00:00
Erik Walthinsen
d74fc2e0fa Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
Original commit message from CVS:
Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
2001-04-16 21:43:21 +00:00
Thomas Vander Stichele
5050318744 changed volume envelope; should do a nice transition between both songs now
Original commit message from CVS:
changed volume envelope; should do a nice transition between both songs
now
2001-04-16 19:38:56 +00:00
Wim Taymans
d0921a2897 Added an example audio mixer.
Original commit message from CVS:
Added an example audio mixer.
2001-04-16 16:34:16 +00:00
Wim Taymans
3c7dde9ad4 Add the xvideosink to the example.
Original commit message from CVS:
Add the xvideosink to the example.
2001-04-16 10:55:52 +00:00
Wim Taymans
b38d9a945b A rather large patch:
Original commit message from CVS:
A rather large patch:
- changed the API for the padtemplates:
- remove the factories (array of pointers) for the padtemplates,
properties and caps. The static array was a nice idea but converting
all the property values to a gpointer was not a good idea.
float properties were not possible, and casting a gint to a pointer
is not very portable. The new API just uses the _padtemplate_new,
_caps_new and _props_new functions to create the templates.
This has the added benefit that the API is now uniform for static
and dynamic templates and that the code can be made cleaner.
- lots of cleanups in the way the capabilities are constructed (va_list)
- lots of updates for all the plugins (new API)
- docs updates (new API)
- removed the videoraw docs.
2001-04-14 18:56:37 +00:00
Wim Taymans
335080574f Lots of updates to the plugins for caps negotiation.
Original commit message from CVS:
Lots of updates to the plugins for caps negotiation.
Added YUY2 output to the win32 dlls.
Added a colorspace converter in gstplay
2001-04-12 18:11:19 +00:00
Wim Taymans
c3a64ce1f6 Merged the float property patch from Steve Baker. This patch doesn't really work yet...
Original commit message from CVS:
Merged the float property patch from Steve Baker. This patch doesn't
really work yet...
2001-04-02 19:56:34 +00:00
Wim Taymans
6912e1946e Adjust the test cases to the new FOURCC API.
Original commit message from CVS:
Adjust the test cases to the new FOURCC API.
2001-03-31 00:13:51 +00:00
Wim Taymans
04813b163b Simplified the FOURCC API to the caps, add a GST_MAKE_FOURCC macro to create a fourcc.
Original commit message from CVS:
Simplified the FOURCC API to the caps, add a GST_MAKE_FOURCC macro
to create a fourcc.
Adjusted the plugins to use the new FOURCC API
2001-03-30 23:56:07 +00:00
Wim Taymans
54347a618b Small updates to the .cvsignore files.
Original commit message from CVS:
Small updates to the .cvsignore  files.
2001-03-30 20:10:45 +00:00
Wim Taymans
0837e1e495 Modified a lot of plugins to use the caps system.
Original commit message from CVS:
Modified a lot of plugins to use the caps system.
Modified the caps of audio/raw to our agreed properties.
Added the multidisksrc plugin of Dominic Ludlam
Renamed audiosink/src to osssink/src and updated all the examples using
the old name. Moved oss specific plugins in an oss directory. removed
the old audiosink from the elements/ dir.
removed audioraw.h metadata header files since we now use the properties.
There are still a few plugins that won't build because they include the
old audioraw.h header file. This will be fixed soon.
Make sure the caps are set in the plugins as described by their
padtemplates (this should solve problems with gstmediaplay with various
media files).

*please don't panic when some plugins won't build, just cd manually into
the plugin dirs* This will be fixed soon.
2001-03-24 17:22:03 +00:00
Richard Boulton
d80375c632 Added --enable-plugin-docs configure option, to enable build of the plugin documentation (currently broken). This de...
Original commit message from CVS:
Added --enable-plugin-docs configure option, to enable build of the plugin
documentation (currently broken).  This defaults to off.
Changed --enable-docs-build to default to on, since all other documentation
should build correctly.

Also, correct typo in manual, and fix up a couple of things in example.c
2001-03-20 23:12:24 +00:00
Wim Taymans
7d4666d4dc Added the new enum testcase to .cvsignore
Original commit message from CVS:
Added the new enum testcase to .cvsignore
2001-03-20 18:29:46 +00:00
Wim Taymans
0267b92c93 More work on capsnego proxying. It should be OK now.
Original commit message from CVS:
More work on capsnego proxying. It should be OK now.
Added another testcase enum that shows various capsnego algorithms.
Warn about pads that try to set a capability incompatible with their
padtemplate.
Implemented refcounting and copy_on_write for caps/props.
2001-03-20 18:29:00 +00:00
Wim Taymans
29cb713b21 More work on capsnego, mostly proxying
Original commit message from CVS:
More work on capsnego, mostly proxying
Added another testsuite for capsnego
Added caps to vorbisdec, mp3parse, mp1videoparse
Redid the queue proxy handling a bit.
2001-03-18 16:17:39 +00:00
Wim Taymans
3534e68563 Reworked the capsnegotiation function audiosink now uses capsnego to set its parameters mpg123/ac3dec use capsnego in...
Original commit message from CVS:
Reworked the capsnegotiation function
audiosink now uses capsnego to set its parameters
mpg123/ac3dec use capsnego instead of metadata
Added the beginnings of a testsuite for capsnego.
2001-03-18 02:42:30 +00:00
Wim Taymans
29a006c8d8 Updated the autoplug example with the new autoplugger. there still is a scheduling issue though.
Original commit message from CVS:
Updated the autoplug example with the new autoplugger. there still is
a scheduling issue though.
2001-03-13 18:57:25 +00:00
Wim Taymans
3ec275832a Merged the CAPSNEGO1 branch..
Original commit message from CVS:
Merged the CAPSNEGO1 branch..
2001-03-12 21:02:12 +00:00
Richard Boulton
1f3f906886 Updated test to have a comment explaining its purpose (very important this, especially for regression tests), and to ...
Original commit message from CVS:
Updated test to have a comment explaining its purpose (very important this,
especially for regression tests), and to actually test what I meant it to.
2001-03-09 12:29:51 +00:00
Richard Boulton
51847f3fe4 Added a testsuite. This currently only has one test, which replicates a problem just submitted to the list.
Original commit message from CVS:
Added a testsuite.  This currently only has one test, which replicates a
problem just submitted to the list.

I hope noone disagrees that we need a testsuite.  Also, hopefully we all
think that a tiny testsuite which is easy to add tests to is much better
than a huge project to create a complete testsuite, which never gets
started because its too big and scary.

I suggest that tests get created whenever someone has a spare moment, or
whenever a bug is reported (to replicate the problem, and thus be sure that
when fixed it stays fixed), and before making a change to a piece of code
to ensure that it remains working.

If we all add little tests occasionally, then we'll have a good useful
testsuite before we know it.  All you need to do is make a
2001-03-09 12:08:38 +00:00
Wim Taymans
55006f6367 Merged the AUTOPLUG2 branch
Original commit message from CVS:
Merged the AUTOPLUG2 branch
2001-03-07 21:52:56 +00:00
Wim Taymans
30685cb8c9 Added quotes around the command line mp3 player
Original commit message from CVS:
Added quotes around the command line mp3 player
2001-03-06 20:06:07 +00:00
Wim Taymans
3c79a3d66f Make the autoplugging example work again with an ugly hack until we have autoplug2 merged...
Original commit message from CVS:
Make the autoplugging example work again with an ugly hack until we
have autoplug2 merged...
2001-03-02 17:56:02 +00:00
Wim Taymans
f37f8a939e Added directories to Makefiles for DIST
Original commit message from CVS:
Added directories to Makefiles for DIST
2001-02-24 16:56:19 +00:00
Wim Taymans
1340064d57 More doc updates
Original commit message from CVS:
More doc updates
Manual additions: xml/load save of custom XML, debugging, request pads
added a signal to the example plugin
fixed a bug in mp3parse (ifdef 1)
2001-02-22 23:18:51 +00:00
Wim Taymans
94472df1c2 Fixed an unclosed comment
Original commit message from CVS:
Fixed an unclosed comment
2001-02-22 17:13:30 +00:00
Erik Walthinsen
2324ea92c8 significant commenting of the example plugin
Original commit message from CVS:
significant commenting of the example plugin
2001-02-22 01:34:25 +00:00
Wim Taymans
1a5cfae0f6 Added a first attempt for XML embedding in the main core XML.
Original commit message from CVS:
Added a first attempt for XML embedding in the main core XML.
Objects will emit a signal that a user app can connect to in order to
insert its XML into the tree.
You can catch the object_loaded signal in GstXML to parse the user
supplied XML data in the stream. The object_loaded signal is implemented
with a custom made class signal. All GstObject classes now automatically
create a GstSignalObject that serves as a proxy to the user app when an
object is loaded. All objects are currently responsible to emit the
class signal themselves.
runxml and createxml serve as an example how the XML hooks can be used to
insert and retrieve custom XML tags.
2001-01-30 23:53:04 +00:00
Wim Taymans
eaeadf52e3 Lots of plugins fixes where the parentage macros were replaced with the correct gst_*_get_parent.
Original commit message from CVS:
Lots of plugins fixes where the parentage macros were replaced with the
correct gst_*_get_parent.
Updated the example.
'gstreamer' now is the doc type instead of GST-Pipeline
2001-01-29 23:50:29 +00:00
Wim Taymans
51cbf22624 This is a megapatch with the following changes:
Original commit message from CVS:
This is a megapatch with the following changes:

- moved the gchar *name to GstObject, removed the ones in GstElement and
GstPad.
- moved the parent handling completely into GstObject. This cause *all* of
the plugins to fail (except those that used gst_pad_get_parent)
- rearanged the XML save handling.
- GstObject now has a class function save/restore_thyself.
- GstObject has a generic method gst_object_save_thyself, this makes it
possible to fire a signal wehever a new object is loaded. This is needed
so we can add XML save hooks.
- GstXML API has changed slightly. You now have to create a GstXML object
first before you can actually load something. This makes it possible to
attach a signal to GstXML whenever an object is loaded. I'm not sure we
will keep this interface.
- GstObject can now print the path_string without knowing about the GstPad and
GstElement types.
- Added gst_bin_get_by_name_recurse_up to lookup an element in the current
element hierarchy.
- added XML namespaces to the saved pipelines the namespace is:
http://gstreamer.net/gst-core/1.0/
namespaces are needed to distinguish user generated XML from the core XML.

Note that the plugins still contain a macro GST_OBJECT_PARENT that will be
replaced with gst_pad_get_parent shortly.
2001-01-29 00:06:02 +00:00
Richard Boulton
d20f0b4bae Add gst_element_request_compatible_pad and remove gst_element_request_pad.
Original commit message from CVS:
Add gst_element_request_compatible_pad and remove gst_element_request_pad.
Implemented something reasonable for gst_element_request_compatible_pad,
but havn't tested much: it won't work for tee because the pad templates
have no caps, and negotiation is not yet written, so it is assumed that the
tee pads can't connect to anything.
2001-01-23 18:42:23 +00:00
Richard Boulton
ba237a38dd Fix launch so that it can play a list of files, now that EOS works enough. (It needs to not have to restart gstreamer...
Original commit message from CVS:
Fix launch so that it can play a list of files, now that EOS works enough.
(It needs to not have to restart gstreamer each time, but good enough for
now ;-) )
2001-01-22 23:39:23 +00:00
Wim Taymans
bc9054e18e Added another test case, a bin in a thread, to test EOS. still hangs because gtk_main hangs in a __poll somewhere.
Original commit message from CVS:
Added another test case, a bin in a thread, to test EOS. still hangs because
gtk_main hangs in a __poll somewhere.
2001-01-21 16:08:37 +00:00
Wim Taymans
044c4611af More eos handling, bin in bin is handled correctly now.
Original commit message from CVS:
More eos handling, bin in bin is handled correctly now.
Updated gstreamer-launch to loop while !EOS.
2001-01-21 16:06:42 +00:00
Wim Taymans
029e7bfbd9 More test cases for EOS handling
Original commit message from CVS:
More test cases for EOS handling
2001-01-20 17:53:03 +00:00
Erik Walthinsen
fdadef86d9 updated tests code to new ghostpad API
Original commit message from CVS:
updated tests code to new ghostpad API
2001-01-20 03:36:20 +00:00
Wim Taymans
de4b9f654e Two more test cases
Original commit message from CVS:
Two more test cases
2001-01-20 03:02:29 +00:00
Wim Taymans
9b3f1277ce API docs updates
Original commit message from CVS:
API docs updates
2001-01-19 22:15:21 +00:00
Erik Walthinsen
74f8050844 Major cleanup of the latest ghostpad changes. Fixed everything that broke, correctly. Someone will want to go updat...
Original commit message from CVS:
Major cleanup of the latest ghostpad changes.  Fixed everything that
broke, correctly.  Someone will want to go update the API doc templates.
2001-01-19 09:37:32 +00:00
Wim Taymans
085b22ac1f Added a little tee test program.
Original commit message from CVS:
Added a little tee test program.
2001-01-19 00:07:40 +00:00
Richard Boulton
82769bcae9 Some more fixes for libxml.
Original commit message from CVS:
Some more fixes for libxml.
Also, some code formatting changes in esdsink, some further fixes to
vumeter, and some work on synaesthesia to make it closer to working
(it doesn't fully work yet, though. :( )
2001-01-18 15:29:46 +00:00
Wim Taymans
6b317bf748 Oops
Original commit message from CVS:
Oops
2001-01-17 07:43:13 +00:00
Wim Taymans
a9967137df Added the typefind example from the manual
Original commit message from CVS:
Added the typefind example from the manual
2001-01-17 00:01:48 +00:00
Wim Taymans
fce9a96f3f Fixed a Makefile error
Original commit message from CVS:
Fixed a Makefile error
2001-01-14 22:23:59 +00:00
Erik Walthinsen
9ca8248cc2 Massive build fixup. Will send message to -devel list later with details on the changes and what they mean for Makef...
Original commit message from CVS:
Massive build fixup.  Will send message to -devel list later with details
on the changes and what they mean for Makefile.am writers.  Check
docs/random/omega/build/TODO for a list of things that I had to make sure
of.

NOTE: this requires a complete rebuild of all plugins, since I also
changed the STATE enum to a bitfield instead of sequential numbers.
2001-01-14 21:55:41 +00:00
Richard Boulton
c12e795dec Move plugin example code to new location, and put it into build system.
Original commit message from CVS:
Move plugin example code to new location, and put it into build system.
Add work on firstplugin chapter of pwg.
Fix typo in quotes.
Add @'s before commands in manuals.mak
2001-01-08 23:55:27 +00:00
Wim Taymans
2a4a536fee Manual updates. fixes to gstxml.c gst_xml_get_element was broken
Original commit message from CVS:
Manual updates.
fixes to gstxml.c gst_xml_get_element was broken
2001-01-08 22:08:40 +00:00
Wim Taymans
7a40eda7b6 Added a sample tescase file
Original commit message from CVS:
Added a sample tescase file
2001-01-07 22:59:18 +00:00
Wim Taymans
45d5c57cb9 Added/updated .cvsignore
Original commit message from CVS:
Added/updated .cvsignore
2001-01-06 16:56:15 +00:00
Wim Taymans
f068579abd Fixed mp3play
Original commit message from CVS:
Fixed mp3play
2001-01-04 19:22:37 +00:00
Richard Boulton
00aff5b225 Undo accidental commit of debugging version.
Original commit message from CVS:
Undo accidental commit of debugging version.
2001-01-04 17:44:51 +00:00
Richard Boulton
dccc0d8714 Updated to supply argument as "name=value" rather than just "value"
Original commit message from CVS:
Updated to supply argument as "name=value" rather than just "value"
2001-01-04 00:15:42 +00:00
Richard Boulton
f4ae52d0ab Do gst_init first, so we can supply debugging options to libgst
Original commit message from CVS:
Do gst_init first, so we can supply debugging options to libgst
2001-01-03 22:58:58 +00:00
Richard Boulton
126569f47c Do gst_init first in helloworld, so you can supply gst parameters.
Original commit message from CVS:
Do gst_init first in helloworld, so you can supply gst parameters.
Correct name of frequency cap to rate, in esdsink.  Now connects properly.
2001-01-03 19:12:21 +00:00
Wim Taymans
fea2f662c1 The examples must not be installed
Original commit message from CVS:
The examples must not be installed
Removed debugging from Makefiles for avidecoder/ac3parse
/test/bindings/dummy.h cannot be installed
2001-01-02 19:46:43 +00:00
Erik Walthinsen
ae0d5d1889 Massive, massive update of most source files. I went through and cleaned up all the warnings that I could, which inv...
Original commit message from CVS:
Massive, massive update of most source files.  I went through and cleaned
up all the warnings that I could, which involved fixing some of the plugins.

The configure.in script was re-arranged and cleaned up so, and a check for
libtool 1.3.5 was added to autogen.sh.  Added checks for Gtk and GNOME.

Some plugins were removed from the list of things to build for various reasons.

Added GST_DEBUG_FORCE_DISABLE in gstgetbits, since that's time critical and
even an if() from a DEBUG can significantly increase runtimes.
2001-01-02 08:13:34 +00:00
Wim Taymans
18132480f4 ooops, eos is a dir
Original commit message from CVS:
ooops, eos is a dir
2001-01-02 02:18:50 +00:00
Wim Taymans
49b6a51534 Fixed makefiles for docs
Original commit message from CVS:
Fixed makefiles for docs
Added eos test programs
2001-01-02 02:16:24 +00:00
Richard Boulton
9f9f59141f Added launch back into make system.
Original commit message from CVS:
Added launch back into make system.
The Makefile wasn't being generated, resulting in make dist failing when
the directory was entered for make dist.
2001-01-02 00:31:26 +00:00
Wim Taymans
5d171b83c7 Added directories to DIST_SUBDIRS
Original commit message from CVS:
Added directories to DIST_SUBDIRS
2001-01-01 23:50:07 +00:00
Erik Walthinsen
5c60d369c7 somehow Makefile.am went zero-bytes
Original commit message from CVS:
somehow Makefile.am went zero-bytes
2001-01-01 23:20:42 +00:00
Erik Walthinsen
f559fb0928 updated examples build stuff
Original commit message from CVS:
updated examples build stuff
2001-01-01 22:44:20 +00:00
Erik Walthinsen
cd744791c5 More build fixes
Original commit message from CVS:
More build fixes
2001-01-01 21:21:25 +00:00
Richard Boulton
a2c260761d Add one more file to dist.
Original commit message from CVS:
Add one more file to dist.
2001-01-01 14:34:06 +00:00
Richard Boulton
5637570cc1 Fix broken build system for examples.
Original commit message from CVS:
Fix broken build system for examples.
2001-01-01 13:41:27 +00:00
Erik Walthinsen
2da16ed5ed Re-arranged the build a bit to try to make it more sane. Added some debug.
Original commit message from CVS:
Re-arranged the build a bit to try to make it more sane.  Added some debug.
2001-01-01 08:37:41 +00:00
Wim Taymans
39a19ca625 Added -Wall to configure.in
Original commit message from CVS:
Added -Wall to configure.in
2001-01-01 06:59:49 +00:00
Wim Taymans
3c883fb43a Updated test programs
Original commit message from CVS:
Updated test programs
2001-01-01 04:10:52 +00:00
Erik Walthinsen
d6c3cc8a73 added .cvsignore
Original commit message from CVS:
added .cvsignore
2001-01-01 03:44:19 +00:00
Erik Walthinsen
24c64f54c5 updated .cvsignore
Original commit message from CVS:
updated .cvsignore
2001-01-01 03:22:59 +00:00
Erik Walthinsen
077e68edb1 fixed stupid spelling mistake
Original commit message from CVS:
fixed stupid spelling mistake
2001-01-01 03:18:40 +00:00
Erik Walthinsen
582fcaffcd hopefully one last update to the examples .cvsignores
Original commit message from CVS:
hopefully one last update to the examples .cvsignores
2001-01-01 00:44:45 +00:00
Erik Walthinsen
5307686379 cleaned up the examples, added Makefiles, etc
Original commit message from CVS:
cleaned up the examples, added Makefiles, etc
2001-01-01 00:42:10 +00:00
Erik Walthinsen
0b650eb737 Updated makefiles for examples
Original commit message from CVS:
Updated makefiles for examples
2001-01-01 00:34:13 +00:00
Erik Walthinsen
65e47b2548 New test programs.
Original commit message from CVS:
New test programs.
2000-12-31 22:14:06 +00:00
Erik Walthinsen
45ab0201da I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2000-12-31 22:13:31 +00:00
Erik Walthinsen
86e3f88515 Converted to a Makefile.am, fixed up the GstSrc thing, and removed a set to READY state before PLAYING that isn't nec...
Original commit message from CVS:
Converted to a Makefile.am, fixed up the GstSrc thing, and removed a set
to READY state before PLAYING that isn't necessary.
2000-12-31 22:11:35 +00:00
Wim Taymans
1c5119618d Updated the docs
Original commit message from CVS:
Updated the docs
Updated gst/Makefile.am to add CFLAGS
Added test programs to tests/.cvsignore
2000-12-31 17:02:47 +00:00
Wim Taymans
35bd31f261 Test program for the pad factory
Original commit message from CVS:
Test program for the pad factory
2000-12-31 16:15:11 +00:00
Wim Taymans
bc4619a44b Added multiple caps to the pads
Original commit message from CVS:
Added multiple caps to the pads
Extended the padfactory for the multiple caps
GstCaps now have a name so that future manipulations on them can be done by name
Updated the plugins for the new caps list
2000-12-31 16:12:48 +00:00
Wim Taymans
2e6abf825a Updated some test programs
Original commit message from CVS:
Updated some test programs
2000-12-29 18:31:06 +00:00
Wim Taymans
f4a635c8dc Pending editor changes. fixes for autoplug of elementary MPEG1 video streams make sure mp3 types get compiled videosi...
Original commit message from CVS:
Pending editor changes.
fixes for autoplug of elementary MPEG1 video streams
make sure mp3 types get compiled
videosink changes for xml loading
2000-12-28 02:51:07 +00:00