GNOME Bugzilla – Bug 797008
Element 'valve' is unable to resume the live video after a pause when the property `drop` is toggled
Last modified: 2018-08-27 19:33:02 UTC
Created attachment 373425 [details] test script for testing valve The element 'valve' is able to successfully pause the live video, by setting property 'drop = true', however setting 'drop = false', does not resume back the video. P.S. using element 'identity' with toggling the property 'drop-probability', works instead of 'valve' Attached test script with the bug. In the test code, based on user-input the property of valve is toggled to pause and resume the video.
Steps to reproduce the bug : 1. execute the script 2. confirm that live video is displayed 3. user-input 1: press a button on keyboard and press enter 4. the video is paused 5. user-input 2: press a button on keyboard and press enter Expected : after step 5, the video is resumed again. Observed : after step 5, the video is still in paused state.
Created attachment 373465 [details] Fixed example Your example is wrong, you have to so .set_property ("drop", True) (not "true"). It's a property not a string, in Python, strings are always True...