[playbin3] query duration after stream-start gives the old duration
Submitted by Marinus Schraal
Link to original bug (#797004)
Description
Created attachment 373419
playbin3 stream-start query duration behaviour
- Listen for stream-start message after switching streams (eg. after about-to-finish)
- Query duration in stream-start message handler
- The duration is the duration of the old stream.
Example code provided, need to add 2 short samples uris in the code.
Adding a tiny timeout before querying the duration shows the expected behaviour.
Attachment 373419, "playbin3 stream-start query duration behaviour":
playbin3-duration.c
Version: 1.14.x