gstreamer/tests/check/gst
Haakon Sporsheim 6c079367f1 task: Fix pause/stop race condition
If a task thread is calling pause on it self and the
controlling/"main" thread stops the task, it could end in a race
where gst_task_func loops and then checks for paused after the
controlling thread just changed the task state to stopped.
Hence the task would actually call func again even though it was
both paused and stopped.

https://bugzilla.gnome.org/show_bug.cgi?id=740001
2014-11-12 12:00:48 +01:00
..
.gitignore device: Add unit tests 2014-06-26 21:01:38 -04:00
capslist.h tests: fix old caps in tests now that core warns 2012-03-01 17:41:56 +01:00
gst.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstabi.c libsabi: Special struct size values for W32 2013-04-09 20:10:46 +02:00
gstatomicqueue.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstbin.c tests: Add missing unrefs of objects after use 2014-08-06 13:47:11 +02:00
gstbuffer.c buffer: Fix gst_buffer_memcmp() where the buffer is smaller than size 2013-08-20 14:41:27 -04:00
gstbufferlist.c tests: don't use post-GLib 2.32 API in bufferlist test 2014-07-02 08:41:44 +01:00
gstbufferpool.c bufferpool: Add method and virtuals to set flushing state 2014-05-26 13:31:21 -04:00
gstbus.c tests: Add a test for removing a bus watch 2014-10-14 10:31:27 +02:00
gstcaps.c tests: caps: add check for caps with features intersection 2014-08-09 11:03:01 -03:00
gstcapsfeatures.c capsfeatures: Add GST_CAPS_FEATURES_ANY 2013-04-02 22:17:22 +02:00
gstchildproxy.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstclock.c tests: fix clock unit test build failure after header changes 2012-11-23 13:32:07 +00:00
gstcontext.c context: Add test for the context caching in GstBin 2013-09-24 13:11:47 +02:00
gstcontroller.c controller: code cleanups 2013-03-08 13:16:40 +01:00
gstcpp.cc tests: rebuild one test using cpp 2010-09-22 10:22:40 +03:00
gstdatetime.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstdevice.c devicemonitor: don't fail when started without any filters 2014-06-27 10:47:50 +01:00
gstelement.c element: set pads need-parent flag to false when removing 2014-05-29 17:01:20 -03:00
gstelementfactory.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstevent.c event: add stream flags to stream-start event 2013-03-31 11:47:40 +01:00
gstghostpad.c tests: Fix event order warnings and dataflow before stream-start/segment event 2013-05-09 13:32:07 +02:00
gstindex.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstinfo.c tests: add unit test for registering the same category twice 2013-12-07 19:04:16 +00:00
gstiterator.c iterator: Add unit tests for filtering, recursive filtering and locking 2014-01-18 14:48:54 +01:00
gstmemory.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstmessage.c message: accept NULL error argument in gst_message_parse_{error,warning,info} 2013-02-13 16:52:13 +00:00
gstmeta.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstminiobject.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstobject.c gstobject: Don't check booleans for equality in the unit test 2014-11-10 10:03:57 +01:00
gstpad.c tests: add flush-stop on inactive pad test 2014-09-02 12:04:15 +02:00
gstparamspecs.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpipeline.c pipeline: Add unit test for resetting of the start time 2014-07-21 09:33:54 +02:00
gstplugin.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpoll.c tests: fix locking in gstpoll unit test 2014-07-06 12:10:09 +01:00
gstpreset.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstquery.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstregistry.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstsegment.c tests: improve check, also check stream-time 2014-01-08 15:47:10 +01:00
gststructure.c tests: gststructure: serialization of tag event structure 2014-07-21 11:42:05 -03:00
gstsystemclock.c tests: fix leak in systemclock test 2014-02-08 23:39:03 +00:00
gsttag.c tests: tag: add the empty taglist serialization test 2014-07-21 12:40:47 -03:00
gsttagsetter.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttask.c task: Fix pause/stop race condition 2014-11-12 12:00:48 +01:00
gsttoc.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttocsetter.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsturi.c GstUri: Add GstUri miniobject to handle URIs in an RFC 3986 compliant fashion 2014-09-29 12:19:05 +03:00
gstutils.c utils: Fix unititialized variable compiler warning 2014-08-06 12:55:57 +02:00
gstvalue.c tests: fix compiler warnings in gstvalue tests 2014-06-21 01:10:22 +01:00
struct_arm.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_hppa.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_i386.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_i386w.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_ppc32.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_ppc64.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_sparc.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00
struct_x86_64.h tests: Remove other interface structs from the ABI tests too 2013-07-24 10:31:02 +02:00