mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
libav: guard dropped AV_CODEC_ID_AYUV api
The FF_API_AYUV_CODECID api was dropped in upstream: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/9ee59b63f5ea Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6341>
This commit is contained in:
parent
40629b84ee
commit
b699341ac9
2 changed files with 6 additions and 4 deletions
|
@ -2686,9 +2686,10 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
|
|||
in_plugin->id == AV_CODEC_ID_V210X ||
|
||||
in_plugin->id == AV_CODEC_ID_V308 ||
|
||||
in_plugin->id == AV_CODEC_ID_V408 ||
|
||||
in_plugin->id == AV_CODEC_ID_V410 ||
|
||||
in_plugin->id == AV_CODEC_ID_R210
|
||||
in_plugin->id == AV_CODEC_ID_V410 || in_plugin->id == AV_CODEC_ID_R210
|
||||
#if LIBAVCODEC_VERSION_MAJOR < 61
|
||||
|| in_plugin->id == AV_CODEC_ID_AYUV
|
||||
#endif
|
||||
|| in_plugin->id == AV_CODEC_ID_Y41P
|
||||
|| in_plugin->id == AV_CODEC_ID_012V
|
||||
|| in_plugin->id == AV_CODEC_ID_YUV4
|
||||
|
|
|
@ -1011,9 +1011,10 @@ gst_ffmpegvidenc_register (GstPlugin * plugin)
|
|||
in_plugin->id == AV_CODEC_ID_V210X ||
|
||||
in_plugin->id == AV_CODEC_ID_V308 ||
|
||||
in_plugin->id == AV_CODEC_ID_V408 ||
|
||||
in_plugin->id == AV_CODEC_ID_V410 ||
|
||||
in_plugin->id == AV_CODEC_ID_R210
|
||||
in_plugin->id == AV_CODEC_ID_V410 || in_plugin->id == AV_CODEC_ID_R210
|
||||
#if LIBAVCODEC_VERSION_MAJOR < 61
|
||||
|| in_plugin->id == AV_CODEC_ID_AYUV
|
||||
#endif
|
||||
|| in_plugin->id == AV_CODEC_ID_Y41P
|
||||
|| in_plugin->id == AV_CODEC_ID_012V
|
||||
|| in_plugin->id == AV_CODEC_ID_YUV4
|
||||
|
|
Loading…
Reference in a new issue