[FFmpeg-devel] [PATCH 0/1] libavformat/dashenc: Fix relative URI of HLS master playlist

Antonio Morell antonio.morell at system73.com
Thu Jul 26 16:22:20 EEST 2018


When using the DASH muxer to produce a segmented media stream, enabling the
setting "hls_playlist" yields also HLS-compatible master and playlist manifest
files.
However, the relative URI of the master playlist is not formed as expected,
since an extra slash preceeds the file name, i.e., 
<scheme>:://<BASE_URI>/PATH//master.m3u8 
is generated instead of the expected 
<scheme>:://<BASE_URI>/PATH/master.m3u8.
This patch just removes the extra slash preceeding the file name.
As can be seen at line 341, media playlists are properly produced without
placing the extra preceeding slash.
The resulting URI of the master.m3u8 file is now consistent with the other
assets yielded by the muxer.

Antonio Morell (1):
  libavformat/dashenc: Fix relative URI of HLS master playlist

 libavformat/dashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.15.2 (Apple Git-101.1)



More information about the ffmpeg-devel mailing list