gstdashdemux : Play a dash content from non-zero offset fails and always starts from beginning.
Submitted by Debdeep
Link to original bug (#787946)
Description
Dear Members,
When try to play a dash content from a non-zero offset, playback fails to start from the requested offset and always start from 0 i.e. from beginning.
The issue is only seen with contents having "isoff-on-demand" profile. This is because, in this profile, the entire content is downloaded and parsed at the beginning of the playback. Since the downloading/parsing the entire content at one go takes time, the position change request reaches dashdemux before the entire parsing is completed and is ignored.
Works fine with all the contents having "isoff-live" profile.
Use case :
- Initiate a play request for dash content.
- During pipeline creation, on receiving GST_MESSAGE_ASYNC_DONE from sink, issue a seek request to the pipeline i.e. suppose the duration of the content is 4 mins, issue a seek request to start the the playback from 2 mins,from begin.
- The playback should start from the 2nd minute instead of beginning.
URL to reproduce the issue :
http://dash.edgesuite.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd
Can you please look into this ?
Thanks
Version: 1.8.0