• Bela Bodecs's avatar
    avformat/hlsenc: fix default AES key file url with variant streams · 8c3e9c9c
    Bela Bodecs authored
    Currently when hls_enc is active and there are multiple variant stream
    outputs, default key file url construction does not work, because it is
    based on the FormatContext' url field. But in case of multiple variant
    streams, it contains the variant m3u8 output playlist url that contains
    the %v placeholder. So the result key file url will hold the %v
    placeholder causing run time error message about "could not write the
    key file".
    This patch correct this behaviour, and use the master playlist url for
    constructing the output key file url when master playlist is vailable.
    Signed-off-by: 's avatarBela Bodecs <bodecsb@vivanet.hu>
    8c3e9c9c
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...