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 677263 - input-selector: playback freezes under some conditions
input-selector: playback freezes under some conditions
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.37
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-01 11:37 UTC by Holger Kaelberer
Modified: 2012-06-01 18:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case to reproduce freeze (3.55 KB, text/x-csrc)
2012-06-01 11:37 UTC, Holger Kaelberer
Details

Description Holger Kaelberer 2012-06-01 11:37:47 UTC
Created attachment 215401 [details]
test case to reproduce freeze

With recent changes to input-selector (cf. #676739) playback freezes some seconds   after a finished seek if ...
... pads are always-ok=TRUE
... input-selector has sync-streams=TRUE
... a multiqueue with buffer is involved (use-buffering=TRUE)

The attached test-prog can be used to reproduce the issue with e.g.:

./is "input-selector sync-streams=true name=sel ! audioconvert ! audio/x-raw-int,width=16 ! audioresample ! alsasink uridecodebin uri=file:/mnt/ltmp/vid/sintel_cropped_multilingual.webm use-buffering=true name=bin ! xvimagesink bin. bin.src1 ! sel. bin.src2 ! sel. bin.src3 ! sel."

No problems though without "use-buffering=true"

Problems disappears when reverting following commit:


commit cd798a0a527bb365934392e3be7a8cf526e7f1ac
Author: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
Date:   Mon May 28 14:29:00 2012 -0300

    inputselector: Properly sync when changing streams
    
    This adds properties to use the clock time for deciding when
    to drop buffers for inactive pads and a property to buffer all
    not rendered buffers for the active pad to allow pad switching
    without losing any buffers at all.
Comment 1 Sebastian Dröge (slomo) 2012-06-01 11:39:52 UTC
And no problems with always-ok=FALSE too.
Comment 2 Sebastian Dröge (slomo) 2012-06-01 14:39:39 UTC
commit 2424d9896cd6a473638a718ace54e5b8cf89f021
Author: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
Date:   Fri Jun 1 16:34:16 2012 +0200

    inputselector: Correctly get current running time when syncing to the segment information
    
    Fixes bug #677263.
Comment 3 Holger Kaelberer 2012-06-01 18:14:45 UTC
I tested all, that got stuck before: play well now under same conditions with this commit!

Thanks!