mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
avaudenc/dec: Blacklist more PCM decoders/encoders
This commit is contained in:
parent
58544546ff
commit
32addd9757
2 changed files with 6 additions and 2 deletions
|
@ -881,7 +881,9 @@ gst_ffmpegauddec_register (GstPlugin * plugin)
|
|||
(in_plugin->id >= AV_CODEC_ID_PCM_S16LE &&
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_BLURAY) ||
|
||||
(in_plugin->id >= AV_CODEC_ID_PCM_S8_PLANAR &&
|
||||
#if AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,54,0)
|
||||
#if AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,69,0)
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_F24LE)) {
|
||||
#elif AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,54,0)
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_S64BE)) {
|
||||
#else
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_S16BE_PLANAR)) {
|
||||
|
|
|
@ -791,7 +791,9 @@ gst_ffmpegaudenc_register (GstPlugin * plugin)
|
|||
(in_plugin->id >= AV_CODEC_ID_PCM_S16LE &&
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_BLURAY) ||
|
||||
(in_plugin->id >= AV_CODEC_ID_PCM_S8_PLANAR &&
|
||||
#if AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,54,0)
|
||||
#if AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,69,0)
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_F24LE)) {
|
||||
#elif AV_VERSION_INT (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) >= AV_VERSION_INT (57,54,0)
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_S64BE)) {
|
||||
#else
|
||||
in_plugin->id <= AV_CODEC_ID_PCM_S16BE_PLANAR)) {
|
||||
|
|
Loading…
Reference in a new issue