diff options
author | Yaroslav Pogrebnyak <yyyaroslav@gmail.com> | 2020-04-30 21:10:53 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2020-05-06 11:53:23 +0800 |
commit | 7f0200d0d2639ed9cfd37934b29b43c3c3c4e674 (patch) | |
tree | 7a0a8ee8e58b5bbc6859d19878d0e1016d5b8c88 /libavresample | |
parent | a7bab199e50619df0a6d31a247f7186868e6e4e0 (diff) | |
download | ffmpeg-7f0200d0d2639ed9cfd37934b29b43c3c3c4e674.tar.gz |
libavformat/hlsenc: Allow usage of 'periodic-rekey' with multi-variant streams
This patch adds possibility to use 'periodic-rekey' option with
multi-variant streams to hlsenc muxer. All streams variants
use parameters from the same key_info_file.
There are 2 sets of encryption options that kind of overlaps and add
complexity, so I tried to do the thing without changing too much code.
There is a little duplication of the key_file, key_uri, iv_string, etc
in the VariantStream since we copy it from hls to each variant stream,
but generally all the code remains the same to minimise appearing
of unexpected bugs. Refactoring could be done as a separate patch then as needed.
Signed-off-by: Yaroslav Pogrebnyak <yyyaroslav@gmail.com>
Diffstat (limited to 'libavresample')
0 files changed, 0 insertions, 0 deletions