[FFmpeg-devel] [PATCH] Extract av_hls_codec_attr
Zhao Zhili
quinkblack at foxmail.com
Tue Oct 31 18:47:05 EET 2023
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Romain Beauxis
> Sent: 2023年10月30日 9:06
> To: ffmpeg-devel at ffmpeg.org
> Cc: Romain Beauxis <toots at rastageeks.org>
> Subject: [FFmpeg-devel] [PATCH] Extract av_hls_codec_attr
>
> The logic for extracting HLS codec attribute strings is very useful and
> can be re-used in many different situations when working with HLS
> streams using libavcodec/libavformat.
>
> This patch extracts the function's code and places it into a publicly
> available function.
I don't think the implementation is complete enough to be exported as
an API. And the ad-hoc API needs some design too.
>
> ---
> libavcodec/Makefile | 2 +
> libavcodec/hls.c | 105 +++++++++++++++++++++++++++++++++++++++++++
> libavcodec/hls.h | 42 +++++++++++++++++
> libavformat/hlsenc.c | 83 +++-------------------------------
> 4 files changed, 155 insertions(+), 77 deletions(-)
> create mode 100644 libavcodec/hls.c
> create mode 100644 libavcodec/hls.h
>
More information about the ffmpeg-devel
mailing list