diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-07-13 12:20:14 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-07-20 20:30:04 +0200 |
commit | 249bca763d85e7c323b71f48eb1816edf6525239 (patch) | |
tree | f30bc623959184c44c14c6892e43881afbe591f9 /libavformat/hls_sample_encryption.c | |
parent | 0b075b40924051b70fa5fd86a92edde2015c7970 (diff) | |
download | ffmpeg-249bca763d85e7c323b71f48eb1816edf6525239.tar.gz |
fftools/ffmpeg_mux_init: handle pixel format endianness
When -pix_fmt designates a BE/LE pixel format, it gets translated into
the native one by av_get_pix_fmt(). This may not always be the best
choice, as the encoder might only support one endianness. In such a
case, explicitly choose the endianness supported by the encoder.
While this is currently redundant with choose_pixel_fmt() in
ffmpeg_filter.c, the latter code will be deprecated in following commits.
Diffstat (limited to 'libavformat/hls_sample_encryption.c')
0 files changed, 0 insertions, 0 deletions