From: wu zhiqiang
When using concat protocal, start from middle of file will generate non-zero
wrap reference. If seek to time less than the wrap reference, wrap control will
be triggered and generate wrong wrapped timestamp.
Copy wrap related stream properties when reading header can fix this
From: Wu Zhiqiang
When using concat protocol, start from middle of file will generate non-zero
wrap reference.
If seek to time before the wrap reference, wrap control will generate wrong
wrapped timestamp.
Copy wrap related stream properties when reading header can fix this problem.
Signed-off
From: Wu Zhiqiang
When using concat protocol, start from middle of file will generate non-zero
wrap reference.
If seek to time before the wrap reference, wrap control will generate wrong
wrapped timestamp.
Copy wrap related stream properties when reading header can fix this problem.
Signed-off
From: Wu Zhiqiang
HLS demuxer seeking use dts instead of pts.
Demuxer skip some frame when dts is before pts in special case.
And it is impossible to re-seek back to start time after playing.
---
libavformat/hls.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --
From: Wu Zhiqiang
Calculate first_timestamp based on first packet timestamp.
Some m3u8 have streams that second one has smaller timestamp
in first packet of this stream.
Start/seek from start time may fail due to EIO error.
It should be based on start_time of AvFormatContext.
Signed-off-by: Wu Z
From: Wu Zhiqiang
HLS demuxer seeking use dts instead of pts.
Demuxer skip some frame when dts is before pts in special case.
And it is impossible to re-seek back to start time after playing.
---
libavformat/hls.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --