gstreamer/tests/check/elements
Carlos Rafael Giani a1d2f387c6 multiqueue: Recalculate fill level after changing high-threshold
This ensures the following special case is handled properly:

1. Queue is empty
2. Data is pushed, fill level is below the current high-threshold
3. high-threshold is set to a level that is below the current fill level

Since mq->percent wasn't being recalculated in step #3 properly, this
caused the multiqueue to switch off its buffering state when new data is
pushed in, and never post a 100% buffering message. The application will
have received a <100% buffering message from step #2, but will never see
100%.

Fix this by recalculating the current fill level percentage during
high-threshold property changes in the same manner as it is done when
use-buffering is modified.

https://bugzilla.gnome.org/show_bug.cgi?id=763757
2016-04-15 16:04:54 +03:00
..
.gitignore Add new streamiddemux binaries to .gitignore 2015-03-14 16:05:57 +00:00
capsfilter.c capsfilter: Add an optional delayed caps change mode 2014-11-03 08:09:21 +01:00
concat.c concat: Add unit tests for concat element 2014-08-12 15:39:09 +03:00
fakesink.c gstreamer: use new gst_element_class_add_static_pad_template() 2016-03-24 14:43:41 +02:00
fakesrc.c Fix FSF address 2012-11-03 20:44:48 +00:00
fdsrc.c tests: fdsrc: don't ignore return value of write() 2014-10-28 09:28:28 +00:00
filesink.c test: filesink: add tests for buffers with multiple memory blocks 2015-04-02 09:54:08 +01:00
filesrc.c tests/filesrc: Set location in wrong state 2013-10-13 12:18:57 -04:00
funnel.c tests: funnel: remove state change from stress tests 2015-12-04 17:26:02 -03:00
identity.c tests: fix indentation 2016-02-19 14:41:55 +00:00
multiqueue.c multiqueue: Recalculate fill level after changing high-threshold 2016-04-15 16:04:54 +03:00
queue.c tests: queue: check that the initial events are sent on immediately 2015-04-05 16:11:03 +01:00
queue2.c Revert "queue2: add overrun signal" 2016-02-16 19:11:59 +02:00
selector.c tests: input-selector: new tests for EOS handling 2015-03-24 09:13:57 -03:00
streamiddemux.c tests: streamiddemux: fix with CK_FORK=no 2016-04-10 20:26:11 +01:00
tee.c tee: Add allow-not-linked property 2015-03-26 10:46:26 +01:00
valve.c valve: Fix unit test by sending caps before buffers 2016-03-25 12:05:41 +02:00