gstreamer/tests/check
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
..
elements tee-test: Test a real use case 2017-10-02 14:11:19 -04:00
generic check: Rename states unit test 2015-08-14 11:10:37 +02:00
gst pad: gst_pad_activate_mode() always succeed if same mode 2017-11-24 13:40:31 +01:00
libs bytereader: fix peek value when scanning for 00 00 01 with non-0 offset 2017-02-22 11:07:24 +00:00
pipelines tests: fix message leak in seek test 2017-04-19 13:39:46 +01:00
tools tests: refactor tools check a little 2014-10-31 16:10:01 +00:00
.gitignore tests: add check for gst-inspect --exists functionality 2012-09-01 23:02:10 +01:00
Makefile.am gst: add a promise object 2017-11-23 00:48:30 +11:00
meson.build gst: add a promise object 2017-11-23 00:48:30 +11:00