summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2004-07-23gst/gststructure.c: Set type field correctly.David Schleef2-1/+27
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-22group_link works nowWim Taymans1-2/+2
Original commit message from CVS: group_link works now
2004-07-22testsuite/schedulers/: Show bug in scheduler when linking chain and loop ↵Wim Taymans4-4/+72
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-21keep this up to date, since I seem to be the only one who cares about not ↵Benjamin Otte2-0/+2
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-21gst/gstbin.c: make state changes work correctly and reentrant (so removing ↵Benjamin Otte4-4/+154
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-20docs/random/ds/0.9-suggested-changes: Make note about renaming fixed-list to ↵Ronald S. Bultje1-0/+23
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-20testsuite/schedulers/: Added failing testcase for variant of #147894Wim Taymans3-2/+136
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-20fix for #142813 - deadlock in optThomas Vander Stichele1-3/+6
Original commit message from CVS: fix for #142813 - deadlock in opt
2004-07-20fix for #147819 (Add some checks in the opt scheduler)Thomas Vander Stichele1-2/+2
Original commit message from CVS: fix for #147819 (Add some checks in the opt scheduler)
2004-07-20fix for #147894 (opt scheduler decoupled elements mismanagement)Thomas Vander Stichele1-2/+2
Original commit message from CVS: fix for #147894 (opt scheduler decoupled elements mismanagement)
2004-07-19Added testcase for 147819Wim Taymans2-1/+101
Original commit message from CVS: Added testcase for 147819
2004-07-19testsuite/schedulers/: Added testcase for bug 147894Wim Taymans2-2/+144
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-16testsuite/schedulers/: Added testsuite for bug 142183 in its two ↵Wim Taymans3-1/+167
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-16testsuite/schedulers/: Added cleanup code to testcase 143777-2.Wim Taymans3-1/+93
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-16gst/gstvalue.c: use ints and return ints, fractions only use ints, too, so ↵Benjamin Otte8-2/+143
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-15remove this for later gvalue testsuite dirThomas Vander Stichele2-101/+0
Original commit message from CVS: remove this for later gvalue testsuite dir
2004-07-15adding GstFraction GValue typeThomas Vander Stichele4-2/+147
Original commit message from CVS: adding GstFraction GValue type
2004-07-15debugging additions and style cleanupsThomas Vander Stichele1-38/+50
Original commit message from CVS: debugging additions and style cleanups
2004-07-12gst/gsttypes.h: get rid of GST_O_READONLY, GST_FILE_MODE_READ andBenjamin Otte2-2/+2
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-12Handle binary files under WindowsSteve Lhomme2-2/+2
Original commit message from CVS: Handle binary files under Windows
2004-07-12set PENDING on bin correctly for special case. fixes testsuite again.Thomas Vander Stichele1-1/+0
Original commit message from CVS: set PENDING on bin correctly for special case. fixes testsuite again.
2004-07-11gst/gstclock.h: GST_SECOND shouldn't cause a conversion to unsigned.Benjamin Otte3-1/+42
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-09testsuite/threads/: added test to check if problem when removing all ↵Zaheer Abbas Merali2-1/+64
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-09fixes 123774 - setting state on a bin should set state on children as wellThomas Vander Stichele1-1/+2
Original commit message from CVS: fixes 123774 - setting state on a bin should set state on children as well
2004-07-09re-enable states and add testThomas Vander Stichele3-3/+110
Original commit message from CVS: re-enable states and add test
2004-07-08Implemented group splitting and rechaining.Wim Taymans1-2/+2
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-07Oops, forgot new filesRonald S. Bultje2-0/+102
Original commit message from CVS: Oops, forgot new files
2004-07-07Fix enum serialization, deserialization, comparison in caps, add a test to ↵Ronald S. Bultje1-2/+2
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-02more tests fixingThomas Vander Stichele4-16/+22
Original commit message from CVS: more tests fixing
2004-07-02fix testsuiteThomas Vander Stichele3-6/+6
Original commit message from CVS: fix testsuite
2004-07-02fix some dparams stuffThomas Vander Stichele2-13/+12
Original commit message from CVS: fix some dparams stuff
2004-07-02change plugin pathThomas Vander Stichele1-1/+1
Original commit message from CVS: change plugin path
2004-07-02tests/: add simple benchmark to test various speeds of fakesrc ! identity ! ↵Benjamin Otte4-1/+192
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-06-29gst/gstpad.c: throw an error if the getcaps function does not return a ↵Benjamin Otte1-2/+5
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-20testsuite/schedulers/: add test for opt breakage in bug #143777Benjamin Otte3-1/+61
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-20gst/gstpad.c: check for if we were unlinked while inside the chainfunction ↵Benjamin Otte2-1/+74
(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-20whoops, forgot to update Makefile - let's see if the buildbots like this oneBenjamin Otte1-0/+1
Original commit message from CVS: whoops, forgot to update Makefile - let's see if the buildbots like this one
2004-06-20gst/gstvalue.c: test that start is smaller then endBenjamin Otte3-1/+284
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-05-25gst/gstcaps.c: don't print error messages when there is no errorBenjamin Otte2-1/+73
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-20add IN_CAPS buffer flag; add GST_TYPE_FIXED_LIST + functionsThomas Vander Stichele1-0/+4
Original commit message from CVS: add IN_CAPS buffer flag; add GST_TYPE_FIXED_LIST + functions
2004-05-19tell us more about your failureThomas Vander Stichele1-1/+1
Original commit message from CVS: tell us more about your failure
2004-05-19don't put in a test that fails on all platformsThomas Vander Stichele1-5/+7
Original commit message from CVS: don't put in a test that fails on all platforms
2004-05-18testsuite/debug/commandline.c: Call ./commandline, not argv[0]. Calling ↵David Schleef1-3/+5
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-18gst/gstbin.c: don'tBenjamin Otte7-2/+280
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-18gst/gstvalue.c: add serialization and comparison functions for long, int64, ↵Benjamin Otte3-12/+13
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-11I'm too lazy to comment thisStéphane Loeuillet1-1/+0
Original commit message from CVS: *** empty log message ***
2004-05-10one more video/dv => video/x-dvStéphane Loeuillet1-1/+1
Original commit message from CVS: one more video/dv => video/x-dv
2004-05-10internal mime types : video/x-dv, not video/dvStéphane Loeuillet1-1/+1
Original commit message from CVS: internal mime types : video/x-dv, not video/dv
2004-05-10testsuite/caps/caps_strings: audio/ac3 => audio/x-ac3Stéphane Loeuillet1-1/+1
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-09uraeus fixThomas Vander Stichele1-3/+3
Original commit message from CVS: uraeus fix