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) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel