On Thu, 8 Jan 2015, Vittorio Giovara wrote:
On Thu, Jan 8, 2015 at 12:18 AM, Martin Storsjö <[email protected]> wrote:
On Thu, 8 Jan 2015, Vittorio Giovara wrote:
On Wed, Jan 7, 2015 at 11:41 PM, Luca Barbato <[email protected]> wrote:
On 07/01/15 23:08, Martin Storsjö wrote:
From: Michael Niedermayer <[email protected]>
---
libavcodec/allcodecs.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 0d46afe..cb5d846 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -442,7 +442,6 @@ void avcodec_register_all(void)
REGISTER_ENCODER(LIBMP3LAME, libmp3lame);
REGISTER_ENCDEC (LIBOPENCORE_AMRNB, libopencore_amrnb);
REGISTER_DECODER(LIBOPENCORE_AMRWB, libopencore_amrwb);
- REGISTER_ENCODER(LIBOPENH264, libopenh264);
REGISTER_ENCDEC (LIBOPENJPEG, libopenjpeg);
REGISTER_ENCDEC (LIBOPUS, libopus);
REGISTER_ENCDEC (LIBSCHROEDINGER, libschroedinger);
@@ -461,6 +460,10 @@ void avcodec_register_all(void)
REGISTER_ENCODER(LIBXAVS, libxavs);
REGISTER_ENCODER(LIBXVID, libxvid);
+ /* external libraries, that shouldn't be used by default if one of
the
+ * above is available */
+ REGISTER_ENCODER(LIBOPENH264, libopenh264);
Could we move faac and vo-aacenc there as well?
also libtwolame please
Isn't twolame supposed to be better than the built-in mp2 encoder? Moving
things here just gives them lower priority than other external libraries.
Hadn't thought of that, yes twolame should definitely get priority
Also, before touching any of this, have a look at
aa8b39d999589154f79300de9038994d0093cd34.
So far, the rule has been that native codecs are preferred over external
libs, with the sole exception being encoders marked experimental (such as
the internal aac and vorbis ones). If we want to prefer external ones, I'm
sure we've got a bunch of fate tests that need updating, to force using
the internal codec again.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel