After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 797008 - Element 'valve' is unable to resume the live video after a pause when the property `drop` is toggled
Element 'valve' is unable to resume the live video after a pause when the pro...
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.14.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-08-22 10:40 UTC by venkateshkuppan26
Modified: 2018-08-27 19:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test script for testing valve (3.11 KB, text/plain)
2018-08-22 10:40 UTC, venkateshkuppan26
Details
Fixed example (2.35 KB, text/plain)
2018-08-27 19:32 UTC, Olivier Crête
Details

Description venkateshkuppan26 2018-08-22 10:40:54 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.
Comment 1 venkateshkuppan26 2018-08-22 11:06:52 UTC
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.
Comment 2 Olivier Crête 2018-08-27 19:32:49 UTC
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...