libav: guard dropped AV_OPT_TYPE_CHANNEL_LAYOUT

The FF_API_OLD_CHANNEL_LAYOUT api was dropped in upstream:

https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/65ddc7498824

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6341>
This commit is contained in:
U. Artie Eoff 2024-03-12 12:14:57 -04:00 committed by GStreamer Marge Bot
parent b699341ac9
commit 5fb2bbc2eb

View file

@ -442,7 +442,9 @@ install_opts (GObjectClass * gobject_class, const AVClass ** obj, guint prop_id,
break;
/* TODO: didn't find options for the video encoders with
* the following type, add support if needed */
#if LIBAVUTIL_VERSION_MAJOR < 59
case AV_OPT_TYPE_CHANNEL_LAYOUT:
#endif
case AV_OPT_TYPE_COLOR:
case AV_OPT_TYPE_VIDEO_RATE:
case AV_OPT_TYPE_SAMPLE_FMT: