gstreamer/subprojects/gst-plugins-good/tests
Carlos Rafael Giani 3fbcf5fcf3 qtdemux: Only set appsink sync property and check for async state changes
By keeping async to TRUE, a deadlock is avoided where the appsink is
filled with data after a flushing seek but before its PAUSED->PLAYING
state change finishes. If that happens, the appsink is stuck, because
its internal condition variable waits for the appsink to have more room
for data. The basesink's preroll lock is held during this, and it also
tries to acquire that lock during the state change -> deadlock.
By keeping async to TRUE, this flood of data does not happen.

Also, setting the max-buffers property to 1 is unnecessary - the test
runner will anyway detect excess memory usage if it happens.

Other property adjustments turned out to just be redundant.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4200>
2023-05-03 08:47:56 +00:00
..
check qtdemux: Only set appsink sync property and check for async state changes 2023-05-03 08:47:56 +00:00
examples jack: Dynamically load libjack at runtime instead of linking 2023-04-20 11:10:15 +03:00
files qtdemux: Add audio clipping meta when playing gapless m4a content 2023-05-03 08:47:55 +00:00
interactive tests: rename 'icles' subdir to be more descriptive 2022-04-14 11:57:11 +00:00
meson.build tests: rename 'icles' subdir to be more descriptive 2022-04-14 11:57:11 +00:00