GNOME Bugzilla – Bug 781213
validate: Do not expect switching tracks in PAUSED to happen synchronously with playbin3
Last modified: 2017-04-12 14:32:36 UTC
See commit
Created attachment 349717 [details] [review] validate: Don't attempt switching tracks in PAUSED with playbin3 With decoebin3 the switch is asynchronous, so it won't work if streams are blocking/prerolling
Comment on attachment 349717 [details] [review] validate: Don't attempt switching tracks in PAUSED with playbin3 Typo in commit message But the same is also true for decodebin2, this is never synchronous
> But the same is also true for decodebin2, this is never synchronous Was pretty certain the stream-selector flushes downstream and sends a new stream-start event.
Created attachment 349720 [details] [review] validate: Don't attempt switching tracks in PAUSED with playbin3 With decodebin3 the switch is asynchronous, so it won't work if streams are blocking/prerolling
> But the same is also true for decodebin2, this is never synchronous I think I got it working and added the test so it should be working for decodebin2.
Created attachment 349735 [details] [review] validate: Do not expect track switch to be synchronous for playbin3 And let following actions to be executed (setting the action as INTERLACED) which will make sure the track switch happened at some point. It means the user has to set the pipeline to PLAYING so we can make it works but we do not have choice here I think
Attachment 349735 [details] pushed as 26b388c - validate: Do not expect track switch to be synchronous for playbin3