[vlc-commits] [Git][videolan/vlc][master] encoder: namespace encoder capability by category

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Dec 18 17:48:26 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
d66a2260 by Alexandre Janniaux at 2021-12-18T16:05:02+00:00
encoder: namespace encoder capability by category

Currently, when encoding an ES category, the encoders had to check
whether they supported the ES category and return an error, forcing many
modules to be loaded and probed for nothing.

By splitting by ES category, we ensure that most encoder that would have
not supported the encoding anyway won't be probed. As a side effect, it
improves the documentation in the help output by only listing encoders
that will actually be able to encode the format, for instance in
aenc/venc/senc options in the transcode module. It will also provide a
better way for the UI to list the available encoders.

- - - - -


30 changed files:

- modules/codec/aom.c
- modules/codec/araw.c
- modules/codec/avcodec/avcodec.c
- modules/codec/daala.c
- modules/codec/dmo/dmo.c
- modules/codec/dvbsub.c
- modules/codec/edummy.c
- modules/codec/fdkaac.c
- modules/codec/flac.c
- modules/codec/g711.c
- modules/codec/jpeg.c
- modules/codec/lpcm.c
- modules/codec/omxil/omxil.c
- modules/codec/opus.c
- modules/codec/png.c
- modules/codec/qsv.c
- modules/codec/rav1e.c
- modules/codec/rtpvideo.c
- modules/codec/schroedinger.c
- modules/codec/shine.c
- modules/codec/speex.c
- modules/codec/substx3g.c
- modules/codec/t140.c
- modules/codec/theora.c
- modules/codec/twolame.c
- modules/codec/vorbis.c
- modules/codec/vpx.c
- modules/codec/webvtt/webvtt.c
- modules/codec/x264.c
- modules/codec/x265.c


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d66a2260f5bb38536b7342ea5e6bb0321b4e9ff3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d66a2260f5bb38536b7342ea5e6bb0321b4e9ff3
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list