hlssink2: Fix duration value for EXTINF tag.
Submitted by Yeongjin Jeong
Link to original bug (#795712)
Description
Created attachment 371573
hlssink2: Fix duration value for EXTINF tag
hlssink2 parsed wrong value for the EXTINF tag, with a timestamp instead of duration.
e.g.
If you run following command, such as
=> gst-launch-1.0 videotestsrc num-buffers=1 ! x264enc ! hlssink2
EXTINF tag value in playlist.m3u8 is set to 0, which is the timestamp of the video packet.
So I suggest following patches, adds new structure "running_time_end" in message element of splitmuxsink, for hlssink2. This indicates the end value of timestamp in fragment.
Patch 371573, "hlssink2: Fix duration value for EXTINF tag":
0001-hlssink2-Fix-duration-value-for-EXTINF-tag.patch
Version: 1.14.0