gstreamer/tests/check/elements
Carlos Rafael Giani d1d9fca1e2 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 19:17:17 +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 tests: fakesink: fix string leak in unit test 2015-06-08 20:00:47 +01: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 19:17:17 +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 streamiddemux: Add streamiddemux element 2015-03-12 14:42:18 +00: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:06:14 +02:00