gstreamer/gst-libs/gst/app
Julien Isorce 8af7b1f70b appsink: fix end condition of query drain handler
The while loop should end when all buffers "and" the preroll
buffer are consumed but this means to continue waiting if there
are still some pending buffers "or" preroll buffer.

The unit test was correct but racy because of this mistake.
I.e. because of the wrong "and" the while could finish too early.

cd tests/check && GST_CHECKS=test_query_drain make elements/appsink.forever

https://bugzilla.gnome.org/show_bug.cgi?id=789763
2017-11-29 15:09:04 +00:00
..
app.h libs: Use foo/foo.h as single-include header consistently everywhere 2012-12-12 17:13:10 +00:00
app_mkenum.py app: mark symbols explicitly for export with GST_EXPORT 2017-05-16 15:22:34 +01:00
gstappsink.c appsink: fix end condition of query drain handler 2017-11-29 15:09:04 +00:00
gstappsink.h app: mark symbols explicitly for export with GST_EXPORT 2017-05-16 15:22:34 +01:00
gstappsrc.c appsrc: handle duration query only if the property was set 2017-08-12 16:23:27 +01:00
gstappsrc.h app: mark symbols explicitly for export with GST_EXPORT 2017-05-16 15:22:34 +01:00
Makefile.am app: mark symbols explicitly for export with GST_EXPORT 2017-05-16 15:22:34 +01:00
meson.build meson: remove vs_module_defs 2017-10-05 13:53:14 +01:00