gstreamer/tests
Stian Selnes 512cec3dea pad: gst_pad_activate_mode() always succeed if same mode
Checking that the pad is in the correct mode before the parent is
checked makes the call always succeed if the mode is ok.

This fixes a race with ghostpad where gst_pad_activate_mode() could
trigger a g_critical() if the ghostpad is unparented while the
proxypad is deactivating, for instance if the ghostpad is released.
More specifically, gst_ghost_pad_internal_activate_push_default()'s
call to gst_pad_activate_mode() would fail if ghostpad doesn't have a
parent. With this patch it will return true of mode is already
correct.
2017-11-24 13:40:31 +01:00
..
benchmarks benchmark: fix complexity benchmark 2017-07-14 16:39:42 +01:00
check pad: gst_pad_activate_mode() always succeed if same mode 2017-11-24 13:40:31 +01:00
examples docs: remove app dev manual and plugin writer's guide 2016-11-01 17:55:54 +00:00
misc examples/netclock-replay: Fix build 2017-11-01 11:31:52 +02:00
.gitignore Add new streamiddemux binaries to .gitignore 2015-03-14 16:05:57 +00:00
Makefile.am tests: don't build misc subdir if both examples and benchmarks have been disabled 2016-09-02 23:22:17 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-19 21:26:14 +01:00
README README: update after removal of "old" dir. 2010-07-05 12:26:42 +03:00

This directory contains regression tests, functionality tests, examples,
benchmarks, ...

benchmarks/
   benchmarks to profile pieces of GStreamer
check/
   unit tests using the check library, non-interactive
examples/
   small examples demonstrating the use of various features
misc/
   prototypes, random bits, ...