summaryrefslogtreecommitdiff
path: root/testsuite/states
AgeCommit message (Collapse)AuthorFilesLines
2005-11-30move all of these under testsThomas Vander Stichele5-390/+0
Original commit message from CVS: move all of these under tests
2005-10-15remove obsolete tests whitespace fixesThomas Vander Stichele1-1/+1
Original commit message from CVS: remove obsolete tests whitespace fixes
2005-10-12renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to ↵Stefan Kost1-4/+4
enum definition Original commit message from CVS: * check/gst/gstbin.c: (GST_START_TEST): * docs/gst/gstreamer-sections.txt: * gst/base/gstbasesink.c: (gst_base_sink_init): * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_get_range), (gst_base_src_check_get_range), (gst_base_src_start), (gst_base_src_stop): * gst/base/gstbasesrc.h: * gst/elements/gstfakesrc.c: (gst_fake_src_set_property): * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func), (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state), (bin_bus_handler): * gst/gstbin.h: * gst/gstbuffer.h: * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing): * gst/gstbus.h: * gst/gstelement.c: (gst_element_is_locked_state), (gst_element_set_locked_state), (gst_element_commit_state), (gst_element_set_state): * gst/gstelement.h: * gst/gstindex.c: (gst_index_init): * gst/gstindex.h: * gst/gstminiobject.h: * gst/gstobject.c: (gst_object_init), (gst_object_sink), (gst_object_set_parent): * gst/gstobject.h: * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked), (gst_pad_get_caps_unlocked), (gst_pad_set_caps): * gst/gstpad.h: * gst/gstpadtemplate.h: * gst/gstpipeline.c: (gst_pipeline_provide_clock_func), (gst_pipeline_use_clock), (gst_pipeline_auto_clock): * gst/gstpipeline.h: * gst/indexers/gstfileindex.c: (gst_file_index_load), (gst_file_index_commit): * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init): * testsuite/pad/link.c: (gst_test_src_init), (gst_test_filter_init), (gst_test_sink_init): * testsuite/states/locked.c: (main): renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
2005-09-23put back source in registry. add checks for find_plugin.Thomas Vander Stichele2-11/+16
Original commit message from CVS: * check/gst/.cvsignore: * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite): * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_save_plugin): put back source in registry. add checks for find_plugin. * testsuite/states/bin.c: (assert_state), (empty_bin), (test_adding_one_element), (main): * testsuite/states/locked.c: (main): some compile/run fixes
2005-09-02gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a ↵Andy Wingo1-17/+21
normal enum instead of flags. Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. (GstStateChangeReturn): Renamed from GstElementStateReturn, names munged to be GST_STATE_CHANGE_*. (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to work with the new state representation. (GstStateChange): New enumeration of possible state transitions. Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR. (GstElementClass::change_state): Pass the GstStateChange along as an argument. Helps language bindings, so they don't have to use tricky lock-needing macros like GST_STATE_CHANGE (). * scripts/update-states (file): New script. Run it on a file to update it for state naming and API changes. Updates files in place. * All files updated for the new API.
2005-06-28*.c: Don't cast to GST_OBJECT when reffing or unreffing. Large ↵Andy Wingo2-5/+5
source-munging commit!!! Original commit message from CVS: 2005-06-28 Andy Wingo <wingo@pobox.com> * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large source-munging commit!!!
2005-03-21Next big merge.Wim Taymans2-17/+56
Original commit message from CVS: Next big merge. Added GstBus for mainloop integration. Added GstMessage for sending notifications on the bus. Added GstTask as an abstraction for pipeline entry points. Removed GstThread. Removed Schedulers. Simplified GstQueue for multithreaded core. Made _link threadsafe, removed old capsnego. Added STREAM_LOCK and PREROLL_LOCK in GstPad. Added pad blocking functions. Reworked scheduling functions in GstPad to prepare for scheduling updates soon. Moved events out of data stream. Simplified GstEvent types. Added return values to push/pull. Removed clocking from GstElement. Added prototypes for state change function for next merge. Removed iterate from bins and state change management. Fixed some elements, disabled others for now. Fixed -inspect and -launch. Added check for GstBus.
2004-07-29revert state change changes as agreed so we can rework them graduallyThomas Vander Stichele1-2/+2
Original commit message from CVS: revert state change changes as agreed so we can rework them gradually
2004-07-28fold enumcaps into caps/; clean up Makefile.am filesThomas Vander Stichele1-5/+0
Original commit message from CVS: fold enumcaps into caps/; clean up Makefile.am files
2004-07-21keep this up to date, since I seem to be the only one who cares about not ↵Benjamin Otte1-0/+1
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 Otte2-1/+151
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-16gst/gstvalue.c: use ints and return ints, fractions only use ints, too, so ↵Benjamin Otte1-0/+2
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-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-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 Stichele2-1/+108
Original commit message from CVS: re-enable states and add test
2004-05-04reorganize C/LIB flags add gst_info to gstcompat.hThomas Vander Stichele1-2/+2
Original commit message from CVS: reorganize C/LIB flags add gst_info to gstcompat.h
2004-04-15testsuite/Makefile.am: define tests_ignoreDavid Schleef1-0/+1
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-03-13gst-indent run on coreThomas Vander Stichele1-7/+8
Original commit message from CVS: gst-indent run on core
2003-10-15Massive patch to make 'make check' work properly. Many compilation fixes -- ↵David Schleef1-6/+3
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-03-25- Added dir to hold state change related testsuitesWim Taymans3-0/+88
Original commit message from CVS: - Added dir to hold state change related testsuites - Added _LOCKED_STATE test