validate: Check that pull_range is called from the streaming thread
authorThibault Saunier <tsaunier@igalia.com>
Mon, 15 Jul 2019 16:36:23 +0000 (12:36 -0400)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 2 Oct 2019 19:22:31 +0000 (19:22 +0000)
commit1f68027942885d0e52b072df2f941999c2c8a5e0
treec6107284ca76dc73ba9b03519487862eeecab97f
parent50971aa2c62d81e7909d4122baec4010f7b820a6
validate: Check that pull_range is called from the streaming thread

`gst_pad_pull_range` should always be called from the streaming thread,
we now check that when pull_range is called, and if the sinkpad calling
the function has a GstTask with a running thread, the function is called
from that thread.
validate/gst/validate/gst-validate-pad-monitor.c
validate/gst/validate/gst-validate-pad-monitor.h
validate/gst/validate/gst-validate-report.c
validate/gst/validate/gst-validate-report.h